| | |
| | | <if test="wayType !=null and wayType != ''"> |
| | | and t.way_type= #{wayType} |
| | | </if> |
| | | <if test="wayTypes !=null "> |
| | | and t.way_type in |
| | | <foreach collection="wayTypes" item="item" open="(" close=")" separator=","> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | <if test="wayObjId !=null and wayObjId != ''"> |
| | | and t.way_obj_id= #{wayObjId} |
| | | </if> |
| | |
| | | <if test="ruleId !=null and ruleId != ''"> |
| | | and t.rule_id= #{ruleId} |
| | | </if> |
| | | <if test="ruleIds !=null "> |
| | | and t.rule_id in |
| | | <foreach collection="ruleIds" item="item" open="(" close=")" separator=","> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | |
| | | order by t.create_time desc |
| | | <if test="page != -1 and page != null "> |
| | | limit #{page}, #{row} |
| | |
| | | <if test="wayType !=null and wayType != ''"> |
| | | and t.way_type= #{wayType} |
| | | </if> |
| | | <if test="wayTypes !=null "> |
| | | and t.way_type in |
| | | <foreach collection="wayTypes" item="item" open="(" close=")" separator=","> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | <if test="wayObjId !=null and wayObjId != ''"> |
| | | and t.way_obj_id= #{wayObjId} |
| | | </if> |
| | |
| | | <if test="ruleId !=null and ruleId != ''"> |
| | | and t.rule_id= #{ruleId} |
| | | </if> |
| | | <if test="ruleIds !=null "> |
| | | and t.rule_id in |
| | | <foreach collection="ruleIds" item="item" open="(" close=")" separator=","> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | |
| | | |
| | | </select> |