lyhzzz 2 years ago
parent
commit
c180429f95
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/resources/mapper/manage/SceneProMapper.xml

+ 2 - 2
src/main/resources/mapper/manage/SceneProMapper.xml

@@ -73,10 +73,10 @@
         <if test="param.companyId !=null ">
             and co.id = #{param.companyId}
         </if>
-        <if test="param.userId !=null and param.authNumList.size<=0 ">
+        <if test="param.userId !=null and param.authNumList.size&lt;= 0 ">
             and u.id = #{param.userId}
         </if>
-        <if test="param.userId !=null and param.authNumList.size >0 ">
+        <if test="param.userId !=null and param.authNumList.size&gt;0 ">
             and ( u.id = #{param.userId}
                 or s.num in
                 <foreach item="num" collection="param.authNumList" open="(" separator="," close=")">