自动化立体仓库 - WMS系统
zhang
2025-08-27 e90dba0edc93be26e1509cfb2ec1d0681eb86e48
src/main/java/com/zy/system/mapper/ConfigMapper.java
@@ -3,10 +3,17 @@
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();
}