Browse Source

Merge remote-tracking branch 'origin/dev_bugfix_ljj' into develop

dev
zxc 4 years ago
parent
commit
0b4c38bd2d
  1. 1
      epmet-module/gov-issue/gov-issue-server/src/main/java/com/epmet/service/impl/IssueVoteDetailServiceImpl.java

1
epmet-module/gov-issue/gov-issue-server/src/main/java/com/epmet/service/impl/IssueVoteDetailServiceImpl.java

@ -253,6 +253,7 @@ public class IssueVoteDetailServiceImpl extends BaseServiceImpl<IssueVoteDetailD
@Override
public void updateVote(SelectIssueVotingDetailFormDTO formDTO) {
VoteRedisFormDTO voteRedisFormDTO = this.selectIssueVotingDetail(formDTO);
issueVoteDetailRedis.set(voteRedisFormDTO);
IssueVoteStatisticalDTO dto = ConvertUtils.sourceToTarget(voteRedisFormDTO, IssueVoteStatisticalDTO.class);
dto.setVotableCount(voteRedisFormDTO.getShouldVoteCount());
dto.setSupportCount(voteRedisFormDTO.getSupportAmount());

Loading…
Cancel
Save