| | |
| | | package com.ycl.platform.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.ycl.platform.domain.entity.Report; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ycl.platform.domain.query.ReportQuery; |
| | | import com.ycl.platform.domain.vo.ReportVO; |
| | | import com.ycl.platform.domain.form.ReportForm; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | |
| | | /** |
| | | * 报备 Mapper 接口 |
| | |
| | | @Mapper |
| | | public interface ReportMapper extends BaseMapper<Report> { |
| | | |
| | | IPage<ReportVO> page(IPage page, @Param("query") ReportQuery query); |
| | | |
| | | /** |
| | | * 审核记录 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | List<ReportVO> examineRecord(@Param("id") Integer id); |
| | | |
| | | List<String> selectNumberList(String status, String date); |
| | | |
| | | /** |
| | | * 查询工单是否报备过 |
| | | * |
| | | * @param serialNumber 国标码 |
| | | * @return |
| | | */ |
| | | Report checkPointReported(@Param("serialNumber") String serialNumber); |
| | | |
| | | /** |
| | | * 获取同一批次号的报备 |
| | | * |
| | | * @param pid |
| | | * @return |
| | | */ |
| | | List<Report> getTogether(@Param("pid") String pid); |
| | | |
| | | /** |
| | | * 国标码查设备 |
| | | * |
| | | * @param gb |
| | | * @return |
| | | */ |
| | | List<ReportVO> getListByGb(@Param("gb") String gb); |
| | | } |