| | |
| | | import cc.mrbird.febs.dapp.entity.DataDictionaryCustom; |
| | | import cc.mrbird.febs.dapp.enumerate.DataDictionaryEnum; |
| | | import cc.mrbird.febs.dapp.mapper.DataDictionaryCustomMapper; |
| | | import cc.mrbird.febs.dapp.service.DappSystemService; |
| | | import cn.hutool.core.util.StrUtil; |
| | | import org.mybatis.spring.annotation.MapperScan; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | |
| | | @Autowired |
| | | private DataDictionaryCustomMapper dataDictionaryCustomMapper; |
| | | @Autowired |
| | | private DappSystemService dappSystemService; |
| | | |
| | | @Autowired |
| | | private SystemConstants systemConstants; |
| | |
| | | |
| | | @PostConstruct |
| | | public void systemConstantsInit() { |
| | | DataDictionaryCustom dataDictionaryCustom = dataDictionaryCustomMapper.selectDicDataByTypeAndCode(DataDictionaryEnum.FEE_ADDRESS_KEY.getType(), DataDictionaryEnum.FEE_ADDRESS_KEY.getCode()); |
| | | DataDictionaryCustom dataDictionaryCustom = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.FEE_ADDRESS_KEY.getType(), |
| | | DataDictionaryEnum.FEE_ADDRESS_KEY.getCode()); |
| | | String key = dataDictionaryCustom.getCode(); |
| | | key = StrUtil.toCamelCase(key); |
| | | String value = dataDictionaryCustom.getValue(); |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | // @PostConstruct |
| | | // public void systemDicInit() { |
| | | // dappSystemService.selectAndInsertDics(); |
| | | // } |
| | | |
| | | } |