|
|
|
@ -19,6 +19,10 @@ |
|
|
|
#{item} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
<if test=" createTimeStart !=null "> and res.ctime > #{createTimeStart} </if> |
|
|
|
<if test=" createTimeEnd !=null "> and res.ctime < #{createTimeEnd} </if> |
|
|
|
<if test=" onlineTimeStart !=null "> and res.online_time > #{onlineTimeStart} </if> |
|
|
|
<if test=" onlineTimeEnd !=null "> and res.online_time < #{onlineTimeEnd} </if> |
|
|
|
<include refid="where"/> |
|
|
|
<if test="( productId != null and productId !='') or ( menuId != null and menuId !='')"> |
|
|
|
and exists ( select 1 from XM.xm_iteration_menu im where im.iteration_id=res.id |
|
|
|
|