service 层代码优化

dev_drug_dm
qiuyt 4 months ago
parent b45822f105
commit 13af418d79

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

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

Loading…
Cancel
Save