whycxzp
2025-05-09 f92783da5430037bf80cf28a5cf7091cdecefbb7
src/main/java/com/whyc/mapper/ProductMapper.java
@@ -3,6 +3,7 @@
import com.whyc.pojo.AttachLock;
import com.whyc.pojo.Material;
import com.whyc.pojo.Product;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@@ -16,5 +17,7 @@
    //根据产品id查询被锁定的产品丝印
    List<AttachLock> selectListProduct(int productId);
    //查询产品是否存在物料时钣金件的产品
    Material selectMaterial_0120(String parentCode, String customCode);
    List<Material> selectMaterial_0120(String parentCode, String customCode);
    //验证母料编码是否存在产品中
    int judgeParentCode(@Param("parentCode") String parentCode,String customCode);
}