luojun преди 1 година
родител
ревизия
220f1259b4
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      soc-modules/soc-modules-core/src/main/resources/mapper/safetybook/CoreSafetyBookMapper.xml

+ 3 - 0
soc-modules/soc-modules-core/src/main/resources/mapper/safetybook/CoreSafetyBookMapper.xml

@@ -78,6 +78,9 @@
         <if test="info.year != null">
             and b.year=#{info.year}
         </if>
+        <if test="info.type != null">
+            and b.type=#{info.type}
+        </if>
         <if test="info.checkSub ==true">
             and o.path like concat(#{info.selectOrgPath},'%')
         </if>