update 异常提报限制管理员账号

master
yinq 2 years ago
parent 1cb2164963
commit c58597e166

@ -255,6 +255,9 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
String site = CommonMethods.getSite();
String user = CommonMethods.getUser();
abnormalBill.setPbUser(user);
if (user.equals("SITE_ADMIN")){
throw BusinessException.build("异常提报人不正确,请刷新系统页面!");
}
if(StringUtils.isBlank(abnormalBill.getSfc())){
abnormalBill.setStepId(null);
}else if(StringUtils.isBlank(abnormalBill.getStepId())){

Loading…
Cancel
Save