|
|
@ -1,13 +1,11 @@ |
|
|
|
package com.hnac.hzims.safeproduct.service.impl; |
|
|
|
package com.hnac.hzims.safeproduct.service.impl; |
|
|
|
|
|
|
|
|
|
|
|
import cn.afterturn.easypoi.entity.ImageEntity; |
|
|
|
|
|
|
|
import cn.hutool.core.date.DatePattern; |
|
|
|
import cn.hutool.core.date.DatePattern; |
|
|
|
import com.alibaba.excel.util.CollectionUtils; |
|
|
|
import com.alibaba.excel.util.CollectionUtils; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
|
|
import com.hnac.hzims.common.logs.utils.StringUtils; |
|
|
|
|
|
|
|
import com.hnac.hzims.safeproduct.constants.SafeProductConstant; |
|
|
|
import com.hnac.hzims.safeproduct.constants.SafeProductConstant; |
|
|
|
import com.hnac.hzims.safeproduct.dto.CarCheckRecordDTO; |
|
|
|
import com.hnac.hzims.safeproduct.dto.CarCheckRecordDTO; |
|
|
|
import com.hnac.hzims.safeproduct.entity.CarCheckItemEntity; |
|
|
|
import com.hnac.hzims.safeproduct.entity.CarCheckItemEntity; |
|
|
@ -140,10 +138,7 @@ public class CarCheckRecordServiceImpl extends ServiceImpl<CarCheckRecordMapper, |
|
|
|
* @return 当月车检记录数据表 |
|
|
|
* @return 当月车检记录数据表 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private List<CarCheckRecordEntity> getCarCheckRecordByMonth(String month) { |
|
|
|
private List<CarCheckRecordEntity> getCarCheckRecordByMonth(String month) { |
|
|
|
QueryWrapper<CarCheckRecordEntity> queryWrapper = new QueryWrapper<>(); |
|
|
|
return baseMapper.selectCarCheckRecordByMonth(month); |
|
|
|
queryWrapper.lambda().like(CarCheckRecordEntity::getCreateTime, month) |
|
|
|
|
|
|
|
.orderByDesc(CarCheckRecordEntity::getCode); |
|
|
|
|
|
|
|
return this.list(queryWrapper); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|