whycxzp
2022-10-17 04d13e3a41ef798e07c25c1d3ad2002270a9cb76
src/main/java/com/whyc/mapper/ProductMapper.java
@@ -1,7 +1,17 @@
package com.whyc.mapper;
import com.whyc.pojo.AttachLock;
import com.whyc.pojo.Product;
public interface ProductMapper extends CustomMapper<Product>{
import java.util.List;
public interface ProductMapper extends CustomMapper<Product>{
    // 5.在product中插入设定可用的pHistory
    int insertPselectPH(Integer id);
   //查询出所有的产品信息(分页加模糊查询<产品的编码,型号,名字,定制表编号>
    List<Product> getAllProduct(String subCode, String parentCode, String parentName, String parentModel, String customCode);
    //根据产品id查询被锁定的物料dwg
    List<AttachLock> selectListMaterial(int productId);
    //根据产品id查询被锁定的产品丝印
    List<AttachLock> selectListProduct(int productId);
}