| | |
| | | */ |
| | | public interface InspectionService extends IService<Inspection> { |
| | | |
| | | /** |
| | | * 添加检验单 |
| | | * @param userName |
| | | * @param type |
| | | * @return |
| | | */ |
| | | Inspection addInspection(String userName,int type); |
| | | |
| | | Map selectAllInspection(int pageSize, int countSize, Integer state); |
| | | /** |
| | | * 分页查询所有检验单 |
| | | * @param pageSize |
| | | * @param countSize |
| | | * @param state |
| | | * @return |
| | | */ |
| | | List<InspectionDto> selectAllInspection(int pageSize, int countSize, Integer state); |
| | | |
| | | /** |
| | | *根据检验单id作废检验单申请 |
| | | * @param inspectionId |
| | | * @return |
| | | */ |
| | | boolean delInspectionByInsId(String inspectionId); |
| | | |
| | | /** |
| | | * 根据检验单id提交检验申请 |
| | | * @param inspectionId |
| | | * @return |
| | | */ |
| | | boolean subInspectionByInsId(String inspectionId); |
| | | |
| | | } |