|
|
@@ -69,6 +69,14 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
private Integer USER_CHANNEL_DAYS= null;
|
|
|
@Value(value = "${user.receive.max}")
|
|
|
private Integer USER_RECEIVE_MAX = null;
|
|
|
+
|
|
|
+ @Value(value = "${yxzj_max}")
|
|
|
+ private Integer YXZJ_MAX = null;
|
|
|
+ @Value(value = "${yxy_max}")
|
|
|
+ private Integer YXY_MAX = null;
|
|
|
+ @Value(value = "${yxjl_max}")
|
|
|
+ private Integer YXJL_MAX = null;
|
|
|
+
|
|
|
@Resource
|
|
|
private UserFollowMapper userFollowMapper;
|
|
|
@Resource
|
|
|
@@ -2185,13 +2193,13 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
List<String > roles=adminMapper.getAdminRoleListByAid(aid);
|
|
|
for (String role : roles) {
|
|
|
if (role.equals(AFTConstants.SALESMAN_DIRECTOR)){
|
|
|
- y = 800;
|
|
|
+ y = YXZJ_MAX;
|
|
|
break;
|
|
|
} else if (role.equals(AFTConstants.SALESMAN_MANAGER)){
|
|
|
- y = 200;
|
|
|
+ y = YXJL_MAX;
|
|
|
break;
|
|
|
} else if (role.equals(AFTConstants.SALESMAN)){
|
|
|
- y = 100;
|
|
|
+ y = YXY_MAX;
|
|
|
break;
|
|
|
}
|
|
|
}
|