diff --git a/src/main/java/com/zcloud/controller/app/highriskwork/AppHotworkCfdController.java b/src/main/java/com/zcloud/controller/app/highriskwork/AppHotworkCfdController.java index 5fd4678a..5bb9fc6a 100644 --- a/src/main/java/com/zcloud/controller/app/highriskwork/AppHotworkCfdController.java +++ b/src/main/java/com/zcloud/controller/app/highriskwork/AppHotworkCfdController.java @@ -1097,6 +1097,14 @@ public class AppHotworkCfdController extends BaseController { case "7"://班长 if (files != null && files.length > 0) { + PageData condition = new PageData(); + condition.put("HOTWORK_ID",pd2.getString("HOTWORK_ID")); + List acceptUsers = hotworkAcceptUserCfdService.listAll(condition); + if (acceptUsers.size() <= 0){ + map.put("code","9999"); + map.put("errorMessage","接受交底人未签字"); + return map; + } MultipartFile file = files[0]; String ffile = DateUtil.getDays();