|
|
@@ -26,7 +26,8 @@
|
|
|
<result column="create_user_name_" property="createUserName" />
|
|
|
<result column="is_open_metronome_" property="isOpenMetronome" />
|
|
|
<result column="del_flag_" property="delFlag" />
|
|
|
- <result column="show_flag_" property="clientShowFlag" />
|
|
|
+ <result column="client_show_flag_" property="clientShowFlag" />
|
|
|
+ <result column="show_flag_" property="showFlag" />
|
|
|
<result column="order_" property="order" />
|
|
|
<result column="rank_ids_" property="rankIds" />
|
|
|
<result column="render_from_" property="renderFrom" />
|
|
|
@@ -232,7 +233,7 @@
|
|
|
score_type_,is_convertible_score_,is_all_subject_)
|
|
|
values
|
|
|
<foreach collection="vos" item="item" separator=",">
|
|
|
- (#{item.musicSheetCategoryId},
|
|
|
+ (#{item.musicSheetUpdate.musicCategoryId},
|
|
|
'SMART_PRACTICE','COMMON',
|
|
|
CASE WHEN #{item.paymentType} = 'FREE' THEN NULL ELSE '1' END,
|
|
|
#{item.sortNo},
|
|
|
@@ -268,9 +269,12 @@
|
|
|
</if>
|
|
|
<if test="showFlag != null">
|
|
|
AND ses.show_flag_ = #{showFlag}
|
|
|
- <if test="showFlag == true">
|
|
|
- AND ses.client_show_flag_ = #{showFlag}
|
|
|
- </if>
|
|
|
+ </if>
|
|
|
+ <if test="clientShowFlag != null">
|
|
|
+ AND ses.client_show_flag_ = #{clientShowFlag}
|
|
|
+ </if>
|
|
|
+ <if test="clientFlag != null and clientFlag == true">
|
|
|
+ AND ses.client_show_flag_ = true AND ses.show_flag_ = true
|
|
|
</if>
|
|
|
<if test="isConvertibleScore != null">
|
|
|
AND ses.is_convertible_score_ = #{isConvertibleScore}
|