fix:企业端分标委

This commit is contained in:
zhangqinlin
2021-12-24 11:44:11 +08:00
parent 90b6450891
commit 6f232bdb1b
3 changed files with 4 additions and 7 deletions
@@ -193,8 +193,8 @@ public class CommonController {
} else {
ossFile.setDownloadNumber(downloadNumber + 1);
}
ossFileService.updateAndPush(ossFile);
ossFileService.saveDownloadTimes(ossFile.getId(), null);
ossFileService.updateAndPush(ossFile);
} else if ("view".equals(type)) {
Integer viewNumber = ossFile.getViewNumber();
if (viewNumber == null) {