| | |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.admin.request.CarsQuery; |
| | | import com.doumee.dao.admin.response.CarsDTO; |
| | | import com.doumee.dao.admin.response.MemberInfoDTO; |
| | | import com.doumee.dao.business.CarsMapper; |
| | | import com.doumee.dao.business.join.CarJoinMapper; |
| | | import com.doumee.dao.business.join.ParkBookJoinMapper; |
| | |
| | | @Override |
| | | public List<Cars> findList(Cars cars) { |
| | | QueryWrapper<Cars> wrapper = new QueryWrapper<>(cars); |
| | | wrapper.lambda().eq(Cars::getIsdeleted,Constants.ZERO); |
| | | return carsMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<Cars> findPage(PageWrap<Cars> pageWrap) { |
| | | |
| | | |
| | | IPage<Cars> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | MPJLambdaWrapper<Cars> queryWrapper = new MPJLambdaWrapper<>(); |
| | | |