ustcyc
2025-01-07 5fd51c437819f1c9d027a936db4ba2ee7cd2e053
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package com.zhitan.costmanagement.mapper;
 
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhitan.costmanagement.domain.CostPriceRelevancy;
import com.zhitan.costmanagement.domain.vo.CostPriceRelevancyVo;
import org.apache.ibatis.annotations.Param;
 
/**
 * 单价关联Mapper接口
 *
 * @author ZhiTan
 * @date 2024-11-09
 */
public interface CostPriceRelevancyMapper extends BaseMapper<CostPriceRelevancy> {
    /**
     * 查询单价关联
     *
     * @param id 单价关联主键
     * @return 单价关联
     */
    public CostPriceRelevancy selectCostPriceRelevancyById(String id);
 
    /**
     * 查询单价关联列表
     *
     * @param costPriceRelevancy 单价关联
     * @return 单价关联集合
     */
    public List<CostPriceRelevancy> selectCostPriceRelevancyList(CostPriceRelevancy costPriceRelevancy);
 
    /**
     * 新增单价关联
     *
     * @param costPriceRelevancy 单价关联
     * @return 结果
     */
    public int insertCostPriceRelevancy(CostPriceRelevancy costPriceRelevancy);
 
    /**
     * 修改单价关联
     *
     * @param costPriceRelevancy 单价关联
     * @return 结果
     */
    public int updateCostPriceRelevancy(CostPriceRelevancy costPriceRelevancy);
 
    /**
     * 删除单价关联
     *
     * @param id 单价关联主键
     * @return 结果
     */
    public int deleteCostPriceRelevancyById(String id);
 
    /**
     * 批量删除单价关联
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCostPriceRelevancyByIds(String[] ids);
 
 
 
    /**
     * 查询范围内唯一的单价策略关联信息
     *
 
     */
    public CostPriceRelevancyVo selectCostPriceRelevancyByNodeId(@Param("nodeId") String nodeId,
                                                                 @Param("elType")String elType);
 
 
}