anderx 4 years ago
parent
commit
f701072d3b

+ 1 - 3
src/main/java/com/goafanti/customer/controller/AdminCustomerApiController.java

@@ -765,12 +765,10 @@ public class AdminCustomerApiController extends BaseApiController{
 				if (operatorType==null) {
 					operatorType=AFTConstants.USER_TRANSFER_TO_OTHER;
 				}
-//		if (operatorType !=AFTConstants.SIGN_USER_TRANSFER_TO_OTHER&& customerService.checkMax(aid)) {
-		if (customerService.checkMax(aid)) {
+		if (operatorType !=AFTConstants.SIGN_USER_TRANSFER_TO_OTHER&& customerService.checkMax(aid)) {
 			res.getError().add(buildError("","对方私有客户已达最大限制"));
 			return res;
 		}
-		
 		customerService.updateByOperatorType(uid,oldAid,operatorType, aid);
 		return res;
 	}