From bf18eb0ad5b276e697dc1f14f81059ff0c51fbab Mon Sep 17 00:00:00 2001 From: ty <1577900710@qq.com> Date: Thu, 18 Jul 2024 15:05:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E7=BA=BF=E4=B8=8B?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E7=A5=A8=E5=92=8C=E5=AE=89=E5=85=A8=E5=B7=A5?= =?UTF-8?q?=E5=99=A8=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hnac/hzims/safeproduct/controller/SafetyToolTypeController.java | 2 +- .../standardTicket/service/impl/OperationTicketServiceImpl.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/SafetyToolTypeController.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/SafetyToolTypeController.java index 37176f7..bdd7925 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/SafetyToolTypeController.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/SafetyToolTypeController.java @@ -34,7 +34,7 @@ import java.util.Map; */ @RestController @AllArgsConstructor -@RequestMapping(" /safetyToolType") +@RequestMapping("/safetyToolType") @Business(module = Constants.APP_NAME, value = "安全工器具类型", ignore = false) @Api(tags = "安全工器具类型") public class SafetyToolTypeController extends BladeController { diff --git a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/standardTicket/service/impl/OperationTicketServiceImpl.java b/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/standardTicket/service/impl/OperationTicketServiceImpl.java index c2f5304..4af840c 100644 --- a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/standardTicket/service/impl/OperationTicketServiceImpl.java +++ b/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 params = new HashMap<>(4); params.put("standardTicketInfoVo", standardTicketInfoVo); params.put("taskId", standardTicketInfoVo.getId()); - params.put("guardianUserIds", "taskUser_".concat(standardTicketInfoVo.getGuardian().toString())); + if (ObjectUtils.isNotEmpty(standardTicketInfoVo.getGuardian())) { + params.put("guardianUserIds", "taskUser_".concat(standardTicketInfoVo.getGuardian().toString())); + } //已开启流程 R processInstanceContainNameByKey = flowClient.startProcessInstanceContainNameByKey(dictValue, String.valueOf(standardTicketInfoVo.getId()), standardTicketInfoVo.getTitle(), params);