1.修改企业审核保存
2.baseEntity返回update_time
This commit is contained in:
@@ -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);
|
||||
//创建账号
|
||||
|
Reference in New Issue
Block a user