Browse Source

案件管理-v2.0

hanqingsong 4 months ago
parent
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
     private Integer caseSource;
55
     private Integer caseSource;
56
 
56
 
57
     @ApiModelProperty(value = "案件受理开始日期")
57
     @ApiModelProperty(value = "案件受理开始日期")
58
-    private Date startCaseDate;
58
+    private String startCaseDate;
59
 
59
 
60
     @ApiModelProperty(value = "案件受理结束日期")
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
         if (ObjectUtils.isNotEmpty(lesCasePageParam.getCaseSource())) {
62
         if (ObjectUtils.isNotEmpty(lesCasePageParam.getCaseSource())) {
63
             queryWrapper.lambda().like(LesCase::getCaseSource, lesCasePageParam.getCaseSource());
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
             queryWrapper.lambda().between(LesCase::getCaseDate, lesCasePageParam.getStartCaseDate(), lesCasePageParam.getEndCaseDate());
66
             queryWrapper.lambda().between(LesCase::getCaseDate, lesCasePageParam.getStartCaseDate(), lesCasePageParam.getEndCaseDate());
67
         }
67
         }
68
         if (ObjectUtil.isAllNotEmpty(lesCasePageParam.getSortField(), lesCasePageParam.getSortOrder())) {
68
         if (ObjectUtil.isAllNotEmpty(lesCasePageParam.getSortField(), lesCasePageParam.getSortOrder())) {