|
@@ -79,7 +79,7 @@ public class UserMockSubscribeServiceImpl extends ServiceImpl<UserMockSubscribeM
|
|
|
lqw.eq(bo.getFirstScore() != null, UserMockSubscribe::getFirstScore, bo.getFirstScore());
|
|
|
lqw.eq(bo.getFirstSubjectiveScore() != null, UserMockSubscribe::getFirstSubjectiveScore, bo.getFirstSubjectiveScore());
|
|
|
lqw.eq(bo.getFirstHandTime() != null, UserMockSubscribe::getFirstHandTime, bo.getFirstHandTime());
|
|
|
- lqw.eq(bo.getRecordIdJson() != null, UserMockSubscribe::getRecordIdJson, bo.getRecordIdJson());
|
|
|
+ lqw.eq(bo.getRecordId() != null, UserMockSubscribe::getRecordId, bo.getRecordId());
|
|
|
return entity2Vo(this.list(lqw));
|
|
|
}
|
|
|
|
|
@@ -194,6 +194,11 @@ public class UserMockSubscribeServiceImpl extends ServiceImpl<UserMockSubscribeM
|
|
|
}
|
|
|
}
|
|
|
update.setUpdateTime(DateUtils.getNowTime());
|
|
|
+ if (Validator.isNotEmpty(bo.getRecordId()) && userMockSubscribeVo.getRecordId() != null) {
|
|
|
+ update.setRecordId(userMockSubscribeVo.getRecordId() + "," + bo.getRecordId());
|
|
|
+ }else if (Validator.isNotEmpty(bo.getRecordId()) && userMockSubscribeVo.getRecordId() == null) {
|
|
|
+ update.setRecordId(userMockSubscribeVo.getRecordId() + bo.getRecordId());
|
|
|
+ }
|
|
|
return this.updateById(update);
|
|
|
}
|
|
|
|