| | |
| | | return new FebsResponse().success().data(mallSalesServiceVo); |
| | | } |
| | | |
| | | @Override |
| | | public FebsResponse moneyChange() { |
| | | List<MallMoneyChangeVo> vos = new ArrayList<>(); |
| | | List<DataDictionaryCustom> dataDictionaryCustoms = dataDictionaryCustomMapper.selectDicByType( |
| | | SalesServiceEnums.USD.getType() |
| | | ); |
| | | if (dataDictionaryCustoms.size() > 0){ |
| | | for (DataDictionaryCustom dataDictionaryCustom : dataDictionaryCustoms){ |
| | | MallMoneyChangeVo vo = new MallMoneyChangeVo(); |
| | | vo.setMoneyChange(dataDictionaryCustom.getValue()); |
| | | vo.setCode(dataDictionaryCustom.getCode()); |
| | | vo.setMoneyCode(dataDictionaryCustom.getDescription()); |
| | | vos.add(vo); |
| | | } |
| | | |
| | | } |
| | | return new FebsResponse().success().data(vos); |
| | | |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | Long userld = 173L; |
| | | String shopAccount = "luohu"; |