清单高级查询

This commit is contained in:
yuezhihang
2022-04-02 14:02:18 +08:00
parent 8860d789e4
commit bcecefc39a
3 changed files with 8 additions and 3 deletions
@@ -1448,7 +1448,12 @@
select count(1) from (select count(*) from SAR_STANDARDS_INFO
<!-- left join SAR_STAND_ATTR_INFO on (SAR_STAND_ATTR_INFO.stand_id = SAR_STANDARDS_INFO.id and SAR_STAND_ATTR_INFO.valid_flag=0)-->
<include refid="SarStandardsInfo_in_left"/>
<if test="null != list and list.size()>0">
and SAR_STANDARDS_INFO.ID in
<foreach item="id" collection="list" open="(" separator="," close=")" index="index">
#{id}
</foreach>
</if>
GROUP BY SAR_STANDARDS_INFO.id) a
</select>