| | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.dsh.activity.entity.PointsMerchandise; |
| | | import com.dsh.activity.mapper.PointsMerchandiseMapper; |
| | | import com.dsh.activity.model.CoachChangeStateVO; |
| | | import com.dsh.activity.model.request.IntegralGoodsOfSearch; |
| | | import com.dsh.activity.service.PointsMerchandiseService; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | |
| | | @Override |
| | | public List<Map<String, Object>> queryGoodsListOfSearch(IntegralGoodsOfSearch ofSearch) { |
| | | return this.baseMapper.queryGoodsListOfSearch(ofSearch.getName(),ofSearch.getType(),ofSearch.getRedemptionMethod(), |
| | | ofSearch.getUserPopulation(),ofSearch.getActiveStatus(),ofSearch.getState(),ofSearch.getPage()); |
| | | return this.baseMapper.queryGoodsListOfSearch(ofSearch.getName(), ofSearch.getType(), ofSearch.getRedemptionMethod(), |
| | | ofSearch.getUserPopulation(), ofSearch.getActiveStatus(), ofSearch.getState(), ofSearch.getPage()); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<String, Object>> queryGoodsListOfSearchAudit(IntegralGoodsOfSearch ofSearch) { |
| | | return this.baseMapper.queryGoodsListOfSearchAudit(ofSearch.getName(), ofSearch.getType(), ofSearch.getRedemptionMethod(), |
| | | ofSearch.getUserPopulation(), ofSearch.getActiveStatus(), ofSearch.getState(), ofSearch.getPage()); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public void saveCity(Integer id, String province, String provinceCode, String city, String cityCode) { |
| | | this.baseMapper.saveCity(id,province,provinceCode,city,cityCode); |
| | | this.baseMapper.saveCity(id, province, provinceCode, city, cityCode); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<String, Object>> ticketList(IntegralGoodsOfSearch ofSearch) { |
| | | return this.baseMapper.ticketList(ofSearch); |
| | | } |
| | | |
| | | @Override |
| | | public void changeState(CoachChangeStateVO dto) { |
| | | List<Integer> ids = dto.getIds(); |
| | | this.baseMapper.changeState(ids, dto.getState()); |
| | | } |
| | | } |