15061 动火前验票确认前 接受交底人必须签字 现在没有限制 接受交底人现在不签字也能走完流程了

liujun-2024-05-23-接口漏洞修复
liujun 2024-04-10 13:10:03 +08:00
parent c2a4f2a475
commit fb98f35b24
1 changed files with 8 additions and 0 deletions

View File

@ -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<PageData> 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();