自动化立体仓库 - WMS系统
1
zhang
3 天以前 13bdad370f0b35b68f79a75f8183a23135e45225
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.zy.system.mapper;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zy.system.entity.Config;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
 
@Mapper
@Repository
public interface ConfigMapper extends BaseMapper<Config> {
 
    @Select("select top 1 * from sys_config where code='MAT_CODE_31'")
    Config selectByCode();
 
    @Select("select top 1 * from sys_config where code='MAT_CODE_10'")
    Config selectByCode2();
}