| | |
| | | String agentPerk = ObjectUtil.isEmpty(agentPerkDic.getValue()) ? "0" : agentPerkDic.getValue(); |
| | | hlmBasicPerkDto.setAgentPerk(agentPerk); |
| | | } |
| | | DataDictionaryCustom perkAgentAchieveTotalDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.PERK_AGENT_ACHIEVE_TOTAL.getType(), |
| | | DataDictionaryEnum.PERK_AGENT_ACHIEVE_TOTAL.getCode()); |
| | | if (perkAgentAchieveTotalDic != null) { |
| | | String perkAgentAchieveTotal = ObjectUtil.isEmpty(perkAgentAchieveTotalDic.getValue()) ? "0" : perkAgentAchieveTotalDic.getValue(); |
| | | hlmBasicPerkDto.setPerkAgentAchieveTotal(perkAgentAchieveTotal); |
| | | } |
| | | DataDictionaryCustom perkAgentAchievePercentDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.PERK_AGENT_ACHIEVE_PERCENT.getType(), |
| | | DataDictionaryEnum.PERK_AGENT_ACHIEVE_PERCENT.getCode()); |
| | | if (perkAgentAchievePercentDic != null) { |
| | | String perkAgentAchievePercent = ObjectUtil.isEmpty(perkAgentAchievePercentDic.getValue()) ? "0" : perkAgentAchievePercentDic.getValue(); |
| | | hlmBasicPerkDto.setPerkAgentAchievePercent(perkAgentAchievePercent); |
| | | } |
| | | model.addAttribute("hlmBasicPerk", hlmBasicPerkDto); |
| | | return FebsUtil.view("modules/system/hlmBasicPerk"); |
| | | } |
| | |
| | | * @param model |
| | | * @return |
| | | */ |
| | | @GetMapping("hlmAchieveSetButton") |
| | | @RequiresPermissions("hlmAchieveSetButton:view") |
| | | @GetMapping("hlmAchieveSet") |
| | | @RequiresPermissions("hlmAchieveSet:view") |
| | | public String hlmAchieveSetButton(Model model) { |
| | | HlmVoucherButtonDto hlmVoucherButtonDto = new HlmVoucherButtonDto(); |
| | | DataDictionaryCustom jobAchieveReleasePercentDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |