Browse Source

每小时将议题表决数字从缓存同步到db逻辑任务加上事务

master
wangchao 5 years ago
parent
commit
afbc9e0a9d
  1. 1
      epmet-module/gov-issue/gov-issue-server/src/main/java/com/epmet/service/impl/IssueVoteStatisticalServiceImpl.java

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

@ -256,6 +256,7 @@ public class IssueVoteStatisticalServiceImpl extends BaseServiceImpl<IssueVoteSt
* @date 2020.05.21 09:07
**/
@Override
@Transactional(rollbackFor = Exception.class)
public void syncVotingCacheToDb() {
IssueDTO issueParam = new IssueDTO();
issueParam.setIssueStatus(ModuleConstants.ISSUE_STATUS_VOTING);

Loading…
Cancel
Save