Browse Source

Merge remote-tracking branch 'origin/master'

lfy 1 week ago
parent
commit
797610d167

+ 2 - 1
delivery-module-core/delivery-module-core-biz/src/main/java/com/unis/module/coding/controller/admin/dwxx/vo/DwxxSaveReqVO.java

@@ -5,6 +5,7 @@ import lombok.*;
5 5
 
6 6
 import java.time.LocalDate;
7 7
 import java.math.BigDecimal;
8
+import java.time.LocalDateTime;
8 9
 import java.util.List;
9 10
 import java.util.Set;
10 11
 
@@ -31,7 +32,7 @@ public class DwxxSaveReqVO {
31 32
     private String lxfs;
32 33
 
33 34
     @Schema(description = "注册日期")
34
-    private LocalDate zcrq;
35
+    private LocalDateTime zcrq;
35 36
 
36 37
     @Schema(description = "通讯地址-省")
37 38
     private String sheng;

+ 6 - 0
delivery-module-core/delivery-module-core-biz/src/main/java/com/unis/module/coding/service/kqxx/KqxxServiceImpl.java

@@ -64,6 +64,12 @@ public class KqxxServiceImpl implements KqxxService {
64 64
         validateKqxxExists(updateReqVO.getId());
65 65
         // 更新
66 66
         KqxxDO updateObj = BeanUtils.toBean(updateReqVO, KqxxDO.class);
67
+        String str = updateObj.getResid();
68
+        if (str != null && str.startsWith("[") && str.endsWith("]")) {
69
+            str = str.substring(1, str.length() - 1);
70
+        }
71
+        updateObj.setResid(str);
72
+
67 73
         kqxxMapper.updateById(updateObj);
68 74
     }
69 75