| | |
| | | adjustValueMapper.updateByPrimaryKeySelective(adjustValue); |
| | | } |
| | | // 存储到redis |
| | | Map<String,Float> adjustMap = new HashMap<>(); |
| | | Map<String,String> adjustMap = new HashMap<>(); |
| | | if(adjustValue.getValue()!=null&&!adjustValue.getValue().isEmpty()){ |
| | | for(Map.Entry<String,Float> entry:adjustValue.getValue().entrySet()){ |
| | | for(Map.Entry<String,String> entry:adjustValue.getValue().entrySet()){ |
| | | adjustMap.put(entry.getKey(),entry.getValue()); |
| | | if(entry.getValue()!=null){ |
| | | adjustMap.put(entry.getKey(),entry.getValue()); |
| | | } |
| | | } |
| | | if(!adjustMap.isEmpty()){ |