| | |
| | | import com.xcong.excoin.modules.documentary.entity.FollowTraderLabelEntity;
|
| | | import com.xcong.excoin.modules.documentary.entity.FollowTraderProfitInfoEntity;
|
| | | import com.xcong.excoin.modules.documentary.service.DocumentaryService;
|
| | | import com.xcong.excoin.modules.documentary.vo.BeTraderConditionVo;
|
| | | import com.xcong.excoin.modules.documentary.vo.DocumentaryOrderInfoVo;
|
| | | import com.xcong.excoin.modules.documentary.vo.DocumentaryOrderSetInfoVo;
|
| | | import com.xcong.excoin.modules.documentary.vo.FollowFollowerNoticeVo;
|
| | |
| | | documentaryOrderSetInfoVo.setFollowCnt(followCnt);
|
| | |
|
| | | Integer maxFollowCnt = followFollowerSettingEntity.getMaxFollowCnt();
|
| | | documentaryOrderSetInfoVo.setMaxFollowCnt(maxFollowCnt);
|
| | | |
| | | if(maxFollowCnt == 0){
|
| | | documentaryOrderSetInfoVo.setMaxFollowCnt(null);
|
| | | }
|
| | | documentaryOrderSetInfoVo.setMaxFollowCnt(maxFollowCnt.toString());
|
| | | log.info(memberId + "-最大持仓张数-"+maxFollowCnt.toString());
|
| | | return Result.ok(documentaryOrderSetInfoVo);
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | MemberSettingEntity memberSettingEntity = memberSettingDao.selectMemberSettingByMemberId(memberId);
|
| | | if(ObjectUtil.isNotEmpty(memberSettingEntity)) {
|
| | | log.info(memberId + "的消息提醒状态变更");
|
| | | memberSettingEntity.setMessageReminder(0);
|
| | | memberSettingDao.updateById(memberSettingEntity);
|
| | | }
|
| | |
| | | }
|
| | | return Result.ok(arrayList);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public Result beTraderCondition() {
|
| | | String type = "apply_trader_rule";
|
| | | List<BeTraderConditionVo> beTraderConditionVos = followTraderInfoDao.selectBeTraderCondition(type);
|
| | | return Result.ok(beTraderConditionVos);
|
| | | }
|
| | |
|
| | |
|
| | |
|