修复历史成绩查看bug

master
huan.xu 4 years ago
parent 23927365bc
commit 332af212ff
  1. 3
      blockchain-server/blockchain-server-yyyf/src/main/java/com/blockchain/server/yyyf/service/impl/AssessUserServiceImpl.java

@ -289,7 +289,8 @@ public class AssessUserServiceImpl implements AssessUserService {
Example example = new Example(AssessUser.class); Example example = new Example(AssessUser.class);
Example.Criteria criteria = example.createCriteria(); Example.Criteria criteria = example.createCriteria();
criteria.andCondition("issue_id = ", issueId) criteria.andCondition("issue_id = ", issueId)
.andCondition("user_id = ", userId); .andCondition("user_id = ", userId)
.andCondition("end_time is not null ");
return this.assessUserMapper.selectByExample(example); return this.assessUserMapper.selectByExample(example);
} }

Loading…
Cancel
Save