|
|
@ -303,15 +303,18 @@ public class OperationTicketServiceImpl implements OperationTicketService { |
|
|
|
String taskId = response.getTaskId(); |
|
|
|
String taskId = response.getTaskId(); |
|
|
|
log.info("StringUtils.isBlank(taskId) = " + StringUtils.isBlank(taskId)); |
|
|
|
log.info("StringUtils.isBlank(taskId) = " + StringUtils.isBlank(taskId)); |
|
|
|
if (StringUtils.isBlank(taskId)) { |
|
|
|
if (StringUtils.isBlank(taskId)) { |
|
|
|
if (newStandardTicketInfoEntity.equals(TicketConstants.OPERATION_TICKET_APPROVED)) { |
|
|
|
// verifyResult=="rejected"
|
|
|
|
|
|
|
|
JSONObject variable = JSONObject.parseObject(JSON.toJSONString(response.getVariables())); |
|
|
|
|
|
|
|
if("rejected".equals(variable.getString("verifyResult"))) { |
|
|
|
|
|
|
|
newStandardTicketInfoEntity.setFlowDescription("作废"); |
|
|
|
|
|
|
|
newStandardTicketInfoEntity.setFlowTaskName("作废"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else { |
|
|
|
newStandardTicketInfoEntity.setFlowDescription("结束"); |
|
|
|
newStandardTicketInfoEntity.setFlowDescription("结束"); |
|
|
|
newStandardTicketInfoEntity.setFlowTaskId(" "); |
|
|
|
newStandardTicketInfoEntity.setFlowTaskId(" "); |
|
|
|
newStandardTicketInfoEntity.setFlowTaskName("结束"); |
|
|
|
newStandardTicketInfoEntity.setFlowTaskName("结束"); |
|
|
|
newStandardTicketInfoEntity.setNextStepOperator(" "); |
|
|
|
newStandardTicketInfoEntity.setNextStepOperator(" "); |
|
|
|
newStandardTicketInfoEntity.setFlowStatus(999); |
|
|
|
newStandardTicketInfoEntity.setFlowStatus(999); |
|
|
|
} else { |
|
|
|
|
|
|
|
newStandardTicketInfoEntity.setFlowDescription("作废"); |
|
|
|
|
|
|
|
newStandardTicketInfoEntity.setFlowTaskName("作废"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
//如果response.getHandleType() 是0使用户
|
|
|
|
//如果response.getHandleType() 是0使用户
|
|
|
|