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>