Преглед изворни кода

酷乐秀曲目来源改为内容平台

zouxuan пре 1 година
родитељ
комит
03a3a15b5c

+ 2 - 2
cooleshow-user/user-biz/src/main/resources/config/mybatis/SubjectMapper.xml

@@ -242,7 +242,7 @@
         LEFT JOIN instrument i on t.id_ = i.subject_id_
         <where>
             <if test="parentSubjectId != null">
-                AND t.parent_subject_id_ == #{parentSubjectId}
+                AND t.parent_subject_id_ = #{parentSubjectId}
             </if>
             <if test="parentSubjectId == null">
                 AND t.parent_subject_id_ != 0
@@ -296,7 +296,7 @@
         LEFT JOIN instrument i on t.id_ = i.subject_id_
         <where>
             <if test="parentSubjectId != null">
-                AND t.parent_subject_id_ == #{parentSubjectId}
+                AND t.parent_subject_id_ = #{parentSubjectId}
             </if>
             <if test="parentSubjectId == null">
                 AND t.parent_subject_id_ != 0