|
|
|
|
@ -356,10 +356,10 @@ public class BusinessPoliceService extends ServiceImpl<BusinessPoliceMapper, Bus
|
|
|
|
|
businessPolice.setDepartId(resultMap2.get(gBaseCJD.getCjdxssdwdm())); |
|
|
|
|
businessPolice.setDepartName(resultMap3.get(gBaseCJD.getCjdxssdwdm())); |
|
|
|
|
businessPolice.setGroupId(groupId); |
|
|
|
|
businessPolice.setNumber(gBaseCJD.getClwbrxmTotal()); |
|
|
|
|
businessPolice.setPoliceName(gBaseCJD.getClwbrxm()); |
|
|
|
|
businessPolice.setEmpNo(gBaseCJD.getClwbrbh()); |
|
|
|
|
businessPolice.setPoliceIdCode(hashConcatenatedStrings(gBaseCJD.getClwbrxm(), gBaseCJD.getClwbrbh())); |
|
|
|
|
businessPolice.setNumber(gBaseCJD.getCjdxdmTotal()); |
|
|
|
|
businessPolice.setPoliceName(gBaseCJD.getCjdxname()); |
|
|
|
|
businessPolice.setEmpNo(gBaseCJD.getCjdxdm()); |
|
|
|
|
businessPolice.setPoliceIdCode(hashConcatenatedStrings(gBaseCJD.getCjdxname(), gBaseCJD.getCjdxdm())); |
|
|
|
|
if (groupId != null) { |
|
|
|
|
if (groupId == 10L) { |
|
|
|
|
businessPolice.setBusinessType("1"); |
|
|
|
|
@ -398,9 +398,9 @@ public class BusinessPoliceService extends ServiceImpl<BusinessPoliceMapper, Bus
|
|
|
|
|
@DS("slave2") |
|
|
|
|
public List<GBaseCJD> selectCJDList(List<Date> happenTime) { |
|
|
|
|
QueryWrapper<GBaseCJD> queryWrapper = new QueryWrapper<>(); |
|
|
|
|
queryWrapper.isNotNull("clwbrxm"); |
|
|
|
|
queryWrapper.isNotNull("cjdxdm"); |
|
|
|
|
queryWrapper.between("cjsj", happenTime.get(0), happenTime.get(1)); |
|
|
|
|
queryWrapper.groupBy("clwbrxm", "clwbrbh", "cjdxssdwdm", "cjdxssdwmc"); |
|
|
|
|
queryWrapper.groupBy("cjdxname", "cjdxdm", "cjdxssdwdm", "cjdxssdwmc"); |
|
|
|
|
return gBaseCJDMapper.selectCJDList(queryWrapper); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|