Helius
2020-12-17 df1b14344ba81cab80ddd118a12289d95f69e4a3
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>