|
@@ -78,10 +78,11 @@ public class BizSqrEnterpriseApplyServiceImpl implements BizSqrEnterpriseApplySe
|
78
|
78
|
|
79
|
79
|
|
80
|
80
|
@Override
|
81
|
|
- public List<BizSqrEnterpriseApply> findByPage(String dwmc,Integer applyType){
|
|
81
|
+ public List<BizSqrEnterpriseApply> findByPage(String dwmc,Integer applyType,String unitInfoId){
|
82
|
82
|
Map map=new HashMap<>();
|
83
|
83
|
map.put("dwmc",dwmc);
|
84
|
84
|
map.put("applyType",applyType);
|
|
85
|
+ map.put("unitInfoId",unitInfoId);
|
85
|
86
|
return bizSqrEnterpriseApplyMapper.findByPage(map);
|
86
|
87
|
}
|
87
|
88
|
|
|
@@ -116,6 +117,7 @@ public class BizSqrEnterpriseApplyServiceImpl implements BizSqrEnterpriseApplySe
|
116
|
117
|
Integer orgId = null;
|
117
|
118
|
String userName = "";
|
118
|
119
|
Map<String, Object> modelMap1 = new HashMap<String, Object>();
|
|
120
|
+ String msg= "该企业已有承储资格,请勿重复申请";
|
119
|
121
|
//获取单位信息
|
120
|
122
|
String dwbm = "";
|
121
|
123
|
String ajbm ="";
|
|
@@ -151,7 +153,7 @@ public class BizSqrEnterpriseApplyServiceImpl implements BizSqrEnterpriseApplySe
|
151
|
153
|
}else{
|
152
|
154
|
if(bizSqrEnterpriseApply.getApplyType()==1){
|
153
|
155
|
if(bizSqrEnterprise!=null){
|
154
|
|
- modelMap.put("error", "该企业已有承储资格,请勿重复申请");
|
|
156
|
+ modelMap.put("error", msg);
|
155
|
157
|
return modelMap;
|
156
|
158
|
}
|
157
|
159
|
}
|
|
@@ -184,7 +186,7 @@ public class BizSqrEnterpriseApplyServiceImpl implements BizSqrEnterpriseApplySe
|
184
|
186
|
if(bizSqrEnterpriseApply.getApplyType()!=4){
|
185
|
187
|
if(bizSqrEnterpriseApply.getApplyType()==1){
|
186
|
188
|
if(bizSqrEnterprise!=null){
|
187
|
|
- modelMap.put("error", "该企业已有承储资格,请勿重复申请");
|
|
189
|
+ modelMap.put("error", msg);
|
188
|
190
|
return modelMap;
|
189
|
191
|
}
|
190
|
192
|
}
|