| | |
| | | <if test="bId !=null and bId != ''"> |
| | | and t.b_id= #{bId} |
| | | </if> |
| | | <if test="visitStartTime !=null and visitStartTime !='' "> |
| | | and t.visit_time >= #{visitStartTime} |
| | | </if> |
| | | <if test="visitEndTime !=null and visitEndTime !='' "> |
| | | and t.visit_time <= #{visitEndTime} |
| | | </if> |
| | | <if test="page != -1 and page != null "> |
| | | limit #{page}, #{row} |
| | | </if> |
| | |
| | | <if test="bId !=null and bId != ''"> |
| | | and t.b_id= #{bId} |
| | | </if> |
| | | <if test="visitStartTime !=null and visitStartTime !='' "> |
| | | and t.visit_time >= #{visitStartTime} |
| | | </if> |
| | | <if test="visitEndTime !=null and visitEndTime !='' "> |
| | | and t.visit_time <= #{visitEndTime} |
| | | </if> |
| | | |
| | | |
| | | </select> |