| | |
| | | <if test="name != null and name != ''">and name =#{name}</if> |
| | | <if test="idCard != null and idCard != ''">and id_card = #{idCard}</if> |
| | | <if test="phoe != null and phoe != ''">and phoe = #{phoe}</if> |
| | | <if test="company != null and company != ''">and company like "%"#{company}"%"</if> |
| | | <if test="reservationTime != null ">and reservation_time BETWEEN #{reservationTime} and now()</if> |
| | | <if test="company != null and company != ''">and company like concat('%', #{company}, '%')</if> |
| | | <if test="companyId != null and companyId != ''">and company_id = #{companyId} </if> |
| | | <if test="yykssj != null and yyjssj != null ">and reservation_time BETWEEN #{yykssj} and #{yyjssj} </if> |
| | | <if test="isExpire != null ">and is_expire = #{isExpire}</if> |
| | | and deleted = '0' |
| | | </where> |
| | | ORDER BY create_time desc |
| | | </select> |
| | | |
| | | |
| | |
| | | <where> |
| | | <if test="name != null and name != ''">and name = #{name}</if> |
| | | <if test="phoe != null and phoe != ''">and phoe = #{phoe}</if> |
| | | <if test="company != null and company != ''">and company like "%"#{company}"%"</if> |
| | | <if test="company != null and company != ''">and company like concat('%', #{company}, '%')</if> |
| | | <if test="reservationTime != null ">and reservation_time = #{reservationTime}</if> |
| | | and deleted = '1' |
| | | </where> |