|
|
@@ -761,14 +761,16 @@ public class AdminCustomerApiController extends BaseApiController{
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "客户编号或管理员编号"));
|
|
|
return res;
|
|
|
}
|
|
|
+ //默认为私有转交,4为签单转交
|
|
|
+ if (operatorType==null) {
|
|
|
+ operatorType=AFTConstants.USER_TRANSFER_TO_OTHER;
|
|
|
+ }
|
|
|
+// if (operatorType !=AFTConstants.SIGN_USER_TRANSFER_TO_OTHER&& customerService.checkMax(aid)) {
|
|
|
if (customerService.checkMax(aid)) {
|
|
|
res.getError().add(buildError("","对方私有客户已达最大限制"));
|
|
|
return res;
|
|
|
}
|
|
|
- //默认为私有转交,4为签单转交
|
|
|
- if (operatorType==null) {
|
|
|
- operatorType=AFTConstants.USER_TRANSFER_TO_OTHER;
|
|
|
- }
|
|
|
+
|
|
|
customerService.updateByOperatorType(uid,oldAid,operatorType, aid);
|
|
|
return res;
|
|
|
}
|