chenlu
2025-12-01 1e56bd5cc3be7f7957788f2606c7f56cb4d27f50
north-glass-erp/src/main/java/com/example/erp/mapper/sd/BasicGlassTypeMapper.java
New file
@@ -0,0 +1,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);
}