|
|
@ -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()); |
|
|
|