he2802 преди 1 година
родител
ревизия
e505d8f9ff
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      zhongzheng-system/src/main/resources/mapper/modules/user/UserStudyRecordMapper.xml

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/user/UserStudyRecordMapper.xml

@@ -786,6 +786,9 @@
         <if test="educationTypeId != null and educationTypeId != ''">
             AND g.education_type_id = #{educationTypeId}
         </if>
+        <if test="majorId != null and majorId != ''">
+            AND g.major_id = #{majorId}
+        </if>
         <if test="goodsName != null and goodsName != '' ">
             and g.goods_name like concat('%', #{goodsName}, '%')
         </if>