| | |
| | | // @RequiresPermissions("deliverGoods:update") |
| | | public String deliverGoods(@PathVariable long id, Model model) { |
| | | AdminMallOrderVo data = mallGoodsService.getMallOrderInfoById(id); |
| | | data.setId(id); |
| | | model.addAttribute("deliverInfo", data); |
| | | return FebsUtil.view("modules/order/deliverGoods"); |
| | | return FebsUtil.view("goods/deliverGoods"); |
| | | } |
| | | |
| | | @GetMapping("profitSetting") |
| | |
| | | String withDrawFee = ObjectUtil.isEmpty(withDrawFeeDic.getValue()) ? "0" : withDrawFeeDic.getValue(); |
| | | hlmBasicPerkDto.setWithDrawFee(withDrawFee); |
| | | } |
| | | DataDictionaryCustom minWithdrawDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.MIN_WITHDRAW_AMOUNT.getType(), |
| | | DataDictionaryEnum.MIN_WITHDRAW_AMOUNT.getCode()); |
| | | if (withDrawFeeDic != null) { |
| | | String minWithdraw = ObjectUtil.isEmpty(minWithdrawDic.getValue()) ? "0" : minWithdrawDic.getValue(); |
| | | hlmBasicPerkDto.setMinWithdraw(minWithdraw); |
| | | } |
| | | DataDictionaryCustom maxWithdrawDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.MAX_WITHDRAW_AMOUNT.getType(), |
| | | DataDictionaryEnum.MAX_WITHDRAW_AMOUNT.getCode()); |
| | | if (maxWithdrawDic != null) { |
| | | String maxWithdraw = ObjectUtil.isEmpty(maxWithdrawDic.getValue()) ? "0" : maxWithdrawDic.getValue(); |
| | | hlmBasicPerkDto.setMaxWithdraw(maxWithdraw); |
| | | } |
| | | model.addAttribute("hlmBasicPerk", hlmBasicPerkDto); |
| | | return FebsUtil.view("goods/basicPerkSetting"); |
| | | } |