Browse Source

优化查询代码配置

dev-opt-homepage
chenzhihang 9 months ago
parent
commit
fc7a4f7c17
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/CodeConfigDaoMapper.xml

+ 1
- 1
ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/CodeConfigDaoMapper.xml View File

@@ -66,7 +66,7 @@
FROM code_config
WHERE create_time > t.create_time
and state = 1
and code_repo_vis = 1) + 1) / #{size}) AS page_num
and code_repo_vis = 1) + 1) / (#{size} + 1)) AS page_num
FROM code_config t
WHERE id = #{id};
</select>


Loading…
Cancel
Save