邱宇豪
2023-09-22 07a07e9072946498a7d37c7345f83f9021f5deeb
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
package com.thhy.engineering.modules.biz.engineering.mapper;
 
import com.thhy.engineering.modules.biz.engineering.entity.SysSegmentNeed;
import com.thhy.engineering.modules.biz.engineering.entity.SysSegment;
import com.thhy.general.annotations.Idkey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.HashMap;
import java.util.List;
import java.util.Map;
 
@Mapper
public interface SysSegmentMapper {
 
    String segmentNameByOne(String segmentName);
 
    String segmentNameByProjectName(String unitProjectName);
 
    void segmentInsert(@Idkey("segmentId") Map<String, Object> values);
 
    void segmentNeedInsert(@Idkey("id") HashMap<String,Object> segmentNeed);
 
    List<SysSegment> segmentList(Map<String, Object> values);
 
    SysSegment segmentInfo(String segmentId);
 
    List<SysSegmentNeed> segmentNeedList(String segmentId);
 
    void segmentDel(String segmentId);
 
    void segmentUpdate(Map<String, Object> values);
 
    void segmentNeedDel(@Param("segmentId") String segmentId1);
}