| | |
| | | <if test="nursingCheckIn.images != null and nursingCheckIn.images != ''">and images = #{nursingCheckIn.images}</if> |
| | | <if test="nursingCheckIn.placeId != null ">and place_id = #{nursingCheckIn.placeId}</if> |
| | | <if test="nursingCheckIn.type != null and nursingCheckIn.type != ''">and type = #{nursingCheckIn.type}</if> |
| | | <if test="nursingCheckIn.startTime != null and nursingCheckIn.startTime != '' and nursingCheckIn.endTime != null and nursingCheckIn.endTime != '' "> |
| | | AND create_time BETWEEN #{nursingCheckIn.startTime} and #{nursingCheckIn.endTime} |
| | | </if> |
| | | </where> |
| | | order by id desc |
| | | </select> |