| | |
| | | @Autowired |
| | | private RedisUtils redisUtils; |
| | | |
| | | @Scheduled(cron = "0 0 1 * * ? ") |
| | | @Scheduled(cron = "0/5 * * * * ? ") |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void start() { |
| | | log.info("返利执行"); |
| | | List<DappMemberEntity> members = dappMemberDao.selectAllMemberForInCome(); |
| | | if (CollUtil.isEmpty(members)) { |
| | | return; |
| | |
| | | <select id="selectListForMemberAndDay" resultType="cc.mrbird.febs.dapp.entity.DappFundFlowEntity"> |
| | | select * from dapp_fund_flow |
| | | where member_id=#{memberId} and date_format(create_time, '%Y-%m-%d') = date_format(now(), '%Y-%m-%d') |
| | | and type=#{type} and status!=3 |
| | | and type=#{type} |
| | | <if test="type != 3"> |
| | | and status!=3 |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |