清单高级查询
This commit is contained in:
+6
-1
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user