| | |
| | | @Autowired |
| | | private IdUtils idUtils; |
| | | |
| | | @Autowired |
| | | private DistribService distribService; |
| | | |
| | | public void addJhyOrder(AddJhyOrderDto orderDto) { |
| | | JhyInfo jhyInfo = jhyInfoMapper.selectJhyInfoByUserId(orderDto.getUserId()); |
| | | if (jhyInfo != null && JhyInfo.CHECK_PASS.equals(jhyInfo.getStatus())) { |
| | |
| | | |
| | | userAccount.setCollectScore(userScore.add(totalScore).setScale( 0, BigDecimal.ROUND_DOWN ).toString()); |
| | | accountMapper.updateByPrimaryKey(userAccount); |
| | | |
| | | distribService.distribRecord(order.getId(), order.getUserId()); |
| | | } |
| | | } |