|
|
@ -371,12 +371,23 @@ public class FirstWorkTicketServiceImpl extends BaseServiceImpl<WorkTicketInfoMa |
|
|
|
WorkTicketFinish finish = workTicketFinishService.selectByTicketId(ticketId); |
|
|
|
WorkTicketFinish finish = workTicketFinishService.selectByTicketId(ticketId); |
|
|
|
if(ObjectUtil.isNotEmpty(finish)) { |
|
|
|
if(ObjectUtil.isNotEmpty(finish)) { |
|
|
|
if(Func.isNotEmpty(finish.getWorkEndTime())) { |
|
|
|
if(Func.isNotEmpty(finish.getWorkEndTime())) { |
|
|
|
|
|
|
|
if(workTicketInfoEntity.getIsOffline()) { |
|
|
|
|
|
|
|
params.put("principalName3",finish.getEndPrincipalName()); |
|
|
|
|
|
|
|
params.put("licensorName1",finish.getFinishLicensorName()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else { |
|
|
|
params.put("principalName3",params.get("principalName")); |
|
|
|
params.put("principalName3",params.get("principalName")); |
|
|
|
params.put("licensorName1",params.get("licensorName")); |
|
|
|
params.put("licensorName1",params.get("licensorName")); |
|
|
|
|
|
|
|
} |
|
|
|
params.putAll(ObjectUtils.LocalDateConvertMap(finish.getWorkEndTime(),"f","_")); |
|
|
|
params.putAll(ObjectUtils.LocalDateConvertMap(finish.getWorkEndTime(),"f","_")); |
|
|
|
} |
|
|
|
} |
|
|
|
if(Func.isNotEmpty(finish.getLicensorEndTime())) { |
|
|
|
if(Func.isNotEmpty(finish.getLicensorEndTime())) { |
|
|
|
|
|
|
|
if(workTicketInfoEntity.getIsOffline()) { |
|
|
|
|
|
|
|
params.put("licensorName2",finish.getEndLicensorName()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else { |
|
|
|
params.put("licensorName2",params.get("licensorName")); |
|
|
|
params.put("licensorName2",params.get("licensorName")); |
|
|
|
|
|
|
|
} |
|
|
|
params.put("groundNum",finish.getGroundNum()); |
|
|
|
params.put("groundNum",finish.getGroundNum()); |
|
|
|
params.put("dismantleNum",finish.getDismantleNum()); |
|
|
|
params.put("dismantleNum",finish.getDismantleNum()); |
|
|
|
params.put("retainNum",finish.getRetainNum()); |
|
|
|
params.put("retainNum",finish.getRetainNum()); |
|
|
|