| | |
| | | <if test="(record.telphone!=null and record.telphone!='') or (record.telphone!='' and record.telphone==0) "> |
| | | and telphone = #{record.telphone} |
| | | </if> |
| | | <if test="record.beginTime != null and record.endTime!=null"> |
| | | and (date(check_time) between #{record.beginTime} and #{record.endTime}) |
| | | </if> |
| | | </if> |
| | | </where> |
| | | <if test="pageVo !=null"><!-- 判断pageVo对象是否为空 --> |
| | |
| | | <if test="(record.telphone!=null and record.telphone!='') or (record.telphone!='' and record.telphone==0) "> |
| | | and telphone = #{record.telphone} |
| | | </if> |
| | | <if test="record.beginTime != null and record.endTime!=null"> |
| | | and (date(check_time) between #{record.beginTime} and #{record.endTime}) |
| | | </if> |
| | | </if> |
| | | </where> |
| | | </select> |