mirror of https://gitee.com/stylefeng/roses
【7.3.4】【file】更新文件下载次数接口
parent
de80801672
commit
2b0d26d861
|
@ -129,9 +129,9 @@ public class SysFileBusinessServiceImpl extends ServiceImpl<SysFileBusinessMappe
|
||||||
|
|
||||||
if (sysFileBusiness != null) {
|
if (sysFileBusiness != null) {
|
||||||
sysFileBusiness.setDownloadCount(sysFileBusiness.getDownloadCount() + 1);
|
sysFileBusiness.setDownloadCount(sysFileBusiness.getDownloadCount() + 1);
|
||||||
|
this.updateById(sysFileBusiness);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.updateById(sysFileBusiness);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue