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);
|
}
|