Bläddra i källkod

知识产权列表BUG修复

anderx 7 år sedan
förälder
incheckning
7aab10cbaf
1 ändrade filer med 10 tillägg och 1 borttagningar
  1. 10 1
      src/main/java/com/goafanti/common/mapper/JtBusinessProjectMapper.xml

+ 10 - 1
src/main/java/com/goafanti/common/mapper/JtBusinessProjectMapper.xml

@@ -643,6 +643,9 @@
   <if test="module == 0">
   and jtbc1.module !=1
   </if>
+  <if test="module == 1">
+  and jtbc1.module =1
+  </if>
   <if test="module !=null and module !=1">
   and jtbc1.module=#{module,jdbcType=INTEGER}
   </if>
@@ -695,7 +698,13 @@
   <if test="tag != null">
   and y.id= #{tag,jdbcType=VARCHAR}
   </if> 
-  <if test="module !=null">
+ <if test="module == 0">
+  and jtbc1.module !=1
+  </if>
+  <if test="module == 1">
+  and jtbc1.module =1
+  </if>
+  <if test="module !=null and module !=1">
   and jtbc1.module=#{module,jdbcType=INTEGER}
   </if>
 	  <if test="secondId!=null">