zouyu
7 天以前 3793ba4a9b6be8faa6df0d4a76c06763ac03f873
inspect-server/src/main/java/com/ruoyi/inspect/service/InsOrderPlanService.java
@@ -4,11 +4,13 @@
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.inspect.dto.InsOrderPlanDTO;
import com.ruoyi.inspect.dto.InsOrderPlanProductDto;
import com.ruoyi.inspect.dto.SaveInsContextDto;
import com.ruoyi.inspect.pojo.InsOrderFactoryVerify;
import com.ruoyi.inspect.pojo.InsOrderFile;
import com.ruoyi.inspect.pojo.InsProduct;
import com.ruoyi.inspect.vo.InsOrderPlanTaskSwitchVo;
import com.ruoyi.inspect.vo.InsOrderPlanVO;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;
import java.util.List;
@@ -24,22 +26,21 @@
    boolean claimInsOrderPlan(InsOrderPlanDTO entity);
    void saveInsContext(Map<String, Object> insContext,Integer currentTable,Integer sampleId,Integer orderId,String sonLaboratory);
    void saveInsContext(SaveInsContextDto saveInsContextDto);
    Map<String, Object> doInsOrder(Integer id, String laboratory);
    int upPlanUser(Integer userId, Integer orderId,String sonLaboratory);
    int submitPlan(Integer orderId, String laboratory, Integer verifyUser, String entrustCode);
    int submitPlan(Integer orderId, String laboratory, Integer verifyUser, String entrustCode,Boolean registerInsResults);
    List<InsProduct> getInsProduct(InsOrderPlanProductDto insOrderPlanProductDto);
    List<String> checkSubmitPlan(Integer orderId, String laboratory);
    Map<String,Object> checkSubmitPlan(Integer orderId, String laboratory);
    IPage<InsOrderFile> getFileList(Page page, InsOrderFile insOrderFile);
    int uploadFile(Integer orderId, MultipartFile file);
    List<String> upPlanUser2(Integer orderId);
@@ -69,30 +70,19 @@
     */
    List<Map<String, Object>> getRepetitionTag(Integer id, String laboratory, String cableTag);
    /**
     * 获取不合格数据
     * @return
     */
    List<InsProduct> getInsProductUnqualified(InsOrderPlanProductDto insOrderPlanProductDto);
    /**
     * 新增不合格复测内容给
     * @param ids
     * @return
     */
    boolean addDisqualificationRetest(List<Integer> ids);
    boolean addDisqualificationRetest(List<InsProduct> insProductsList);
    /**
     * 获取不合格复测数据
     * @param id
     * @param type
     * @param laboratory
     * @param cableTag
     * @param rawMaterialTag
     * @param retestTag
     * @return
     */
    List<InsProduct> getInsProductUnqualifiedRetest(Integer id, Integer type, String laboratory, String cableTag, String rawMaterialTag, String retestTag);
    List<InsProduct> getInsProductUnqualifiedRetest(InsOrderPlanProductDto insOrderPlanProductDto);
    /**
     * 保存不合格复测检验内容