Преглед на файлове

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

zouxuan преди 1 година
родител
ревизия
03a3a15b5c
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      cooleshow-user/user-biz/src/main/resources/config/mybatis/SubjectMapper.xml

+ 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