|
|
|
@ -57,6 +57,7 @@ public class DataPetitionComplaintService extends ServiceImpl<DataPetitionCompla |
|
|
|
.like(StrUtil.isNotBlank(queryParam.getThingDesc()), "pc.thing_desc", queryParam.getThingDesc()) |
|
|
|
.like(StrUtil.isNotBlank(queryParam.getThingDesc()), "pc.thing_desc", queryParam.getThingDesc()) |
|
|
|
.eq(StrUtil.isNotBlank(queryParam.getDistributionState()), "pc.distribution_state", queryParam.getDistributionState()) |
|
|
|
.eq(StrUtil.isNotBlank(queryParam.getDistributionState()), "pc.distribution_state", queryParam.getDistributionState()) |
|
|
|
.eq(StrUtil.isNotBlank(queryParam.getInitialPetition()), "pc.initial_petition", queryParam.getInitialPetition()) |
|
|
|
.eq(StrUtil.isNotBlank(queryParam.getInitialPetition()), "pc.initial_petition", queryParam.getInitialPetition()) |
|
|
|
|
|
|
|
.eq(StrUtil.isNotBlank(queryParam.getInvolvedIssue()),"pc.involved_issue",queryParam.getInvolvedIssue()) |
|
|
|
.orderByDesc("pc.discovery_time"); |
|
|
|
.orderByDesc("pc.discovery_time"); |
|
|
|
if (queryParam.getDiscoveryTime().size() == 2) { |
|
|
|
if (queryParam.getDiscoveryTime().size() == 2) { |
|
|
|
queryWrapper.between("pc.discovery_time", queryParam.getDiscoveryTime().get(0), queryParam.getDiscoveryTime().get(1)); |
|
|
|
queryWrapper.between("pc.discovery_time", queryParam.getDiscoveryTime().get(0), queryParam.getDiscoveryTime().get(1)); |
|
|
|
|