fix(新手引导): 新手引导,步骤为初始值时,增加记录操作
This commit is contained in:
parent
bbfd7e09b6
commit
5c51b6f461
|
@ -55,6 +55,9 @@ public class NoviceService {
|
|||
NoviceStatistics noviceStatistics = noviceInfo.get(0);
|
||||
noviceStatistics.setGuideNum(noviceStatistics.getGuideNum() + 1);
|
||||
noviceStatistics.setUpdateTime(systemTime);
|
||||
if(noviceStatistics.getGuideStep() == 0) {
|
||||
noviceStatistics.setGuideStep(noviceRequest.getGuideStep());
|
||||
}
|
||||
NoviceStatisticsExample example = new NoviceStatisticsExample();
|
||||
example.createCriteria().andUserIdEqualTo(SessionUtils.getUserId()).andIdEqualTo(noviceStatistics.getId());
|
||||
|
||||
|
|
Loading…
Reference in New Issue