| | |
| | | import com.nq.pojo.*; |
| | | import com.nq.service.IAgentAgencyFeeService; |
| | | import com.nq.service.IAgentUserService; |
| | | import com.nq.service.IUserPositionService; |
| | | import com.nq.utils.PropertiesUtil; |
| | | import com.nq.utils.redis.CookieUtils; |
| | | import com.nq.utils.redis.JsonUtil; |
| | |
| | | |
| | | @Autowired |
| | | IAgentUserService iAgentUserService; |
| | | |
| | | @Autowired |
| | | IUserPositionService iUserPositionService; |
| | | |
| | | @Autowired |
| | | AgentUserMapper agentUserMapper; |
| | |
| | | return -1; |
| | | } |
| | | //模拟用户下单不计算分红 |
| | | User user = userMapper.selectByPrimaryKey(userPosition.getUserId()); |
| | | User user = userMapper.selectById(userPosition.getUserId()); |
| | | if(user.getAccountType() != 0 || user.getIsLock() != 0 || user.getIsActive() != 2){ |
| | | return -2; |
| | | } |