|
@@ -241,6 +241,7 @@
|
|
|
FROM subject t
|
|
|
LEFT JOIN instrument i on t.id_ = i.subject_id_
|
|
|
<where>
|
|
|
+ t.parent_subject_id_ != 0
|
|
|
<if test="param.delFlag != null">
|
|
|
AND t.del_flag_ = #{param.delFlag}
|
|
|
</if>
|
|
@@ -271,7 +272,7 @@
|
|
|
t.id_ as id
|
|
|
, t.name_ as name
|
|
|
, t.code_ as code
|
|
|
- , t.parent_subject_id_ as parentId
|
|
|
+ , t.parent_subject_id_ as parentSubjectId
|
|
|
, t.img_ as img
|
|
|
, t.del_flag_ as delFlag
|
|
|
, t.update_time_ as updateTime
|
|
@@ -281,7 +282,6 @@
|
|
|
,t.enable_flag_ as enableFlag
|
|
|
,t.logo_ as logo
|
|
|
,t.media_ as media
|
|
|
- ,t.operator_ as operator
|
|
|
,t.cbs_subject_id_ as cbsSubjectId
|
|
|
</sql>
|
|
|
<select id="findPage" resultType="com.yonge.cooleshow.biz.dal.wrapper.SubjectWrapper$Subject">
|
|
@@ -290,6 +290,7 @@
|
|
|
FROM subject t
|
|
|
LEFT JOIN instrument i on t.id_ = i.subject_id_
|
|
|
<where>
|
|
|
+ t.parent_subject_id_ != 0
|
|
|
<if test="param.delFlag != null">
|
|
|
AND t.del_flag_ = #{param.delFlag}
|
|
|
</if>
|