|
@@ -166,9 +166,9 @@ public class BillPersonnelAdmissionServiceImpl extends ServiceImpl<BillPersonnel
|
|
|
|
|
|
List<BaseWashoutPoint> baseWashoutPoints = new ArrayList<>();
|
|
List<BaseWashoutPoint> baseWashoutPoints = new ArrayList<>();
|
|
if (ObjectUtil.isEmpty(baseWashoutPoint1)){
|
|
if (ObjectUtil.isEmpty(baseWashoutPoint1)){
|
|
- baseWashoutPoints = baseWashoutPointMapper.selectList(new QueryWrapper<BaseWashoutPoint>().lambda().eq(BaseWashoutPoint::getVisitingType, vistitType).like(BaseWashoutPoint::getFarmIds, farmId).orderByAsc(BaseWashoutPoint::getPointLevel));
|
|
|
|
|
|
+ baseWashoutPoints = baseWashoutPointMapper.selectList(new QueryWrapper<BaseWashoutPoint>().lambda().le(BaseWashoutPoint::getPointLevel,baseWashoutPoint2.getPointLevel()).eq(BaseWashoutPoint::getVisitingType, vistitType).like(BaseWashoutPoint::getFarmIds, farmId).orderByAsc(BaseWashoutPoint::getPointLevel));
|
|
}else {
|
|
}else {
|
|
- baseWashoutPoints = baseWashoutPointMapper.selectList(new QueryWrapper<BaseWashoutPoint>().lambda().eq(BaseWashoutPoint::getVisitingType, vistitType).like(BaseWashoutPoint::getFarmIds, farmId).ge(BaseWashoutPoint::getPointLevel,baseWashoutPoint1.getPointLevel()).orderByAsc(BaseWashoutPoint::getPointLevel));
|
|
|
|
|
|
+ baseWashoutPoints = baseWashoutPointMapper.selectList(new QueryWrapper<BaseWashoutPoint>().lambda().le(BaseWashoutPoint::getPointLevel,baseWashoutPoint2.getPointLevel()).eq(BaseWashoutPoint::getVisitingType, vistitType).like(BaseWashoutPoint::getFarmIds, farmId).ge(BaseWashoutPoint::getPointLevel,baseWashoutPoint1.getPointLevel()).orderByAsc(BaseWashoutPoint::getPointLevel));
|
|
}
|
|
}
|
|
for (BaseWashoutPoint baseWashoutPoint : baseWashoutPoints) {
|
|
for (BaseWashoutPoint baseWashoutPoint : baseWashoutPoints) {
|
|
allLocation = allLocation + "," + baseLocationMapper.selectById(baseWashoutPoint.getLocationId()).getLocationName();
|
|
allLocation = allLocation + "," + baseLocationMapper.selectById(baseWashoutPoint.getLocationId()).getLocationName();
|
|
@@ -363,7 +363,9 @@ public class BillPersonnelAdmissionServiceImpl extends ServiceImpl<BillPersonnel
|
|
baseLocation.getId(),
|
|
baseLocation.getId(),
|
|
baseLocation.getLocationName(),
|
|
baseLocation.getLocationName(),
|
|
billPersonnelAdmission.getFarmId(),
|
|
billPersonnelAdmission.getFarmId(),
|
|
- baseProcess.getId());
|
|
|
|
|
|
+ baseProcess.getId(),
|
|
|
|
+ billPersonnelAdmission.getDepartureName(),
|
|
|
|
+ billPersonnelAdmission.getDepartureId());
|
|
if (ObjectUtil.isNotEmpty(billPersonnelAdmission.getCarNum())){
|
|
if (ObjectUtil.isNotEmpty(billPersonnelAdmission.getCarNum())){
|
|
billSampling.setCarNum(billPersonnelAdmission.getCarNum());
|
|
billSampling.setCarNum(billPersonnelAdmission.getCarNum());
|
|
}
|
|
}
|
|
@@ -380,7 +382,9 @@ public class BillPersonnelAdmissionServiceImpl extends ServiceImpl<BillPersonnel
|
|
baseLocation.getId(),
|
|
baseLocation.getId(),
|
|
baseLocation.getLocationName(),
|
|
baseLocation.getLocationName(),
|
|
billPersonnelAdmission.getFarmId(),
|
|
billPersonnelAdmission.getFarmId(),
|
|
- baseProcess.getId());
|
|
|
|
|
|
+ baseProcess.getId(),
|
|
|
|
+ billPersonnelAdmission.getDepartureName(),
|
|
|
|
+ billPersonnelAdmission.getDepartureId());
|
|
if (ObjectUtil.isNotEmpty(billPersonnelAdmission.getCarNum())){
|
|
if (ObjectUtil.isNotEmpty(billPersonnelAdmission.getCarNum())){
|
|
billPcr.setCarNum(billPersonnelAdmission.getCarNum());
|
|
billPcr.setCarNum(billPersonnelAdmission.getCarNum());
|
|
}
|
|
}
|
|
@@ -397,7 +401,9 @@ public class BillPersonnelAdmissionServiceImpl extends ServiceImpl<BillPersonnel
|
|
baseLocation.getId(),
|
|
baseLocation.getId(),
|
|
baseLocation.getLocationName(),
|
|
baseLocation.getLocationName(),
|
|
billPersonnelAdmission.getFarmId(),
|
|
billPersonnelAdmission.getFarmId(),
|
|
- baseProcess.getId());
|
|
|
|
|
|
+ baseProcess.getId(),
|
|
|
|
+ billPersonnelAdmission.getDepartureName(),
|
|
|
|
+ billPersonnelAdmission.getDepartureId());
|
|
if (ObjectUtil.isNotEmpty(billPersonnelAdmission.getCarNum())){
|
|
if (ObjectUtil.isNotEmpty(billPersonnelAdmission.getCarNum())){
|
|
billClean.setCarNum(billPersonnelAdmission.getCarNum());
|
|
billClean.setCarNum(billPersonnelAdmission.getCarNum());
|
|
}
|
|
}
|
|
@@ -414,7 +420,9 @@ public class BillPersonnelAdmissionServiceImpl extends ServiceImpl<BillPersonnel
|
|
baseLocation.getId(),
|
|
baseLocation.getId(),
|
|
baseLocation.getLocationName(),
|
|
baseLocation.getLocationName(),
|
|
billPersonnelAdmission.getFarmId(),
|
|
billPersonnelAdmission.getFarmId(),
|
|
- baseProcess.getId());
|
|
|
|
|
|
+ baseProcess.getId(),
|
|
|
|
+ billPersonnelAdmission.getDepartureName(),
|
|
|
|
+ billPersonnelAdmission.getDepartureId());
|
|
billIsolateMapper.insert(billIsolate);
|
|
billIsolateMapper.insert(billIsolate);
|
|
}else if (Integer.valueOf(nextFlowId) == 5){
|
|
}else if (Integer.valueOf(nextFlowId) == 5){
|
|
BillDry billDry = (BillDry) flowUtil.getEntity(Integer.valueOf(nextFlowId),
|
|
BillDry billDry = (BillDry) flowUtil.getEntity(Integer.valueOf(nextFlowId),
|
|
@@ -428,7 +436,9 @@ public class BillPersonnelAdmissionServiceImpl extends ServiceImpl<BillPersonnel
|
|
baseLocation.getId(),
|
|
baseLocation.getId(),
|
|
baseLocation.getLocationName(),
|
|
baseLocation.getLocationName(),
|
|
billPersonnelAdmission.getFarmId(),
|
|
billPersonnelAdmission.getFarmId(),
|
|
- baseProcess.getId());
|
|
|
|
|
|
+ baseProcess.getId(),
|
|
|
|
+ billPersonnelAdmission.getDepartureName(),
|
|
|
|
+ billPersonnelAdmission.getDepartureId());
|
|
dryMapper.insert(billDry);
|
|
dryMapper.insert(billDry);
|
|
}else {
|
|
}else {
|
|
BillCleanBefore billCleanBefore = (BillCleanBefore) flowUtil.getEntity(Integer.valueOf(nextFlowId),
|
|
BillCleanBefore billCleanBefore = (BillCleanBefore) flowUtil.getEntity(Integer.valueOf(nextFlowId),
|
|
@@ -442,7 +452,9 @@ public class BillPersonnelAdmissionServiceImpl extends ServiceImpl<BillPersonnel
|
|
baseLocation.getId(),
|
|
baseLocation.getId(),
|
|
baseLocation.getLocationName(),
|
|
baseLocation.getLocationName(),
|
|
billPersonnelAdmission.getFarmId(),
|
|
billPersonnelAdmission.getFarmId(),
|
|
- baseProcess.getId());
|
|
|
|
|
|
+ baseProcess.getId(),
|
|
|
|
+ billPersonnelAdmission.getDepartureName(),
|
|
|
|
+ billPersonnelAdmission.getDepartureId());
|
|
if (ObjectUtil.isNotEmpty(billPersonnelAdmission.getCarNum())){
|
|
if (ObjectUtil.isNotEmpty(billPersonnelAdmission.getCarNum())){
|
|
billCleanBefore.setCarNum(billPersonnelAdmission.getCarNum());
|
|
billCleanBefore.setCarNum(billPersonnelAdmission.getCarNum());
|
|
}
|
|
}
|