|
@@ -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
|