浏览代码

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

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