Quellcode durchsuchen

知识产权列表BUG修复

anderx vor 7 Jahren
Ursprung
Commit
7aab10cbaf

+ 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">