Browse Source

修复:线下操作票和安全工器具

zhongwei
ty 4 months ago
parent
commit
bf18eb0ad5
  1. 2
      hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/SafetyToolTypeController.java
  2. 2
      hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/standardTicket/service/impl/OperationTicketServiceImpl.java

2
hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/SafetyToolTypeController.java

@ -34,7 +34,7 @@ import java.util.Map;
*/ */
@RestController @RestController
@AllArgsConstructor @AllArgsConstructor
@RequestMapping(" /safetyToolType") @RequestMapping("/safetyToolType")
@Business(module = Constants.APP_NAME, value = "安全工器具类型", ignore = false) @Business(module = Constants.APP_NAME, value = "安全工器具类型", ignore = false)
@Api(tags = "安全工器具类型") @Api(tags = "安全工器具类型")
public class SafetyToolTypeController extends BladeController { public class SafetyToolTypeController extends BladeController {

2
hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/standardTicket/service/impl/OperationTicketServiceImpl.java

@ -178,7 +178,9 @@ public class OperationTicketServiceImpl implements OperationTicketService , Star
Map<String, Object> params = new HashMap<>(4); Map<String, Object> params = new HashMap<>(4);
params.put("standardTicketInfoVo", standardTicketInfoVo); params.put("standardTicketInfoVo", standardTicketInfoVo);
params.put("taskId", standardTicketInfoVo.getId()); params.put("taskId", standardTicketInfoVo.getId());
if (ObjectUtils.isNotEmpty(standardTicketInfoVo.getGuardian())) {
params.put("guardianUserIds", "taskUser_".concat(standardTicketInfoVo.getGuardian().toString())); params.put("guardianUserIds", "taskUser_".concat(standardTicketInfoVo.getGuardian().toString()));
}
//已开启流程 //已开启流程
R<BladeFlow> processInstanceContainNameByKey = flowClient.startProcessInstanceContainNameByKey(dictValue, String.valueOf(standardTicketInfoVo.getId()), R<BladeFlow> processInstanceContainNameByKey = flowClient.startProcessInstanceContainNameByKey(dictValue, String.valueOf(standardTicketInfoVo.getId()),
standardTicketInfoVo.getTitle(), params); standardTicketInfoVo.getTitle(), params);

Loading…
Cancel
Save