| | |
| | | <if test="req.uid != null and req.uid!=''"> |
| | | and t1.id = #{req.uid} |
| | | </if> |
| | | <if test="null != req.siteIds and req.siteIds.size()>0" > |
| | | and t1.site_id in |
| | | <foreach collection="req.siteIds" item="item" index="index" separator="," open="(" close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | and t1.billType = 1 |
| | | and t1.del_flag = 0 |
| | | order by t1.create_time desc |
| | |
| | | <if test="req.uid != null and req.uid!=''"> |
| | | and t1.id = #{req.uid} |
| | | </if> |
| | | <if test="null != req.siteIds and req.siteIds.size()>0" > |
| | | and t1.site_id in |
| | | <foreach collection="req.siteIds" item="item" index="index" separator="," open="(" close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | and t1.billType = 2 |
| | | and t1.del_flag = 0 |
| | | </select> |