|
|
@@ -1488,7 +1488,12 @@ public class AdminCustomerApiController extends BaseApiController{
|
|
|
public Result updateUserDate(String uid,Integer province,Integer city,Integer area,String businessScope,String intendedProject,String introduction
|
|
|
,Integer channelType,String orgCode){
|
|
|
Result res = new Result();
|
|
|
-
|
|
|
+ if (orgCode!=null){
|
|
|
+ if (customerService.checkOrgCode(orgCode)){
|
|
|
+ res.getError().add(buildError("","统一信用代码已存在"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+ }
|
|
|
res.data(customerService.updateUserDate(uid, province, city, area, businessScope, intendedProject,introduction,channelType,orgCode));
|
|
|
return res;
|
|
|
}
|