From 4592b79deb7060daec3b88b21335d7740c8f68d8 Mon Sep 17 00:00:00 2001 From: SuperHao Date: Wed, 1 Mar 2023 02:17:20 +0000 Subject: [PATCH 01/20] =?UTF-8?q?bugfix:=20=E8=BD=AC=E6=8D=A2HistoricTaskI?= =?UTF-8?q?nstance.createTime=20->=20BpmTaskRespVO.createTime?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: SuperHao --- .../iocoder/yudao/module/bpm/convert/task/BpmTaskConvert.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/convert/task/BpmTaskConvert.java b/yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/convert/task/BpmTaskConvert.java index 015fd0fd9..709a86a50 100644 --- a/yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/convert/task/BpmTaskConvert.java +++ b/yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/convert/task/BpmTaskConvert.java @@ -135,6 +135,8 @@ public interface BpmTaskConvert { } @Mapping(source = "taskDefinitionKey", target = "definitionKey") + @Mapping(target = "createTime", expression = "java(bean.getCreateTime() == null ? null : LocalDateTime.ofInstant(bean.getCreateTime().toInstant(), ZoneId.systemDefault()))") + @Mapping(target = "endTime", expression = "java(bean.getEndTime() == null ? null : LocalDateTime.ofInstant(bean.getEndTime().toInstant(), ZoneId.systemDefault()))") BpmTaskRespVO convert3(HistoricTaskInstance bean); BpmTaskRespVO.User convert3(AdminUserRespDTO bean); From aae6f1283201c30613c3306d65ba7fb5c2ac8d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=93=E5=90=AC=E5=B9=B8=E7=A6=8F=E7=9A=84=E4=B8=8B?= =?UTF-8?q?=E8=90=BD?= Date: Thu, 16 Mar 2023 20:25:29 +0800 Subject: [PATCH 02/20] =?UTF-8?q?fix:=20MybatisPlus=20=E4=B8=BB=E9=94=AE?= =?UTF-8?q?=E7=AD=96=E7=95=A5=E4=BD=BF=E7=94=A8=E9=9B=AA=E8=8A=B1=E7=AE=97?= =?UTF-8?q?=E6=B3=95=20ASSIGN=5FID=20=E6=97=B6=EF=BC=8C=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=AA=8C=E8=AF=81=E7=A0=81=E4=B8=BB=E9=94=AE?= =?UTF-8?q?=E7=B2=BE=E5=BA=A6=E4=B8=A2=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SmsCodeDO 主键类型为 Integer,使用雪花算法后 Long 转 Integer 精度丢失,system_sms_code 表数据入库后主键为负数 --- .../yudao/module/system/dal/dataobject/sms/SmsCodeDO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/dataobject/sms/SmsCodeDO.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/dataobject/sms/SmsCodeDO.java index 4e0aa25c3..00aea3a4a 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/dataobject/sms/SmsCodeDO.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/dataobject/sms/SmsCodeDO.java @@ -26,7 +26,7 @@ public class SmsCodeDO extends BaseDO { /** * 编号 */ - private Integer id; + private Long id; /** * 手机号 */ From c2748585b1dec39c73aa0781923514588370802d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=93=E5=90=AC=E5=B9=B8=E7=A6=8F=E7=9A=84=E4=B8=8B?= =?UTF-8?q?=E8=90=BD?= Date: Thu, 16 Mar 2023 21:23:43 +0800 Subject: [PATCH 03/20] =?UTF-8?q?fix:=20=E7=9F=AD=E4=BF=A1=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81=E7=99=BB=E5=BD=95=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E9=AA=8C=E8=AF=81=E7=A0=81=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/src/views/login.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/yudao-ui-admin/src/views/login.vue b/yudao-ui-admin/src/views/login.vue index bbd2ac332..39b84d504 100644 --- a/yudao-ui-admin/src/views/login.vue +++ b/yudao-ui-admin/src/views/login.vue @@ -52,11 +52,12 @@