| | |
| | | import com.sinata.rest.modular.system.model.SystemNotice; |
| | | import com.sinata.rest.modular.system.service.ISmsRecordService; |
| | | import com.sinata.rest.modular.system.service.ISystemSetService; |
| | | import java.util.List; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | @Override |
| | | @Transactional |
| | | public ApiUtils applySaleUser(BodyApplySaleUser body) { |
| | | log.info("推荐他人入司,入参:{}", body); |
| | | MallOrder mallOrder = mallOrderService.getById(body.getOrderNo()); |
| | | log.info("推荐他人入司,订单:{}", mallOrder); |
| | | if (mallOrder == null || mallOrder.getOrderType() == EnumMallGoodsGroupType.GOODS.index || mallOrder.getUseUserId() != 0) { |
| | |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public List<MemUser> queryLevelUpUserList() { |
| | | return baseMapper.queryLevelUpUserList(); |
| | | } |
| | | } |