service 层代码优化

dev_drug_dm
qiuyt 1 month ago
parent b45822f105
commit 13af418d79

@ -23,15 +23,6 @@ public class CustomerInfoServiceImpl implements CustomerInfoService {
@Resource
private CustomerInfoDao customerInfoDao;
// @Resource
// private CustomerContacDao customerContacDao;
//
// @Resource
// private AuthAdminDao authAdminDao;
//
// @Resource
// private AuthRoleService authRoleService;
@Override
public List<CustomerInfoEntity> filterCustomerInfo(CustomerInfoFilterRequest customerInfoFilterRequest) {
if (customerInfoFilterRequest == null) {

@ -318,7 +318,6 @@ public class SysRoleServiceImpl implements ISysRoleService {
SysRole role = selectRoleById(roleId);
if (countUserRoleByRoleId(roleId) > 0) {
i++;
// throw new ServiceException(String.format("%1$s已分配,不能删除", role.getRoleName()));
}
}
if(i>0){

Loading…
Cancel
Save