浏览代码

修改家长预约接口

liu 2 年之前
父节点
当前提交
2e6603cf73
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/template/SmartVisitorMapper.xml

+ 1 - 1
src/main/resources/mapper/template/SmartVisitorMapper.xml

@@ -54,7 +54,7 @@
     <select id="queryVisitorCount" resultType="java.lang.Integer">
         select Count(*) from smart_visitor
         where 1=1
-        <if test="cardNo != null and cardNo != ''">
+        <if test="userId != null and userId != ''">
             and user_id = #{userId}
         </if>
         <if test="startTime != null and startTime != '' and endTime != null and endTime != ''">