| | |
| | | import javax.validation.Valid;
|
| | | import javax.validation.constraints.NotNull;
|
| | |
|
| | | import com.alibaba.fastjson.JSONObject;
|
| | | import com.xcong.excoin.common.utils.RedisUtils;
|
| | | import org.springframework.stereotype.Service;
|
| | | import org.springframework.transaction.annotation.Transactional;
|
| | |
|
| | |
| | | private final MemberMapper memberMapper;
|
| | |
|
| | | private final FollowTraderProfitInfoMapper followTraderProfitInfoMapper;
|
| | |
|
| | | private final RedisUtils redisUtils;
|
| | |
|
| | | @Override
|
| | | public IPage<FollowTraderInfoEntity> findTraderListInPage(FollowTraderInfoEntity followTraderInfoEntity,
|
| | |
| | | followTraderProfitInfoEntity.setTotalFollowerCnt(BigDecimal.ZERO);
|
| | | followTraderProfitInfoEntity.setTotalOrderCnt(BigDecimal.ZERO);
|
| | | followTraderProfitInfoMapper.insert(followTraderProfitInfoEntity);
|
| | |
|
| | | String token = redisUtils.getString("app_" + memberEntity.getId());
|
| | | redisUtils.set("app_" + token, JSONObject.toJSONString(memberEntity), 36000);
|
| | | }else {
|
| | | //更新【交易员信息表】数据
|
| | | selectById.setVerifyStatus(FollowTraderInfoEntity.VERIFYSTATUS_N);
|