| | |
| | | import com.iailab.framework.common.service.impl.BaseServiceImpl; |
| | | import com.iailab.framework.common.util.object.BeanUtils; |
| | | import com.iailab.framework.common.util.object.ConvertUtils; |
| | | import com.iailab.iems.common.utils.SerialNumUtils; |
| | | import com.iailab.module.pms.coalquality.common.utils.SerialNumUtils; |
| | | import com.iailab.module.pms.coalquality.modules.detection.dao.QualityTailingDao; |
| | | import com.iailab.module.pms.coalquality.modules.detection.dto.QualityTailingDTO; |
| | | import com.iailab.module.pms.coalquality.modules.detection.entity.QualityTailingEntity; |
| | |
| | | import com.iailab.module.pms.coalquality.modules.detection.vo.TailingPageReqVO; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.Date; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 尾矿检测 |
| | |
| | | public class QualityTailingServiceImpl extends BaseServiceImpl<QualityTailingDao, QualityTailingEntity> |
| | | implements QualityTailingService { |
| | | |
| | | @Autowired |
| | | private SerialNumUtils serialNumUtils; |
| | | |
| | | private String BUSINESS_CODE = "QualityTailing"; |
| | | |
| | | @Override |
| | |
| | | PageResult<QualityTailingEntity> page = baseDao.selectPage(reqVO); |
| | | |
| | | return BeanUtils.toBean(page, QualityTailingDTO.class); |
| | | } |
| | | |
| | | private QueryWrapper<QualityTailingEntity> getWrapper(Map<String, Object> params){ |
| | | String rq = (String)params.get("rq"); |
| | | |
| | | QueryWrapper<QualityTailingEntity> wrapper = new QueryWrapper<>(); |
| | | wrapper.eq(StringUtils.isNotBlank(rq), "rq", rq); |
| | | return wrapper; |
| | | } |
| | | |
| | | @Override |