端口池管理,新增根据端口池分组过滤

This commit is contained in:
aoshiguchen
2023-03-25 21:17:30 +08:00
parent 3f014418e1
commit 7dba9ac173
4 changed files with 15 additions and 6 deletions
@@ -7,7 +7,12 @@
g.possessor_type,
g.`name` group_name
FROM port_pool p
LEFT JOIN port_group g ON p.group_id = g.id
LEFT JOIN port_group g ON p.group_id = g.id
<where>
<if test="req.groupId != null">
AND p.group_id = #{req.groupId}
</if>
</where>
ORDER BY p.id
</select>