Commit 14fd1c29 by wangli

mp2jpa

1 parent 15b88f86
......@@ -41,7 +41,7 @@ public class BusinessLayerServiceImpl implements BusinessLayerService {
@Autowired
private OrgGroupDao orgGroupDao;
@Autowired
private OrgBranchMPDao orgBranchMPDao;
private OrgBranchDao orgBranchDao;
@Autowired
private SkillInfoDao skillInfoDao;
@Autowired
......@@ -91,7 +91,7 @@ public class BusinessLayerServiceImpl implements BusinessLayerService {
item.setLayerName(layer.getLayer());
item.setLayerDesc(layer.getLayerDescribe());
OrgBranch branch = orgBranchMPDao.getByBranchId(layer.getBranchId());
OrgBranchEntity branch = orgBranchDao.getByBranchId(layer.getBranchId());
if (branch != null) {
item.setBranchName(branch.getBranchName());
}
......@@ -131,7 +131,7 @@ public class BusinessLayerServiceImpl implements BusinessLayerService {
// 获取branchName
String branchName = "";
OrgBranch branch = orgBranchMPDao.getByBranchId(layer.getBranchId());
OrgBranchEntity branch = orgBranchDao.getByBranchId(layer.getBranchId());
if (branch != null) {
branchName = branch.getBranchName();
}
......@@ -151,7 +151,7 @@ public class BusinessLayerServiceImpl implements BusinessLayerService {
@Override
public Result<?> businessCustomLayerAdd(String branchId, String layerName, String layerDesc, List<String> skillCodes) {
if (orgBranchMPDao.getByBranchId(branchId) == null) {
if (orgBranchDao.getByBranchId(branchId) == null) {
throw new BusinessException("分部参数错误,请联系管理员/研发");
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!