jinlin
2024-06-24 3ca8ce266bf5b06556d80c78b31405e7a54aa4e5
modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/service/XhProductModelService.java
@@ -55,11 +55,11 @@
        return TreeUtils.build(productList);
    }
    public Integer getNo(Long pid) {
        if (baseDao.getNo(pid) == null) {
    public Integer getNo(Long pid, String productType) {
        if (baseDao.getNo(pid, productType) == null) {
            return 0;
        }
        return baseDao.getNo(pid);
        return baseDao.getNo(pid,productType);
    }
    public List<XhProductModel> getProductList() {
@@ -68,7 +68,9 @@
    }
    public List<ProductImg> getProduct(Long productId) {
        return baseDao.getProduct(productId);
        XhProductModel model =this.get(productId);
        Long parentId = model.getPid();
        return baseDao.getProduct(productId,parentId);
    }
    public List<XhProductModel> getTaskProductList() {