diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysMakeOrderMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysMakeOrderMapper.java index 737fb709..6ea81d53 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysMakeOrderMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysMakeOrderMapper.java @@ -1,5 +1,6 @@ package com.ruoyi.system.mapper; +import com.ruoyi.framework.web.domain.server.Sys; import com.ruoyi.system.domain.SysMakeOrder; import com.ruoyi.system.dto.SysMakeorderMaterialDto; @@ -101,4 +102,10 @@ public interface SysMakeOrderMapper * 品质管理制程检验工序关联生产单号 * */ List selectAllMakeNos(); + + /* + * 品质管理通过生产单号查询销售单号 + * */ + SysMakeOrder selectSaleNoByMakeNo(String makeNo); + } diff --git a/ruoyi-admin/src/main/resources/mapper/system/SysMakeOrderMapper.xml b/ruoyi-admin/src/main/resources/mapper/system/SysMakeOrderMapper.xml index 8386e978..489cd7f7 100644 --- a/ruoyi-admin/src/main/resources/mapper/system/SysMakeOrderMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/system/SysMakeOrderMapper.xml @@ -251,4 +251,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select makeNo from sys_makeorder + + \ No newline at end of file