监理人员删除功能修改

This commit is contained in:
liang.chao 2025-02-14 15:50:59 +08:00
parent 7a29fcddaa
commit f1027e9a28
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ public class SupervisionUnitController extends BaseController {
@SysLog(title = "监理管理", businessType = OperaType.INSERT,logType = 0,module = "监理管理->监理入场-监理人员删除",details = "监理入场-监理人员删除") @SysLog(title = "监理管理", businessType = OperaType.INSERT,logType = 0,module = "监理管理->监理入场-监理人员删除",details = "监理入场-监理人员删除")
public AjaxResult delSupervisoryPersonApply(@RequestBody SupervisorPerson supervisorPerson) { public AjaxResult delSupervisoryPersonApply(@RequestBody SupervisorPerson supervisorPerson) {
try{ try{
if (StringUtils.isBlank(supervisorPerson.getSupUuid()) && supervisorPerson.getProId() != null){ if (StringUtils.isBlank(supervisorPerson.getSupUuid()) || supervisorPerson.getProId() != null){
return error("删除失败,入参错误"); return error("删除失败,入参错误");
} }
return toAjax(suService.delSupervisoryPersonApply(supervisorPerson)); return toAjax(suService.delSupervisoryPersonApply(supervisorPerson));