| | |
| | | <if test="unitId !=null and unitId != ''"> |
| | | and t.unit_id= #{unitId} |
| | | </if> |
| | | <if test="unitIds !=null"> |
| | | and t.unit_id in |
| | | <foreach collection="unitIds" item="item" open="(" close=")" separator=","> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | <if test="unitNum !=null and unitNum != ''"> |
| | | and t.unit_num= #{unitNum} |
| | | </if> |
| | |
| | | <if test="userId !=null and userId != ''"> |
| | | and t.user_id= #{userId} |
| | | </if> |
| | | order by ff.seq,t.unit_id asc |
| | | order by ff.seq,ff.floor_num,t.unit_num asc |
| | | <!-- <if test="page != -1 and page != null "> |
| | | limit #{page}, #{row} |
| | | </if>limit 10;--> |