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