廖井涛
6 天以前 6d6ae282ee8a58d6846e7c6986649c474444dae7
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
package com.example.erp.mapper.sd;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.erp.entity.sd.BasicGlassType;
import com.example.erp.entity.sd.ProcessAttributeConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
@Mapper
public interface BasicGlassTypeMapper extends BaseMapper<BasicGlassType> {
    List<BasicGlassType> getOneLevel();
 
    List<BasicGlassType> getTwoLevel();
 
    BasicGlassType selectMaxType(Integer type);
 
    BasicGlassType selectMaxTowLevelType(String type);
 
 
    Boolean updateGlassTypeName(@Param("basicGlassType") BasicGlassType basicGlassType);
 
    List<ProcessAttributeConfig> getFindAllConfig();
 
    List<ProcessAttributeConfig> getOneLevelListMapConfig();
 
    ProcessAttributeConfig selectMaxTypeConfig(Integer type);
 
    ProcessAttributeConfig selectMaxTowLevelTypeConfig(String type);
 
    Boolean insertProcessAttributeConfig(@Param("processAttributeConfig") ProcessAttributeConfig processAttributeConfig);
 
    Boolean updateProcessAttributeConfig(@Param("processAttributeConfig") ProcessAttributeConfig processAttributeConfig);
 
    Boolean deleteProcessAttributeConfig(Integer id);
}