| | |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public Boolean add(String integral, String method, Integer gameId, Integer storyId, Integer difficulty) { |
| | | public Boolean add(String integral, String method, Integer gameId, Integer storyId, Integer difficulty, Integer storyType) { |
| | | TIntegralRecord integralRecord = new TIntegralRecord(); |
| | | integralRecord.setIntegral(integral); |
| | | integralRecord.setMethod(method); |
| | |
| | | integralRecord.setGameId(gameId); |
| | | integralRecord.setStoryId(storyId); |
| | | integralRecord.setGameDifficulty(difficulty); |
| | | integralRecord.setStoryType(storyType); |
| | | return this.save(integralRecord); |
| | | } |
| | | } |