修改安全帽、马甲必填

This commit is contained in:
jjLv 2024-10-12 16:09:02 +08:00
parent c0e8cac213
commit 0ff92cbd38
1 changed files with 4 additions and 4 deletions

View File

@ -111,10 +111,10 @@ public class StayPersonServiceImpl implements IStayPersonService{
public AjaxResult editCodeInfoList(ProjectVo vo) {
Map<String, Object> map = new HashMap<>();
try {
if(StringUtils.isEmpty(vo.getAqmCode()))
{
return AjaxResult.error("安全帽编号不能为空,请重新修改");
}
// if(StringUtils.isEmpty(vo.getAqmCode()))
// {
// return AjaxResult.error("安全帽编号不能为空,请重新修改");
// }
if(StringUtils.isEmpty(vo.getMjCode()))
{
return AjaxResult.error("马甲编号不能为空,请重新修改");