Commit bf20ee2102286c6cdb78a07f102f7a88e605ec06
1 parent
7fee3c23
Exists in
master
bug
Showing
2 changed files
with
1 additions
and
3 deletions
Show diff stats
src/main/java/com/jevon/controller/LearnStatController.java
| @@ -613,7 +613,7 @@ public class LearnStatController { | @@ -613,7 +613,7 @@ public class LearnStatController { | ||
| 613 | for(Form6 form6 : form6RepVO.getData()){ | 613 | for(Form6 form6 : form6RepVO.getData()){ |
| 614 | if(detail.equals(form6.getDimensional())){ | 614 | if(detail.equals(form6.getDimensional())){ |
| 615 | sumScore = sumScore + form6.getScore() ; | 615 | sumScore = sumScore + form6.getScore() ; |
| 616 | - getScore = getScore + form6.getSchoolRate(); | 616 | + getScore = getScore + form6.getSchoolRate()*form6.getScore(); |
| 617 | } | 617 | } |
| 618 | } | 618 | } |
| 619 | } | 619 | } |
src/main/java/com/jevon/utils/RedisUtils.java
| @@ -118,8 +118,6 @@ public class RedisUtils { | @@ -118,8 +118,6 @@ public class RedisUtils { | ||
| 118 | Jedis jedis = null; | 118 | Jedis jedis = null; |
| 119 | try { | 119 | try { |
| 120 | jedis = getJedis(); | 120 | jedis = getJedis(); |
| 121 | - byte[] keyb = key.getBytes(); | ||
| 122 | - byte[] vaueb = SerializeUtil.serialize(object); | ||
| 123 | jedis.set(key.getBytes(), SerializeUtil.serialize(object)); | 121 | jedis.set(key.getBytes(), SerializeUtil.serialize(object)); |
| 124 | } catch (Exception e) { | 122 | } catch (Exception e) { |
| 125 | e.printStackTrace(); | 123 | e.printStackTrace(); |