1.修改企业审核保存

2.baseEntity返回update_time
This commit is contained in:
sh
2025-10-14 18:57:33 +08:00
parent 1181ef0b1c
commit fcb421f97d
3 changed files with 15 additions and 8 deletions

View File

@@ -284,8 +284,10 @@ public class CompanyServiceImpl extends ServiceImpl<CompanyMapper,Company> imple
if(company1==null){
throw new ServiceException("企业不存在");
}
if(company1.getStatus()!=0){
throw new ServiceException("企业已审核");
if(company1.getStatus()!=null){
if(company1.getStatus()!=0){
throw new ServiceException("企业已审核");
}
}
companyMapper.updateById(company);
//创建账号