jinlin
2024-10-22 9f58ccbd8ed371f8e20b37b45b412c33a7f0dfcc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package com.zt.life.modules.mainPart.basicInfo.dao;
 
import com.zt.common.dao.BaseDao;
import com.zt.life.modules.mainPart.basicInfo.dto.ProductDto;
import com.zt.life.modules.mainPart.basicInfo.model.ProductImg;
import com.zt.life.modules.mainPart.basicInfo.model.XhProductModel;
import org.apache.ibatis.annotations.Mapper;
 
 
import java.util.List;
import java.util.Map;
 
 
/**
 * product_model
 *
 * @author zt generator 
 * @since 1.0.0 2024-02-29
 */
@Mapper
public interface XhProductModelDao extends BaseDao<XhProductModel> {
 
    List<XhProductModel> getList(Map<String, Object> params);
 
 
    Integer getNo(Long pid, String productType);
 
    List<XhProductModel> getProductList();
 
    List<ProductImg> getProduct(Long productId, Long parentId);
 
    List<XhProductModel> getTaskProductList();
    XhProductModel getById(Long id);
 
    List<XhProductModel> getByShipId(Long shipId);
 
    List<XhProductModel> getProductTree(Long shipId);
 
    void deleteByShipId(Long shipId);
 
    List<XhProductModel> getProductPath(Long shipId);
 
    void deleteByPid(Long id);
 
    Long[] getByPid(Long id);
 
    List<ProductDto> getProductByShip(Long shipId);
}