瀏覽代碼

[webPV][新增]:PV 计数

release_toaliyun_real
Stormeye.Wu 7 年之前
父節點
當前提交
54f1e76250
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      mallinkService/src/main/java/com/simple/service/impl/WxAdminLogServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/simple/service/impl/WxAdminLogServiceImpl.java 查看文件

@@ -56,7 +56,7 @@ public class WxAdminLogServiceImpl implements WxAdminLogService {
if (logList.size() > 0) {
WxAdminLog log = logList.get(0);
log.setCount(log.getCount() + 1);
wxAdminLogMapper.updateByPrimaryKeySelective(record);
wxAdminLogMapper.updateByPrimaryKeySelective(log);
} else {
final IdWorker idWorker = IdWorker.get();
reqQ.setId(idWorker.nextId());


Loading…
取消
儲存