Helius
2020-12-19 a9bb3348487c4a75c6a74a4d84f3a8afe9858d0c
zq-erp/src/main/resources/mybatis/mapper/hive/SysSkinCheckRecordDao.xml
@@ -294,6 +294,9 @@
            <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对象是否为空 -->
@@ -331,6 +334,9 @@
         <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>