Procházet zdrojové kódy

exists条件修改

wangliang před 4 roky
rodič
revize
5d0dc67b2f

+ 0 - 10
themis-business/src/main/resources/mapper/TEExamReexamMapper.xml

@@ -52,7 +52,6 @@
                 <if test="identity != null and identity !=''">
                     and tees.identity like CONCAT('%', #{identity},'%')
                 </if>
-                and tees.enable = 1
                 and tee.monitor_status <![CDATA[ <> ]]> 'FINISHED'
             </where>
         ) t where t.examCount = 0 and statusCount = 0
@@ -124,9 +123,6 @@
              <if test="applyName != null and applyName !=''">
                  and tbu.name like CONCAT('%', #{applyName},'%')
              </if>
-             and tee.enable = 1
-             and teea.enable = 1
-             and tees.enable = 1
              and teer.status = 1
          </where>
          order by tees.room_code
@@ -156,9 +152,6 @@
             <if test="orgId != null and orgId != ''">
                 and tee.org_id = #{orgId}
             </if>
-            and tee.enable = 1
-            and teea.enable = 1
-            and tees.enable = 1
             and teer.status = 1
         </where>
     </select>
@@ -232,9 +225,6 @@
             <if test="applyName != null and applyName !=''">
                 and tbu.name like CONCAT('%', #{applyName},'%')
             </if>
-            and tee.enable = 1
-            and teea.enable = 1
-            and tees.enable = 1
             and (teer.status = 0 or teer.status = 2)
         </where>
         order by tees.room_code