| | |
| | | @Override |
| | | public FootDataVO getFoodDataVO(){ |
| | | FootDataVO footDataVO = new FootDataVO(); |
| | | String path =systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.FILE_DIR).getCode(); |
| | | footDataVO.setFootWords(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.FOOT_WORDS).getCode()); |
| | | footDataVO.setFootImgUrl(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.FOOT_IMGURL).getCode()); |
| | | footDataVO.setFootFullImgUrl(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.FILE_DIR).getCode() + |
| | | systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.FOOT_IMGURL).getCode()); |
| | | footDataVO.setFootFullImgUrl(path+ |
| | | footDataVO.getFootImgUrl()); |
| | | footDataVO.setFootImgUrl2(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.FOOT_IMGURL2).getCode()); |
| | | footDataVO.setFootFullImgUrl2(path + |
| | | footDataVO.getFootImgUrl2()); |
| | | footDataVO.setAddress(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.ADDRESS).getCode()); |
| | | footDataVO.setLinkPhone(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.LINK_PHONE).getCode()); |
| | | footDataVO.setLinkMobile(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.LINK_MOBILE).getCode()); |
| | |
| | | SystemDictData wisdomSystem = systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.WISDOM_SYSTEM); |
| | | if(Objects.nonNull(wisdomSystem) & org.apache.commons.lang3.StringUtils.isNotBlank(wisdomSystem.getCode())){ |
| | | footDataVO.setWisdomSystem(JSONArray.parseArray(wisdomSystem.getCode())); |
| | | } |
| | | SystemDictData honors = systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.HONORS); |
| | | if(Objects.nonNull(wisdomSystem) & org.apache.commons.lang3.StringUtils.isNotBlank(honors.getCode())){ |
| | | footDataVO.setHonors(JSONArray.parseArray(honors.getCode())); |
| | | } |
| | | footDataVO.setServerTime(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.SERVER_TIME).getCode()); |
| | | return footDataVO; |
| | |
| | | wisdomSystem.setCode(footDataDTO.getWisdomSystem().toString()); |
| | | systemDictDataBiz.updateById(wisdomSystem); |
| | | } |
| | | SystemDictData honors = systemDictDataBiz.queryByCode(Constants.SYSTEM, Constants.HONORS); |
| | | if (Objects.nonNull(wisdomSystem)&&Objects.nonNull(footDataDTO.getHonors())) { |
| | | wisdomSystem.setCode(footDataDTO.getHonors().toString()); |
| | | systemDictDataBiz.updateById(wisdomSystem); |
| | | } |
| | | } |
| | | |
| | | |