自动化立体仓库 - WMS系统
#
Junjie
2 天以前 c3ddb43c8afb079aa7eb5e57a2e6e4169725f048
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.zy.system.service.impl;
 
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.zy.system.entity.Config;
import com.zy.system.mapper.ConfigMapper;
import com.zy.system.service.ConfigService;
import org.springframework.stereotype.Service;
 
@Service("configService")
public class ConfigServiceImpl extends ServiceImpl<ConfigMapper, Config> implements ConfigService {
 
    @Override
    public Config selectConfigByCode(String code){
        return this.baseMapper.selectConfigByCode(code);
    }
 
    @Override
    public boolean updateValue(String code, String value) {
        return this.baseMapper.updateValue(code, value) > 0;
    }
}