|
@@ -233,7 +233,7 @@
|
|
score_type_,is_convertible_score_,is_all_subject_)
|
|
score_type_,is_convertible_score_,is_all_subject_)
|
|
values
|
|
values
|
|
<foreach collection="vos" item="item" separator=",">
|
|
<foreach collection="vos" item="item" separator=",">
|
|
- (#{item.musicSheetCategoryId},
|
|
|
|
|
|
+ (#{item.musicSheetUpdate.musicCategoryId},
|
|
'SMART_PRACTICE','COMMON',
|
|
'SMART_PRACTICE','COMMON',
|
|
CASE WHEN #{item.paymentType} = 'FREE' THEN NULL ELSE '1' END,
|
|
CASE WHEN #{item.paymentType} = 'FREE' THEN NULL ELSE '1' END,
|
|
#{item.sortNo},
|
|
#{item.sortNo},
|
|
@@ -269,9 +269,12 @@
|
|
</if>
|
|
</if>
|
|
<if test="showFlag != null">
|
|
<if test="showFlag != null">
|
|
AND ses.show_flag_ = #{showFlag}
|
|
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>
|
|
<if test="isConvertibleScore != null">
|
|
<if test="isConvertibleScore != null">
|
|
AND ses.is_convertible_score_ = #{isConvertibleScore}
|
|
AND ses.is_convertible_score_ = #{isConvertibleScore}
|