| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.inspect.pojo.InsOrder; |
| | | import com.ruoyi.inspect.dto.InsPlaceOrderDto; |
| | | import com.ruoyi.process.dto.InspectionOrderDto; |
| | | import com.ruoyi.process.pojo.InspectionOrder; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | |
| | | * @param InspectionOrder |
| | | * @return |
| | | */ |
| | | boolean addInspectionOrder(InspectionOrderDto InspectionOrder); |
| | | InspectionOrderDto addInspectionOrder(InspectionOrderDto inspectionOrder); |
| | | |
| | | /** |
| | | * 检验委托单修改 |
| | |
| | | InspectionOrderDto getInspectionOrderOne(Integer inspectionOrderId); |
| | | |
| | | /** |
| | | * 根据成品订单id查询委托单信息 |
| | | * @param insOrderId |
| | | * @return |
| | | * 查询未绑定的检验委托单,供成品下单选择。 |
| | | */ |
| | | InspectionOrderDto getInspectionOrderByInsOderId(Integer insOrderId); |
| | | IPage<InspectionOrder> pageUnboundInspectionOrder(Page page, InspectionOrder inspectionOrder); |
| | | |
| | | /** |
| | | * 委托单查询成品订单 |
| | | * @return |
| | | * 获取成品下单初始化所需的委托单信息。 |
| | | */ |
| | | IPage<InsOrder> getInsOrderOnInspection(Page page, InsOrder insOrder); |
| | | InspectionOrderDto getInspectionOrderForPlaceOrder(Integer inspectionOrderId); |
| | | |
| | | /** |
| | | * 新增成品下单并与委托单绑定。 |
| | | */ |
| | | Integer addInsOrderWithInspectionOrder(InsPlaceOrderDto insPlaceOrderDto); |
| | | |
| | | /** |
| | | * 下单生成委托编号后回写检验委托单。 |
| | | */ |
| | | void syncEntrustCode(Integer insOrderId); |
| | | |
| | | /** |
| | | * 正式报告批准后复制报告并回写委托单文件地址。 |
| | | */ |
| | | void syncReportFile(Integer insReportId); |
| | | |
| | | /** |
| | | * 更正下单与委托单的绑定关系。 |
| | | */ |
| | | boolean changeBinding(Integer insOrderId, Integer inspectionOrderId, String reason); |
| | | |
| | | /** |
| | | * 委托单成品报告上传 |