|
@@ -150,7 +150,7 @@ public class CompanyServiceImpl implements CompanyService {
|
|
|
if(createSiteUserInfo.getUserNo().equals("0299999")||createSiteUserInfo.getUserNo().equals("202420648")){
|
|
|
repeatData.setSiteID(data.getSiteID());
|
|
|
pcCompanyMapper.updateByPrimaryKey(repeatData);
|
|
|
- return "0";
|
|
|
+ return "-1";
|
|
|
}else{
|
|
|
throw new BaseException("1004","该企业已被"+curSiteInfo.getSiteName()+",工号"+createSiteUserInfo.getUserNo()+"录入!");
|
|
|
}
|
|
@@ -180,7 +180,7 @@ public class CompanyServiceImpl implements CompanyService {
|
|
|
}
|
|
|
if (dbData == null) {
|
|
|
//这里直接将公司转至当前驿站下
|
|
|
- if(resultNum.equals(0)){
|
|
|
+ if(resultNum.equals(-1)){
|
|
|
result = 1;
|
|
|
}
|
|
|
else{
|