|
@@ -68,7 +68,7 @@
|
|
|
limit 1
|
|
limit 1
|
|
|
</select>
|
|
</select>
|
|
|
<select id="getBySysPage" resultType="com.kxs.system.api.vo.admin.camp.SysCampPageVO">
|
|
<select id="getBySysPage" resultType="com.kxs.system.api.vo.admin.camp.SysCampPageVO">
|
|
|
- select a.*, count(b.id) as group_count from kxs_camp a
|
|
|
|
|
|
|
+ select a.*, count(b.group_id) as group_count from kxs_camp a
|
|
|
left join kxs_camp_group b on a.id = b.camp_id
|
|
left join kxs_camp_group b on a.id = b.camp_id
|
|
|
<where>
|
|
<where>
|
|
|
and a.del_flag = 0
|
|
and a.del_flag = 0
|