Selaa lähdekoodia

案件管理-v2.0

hanqingsong 4 kuukautta sitten
vanhempi
commit
af96637887

+ 2 - 2
unis-plugin/unis-plugin-biz/src/main/java/com/unis/lawEnforcementSupervision/modular/lesCase/param/LesCasePageParam.java

@@ -55,8 +55,8 @@ public class LesCasePageParam {
55 55
     private Integer caseSource;
56 56
 
57 57
     @ApiModelProperty(value = "案件受理开始日期")
58
-    private Date startCaseDate;
58
+    private String startCaseDate;
59 59
 
60 60
     @ApiModelProperty(value = "案件受理结束日期")
61
-    private Date endCaseDate;
61
+    private String endCaseDate;
62 62
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/lawEnforcementSupervision/modular/lesCase/service/impl/LesCaseServiceImpl.java

@@ -62,7 +62,7 @@ public class LesCaseServiceImpl extends ServiceImpl<LesCaseMapper, LesCase> impl
62 62
         if (ObjectUtils.isNotEmpty(lesCasePageParam.getCaseSource())) {
63 63
             queryWrapper.lambda().like(LesCase::getCaseSource, lesCasePageParam.getCaseSource());
64 64
         }
65
-        if (ObjectUtils.isNotEmpty(lesCasePageParam.getStartCaseDate()) && ObjectUtils.isNotEmpty(lesCasePageParam.getEndCaseDate())) {
65
+        if (StringUtils.isNotEmpty(lesCasePageParam.getStartCaseDate()) && StringUtils.isNotEmpty(lesCasePageParam.getEndCaseDate())) {
66 66
             queryWrapper.lambda().between(LesCase::getCaseDate, lesCasePageParam.getStartCaseDate(), lesCasePageParam.getEndCaseDate());
67 67
         }
68 68
         if (ObjectUtil.isAllNotEmpty(lesCasePageParam.getSortField(), lesCasePageParam.getSortOrder())) {