|
@@ -19,6 +19,7 @@
|
|
<result column="create_by_" jdbcType="BIGINT" property="createBy"/>
|
|
<result column="create_by_" jdbcType="BIGINT" property="createBy"/>
|
|
<result column="update_time_" jdbcType="TIMESTAMP" property="updateTime"/>
|
|
<result column="update_time_" jdbcType="TIMESTAMP" property="updateTime"/>
|
|
<result column="update_by_" jdbcType="BIGINT" property="updateBy"/>
|
|
<result column="update_by_" jdbcType="BIGINT" property="updateBy"/>
|
|
|
|
+ <result column="album_type_" jdbcType="BIGINT" property="albumType"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
@@ -39,7 +40,8 @@
|
|
t.album_price_,
|
|
t.album_price_,
|
|
t.payment_type_,
|
|
t.payment_type_,
|
|
t.update_time_,
|
|
t.update_time_,
|
|
- t.update_by_
|
|
|
|
|
|
+ t.update_by_,
|
|
|
|
+ t.album_type_
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectPage" resultType="com.yonge.cooleshow.biz.dal.vo.MusicAlbumVo">
|
|
<select id="selectPage" resultType="com.yonge.cooleshow.biz.dal.vo.MusicAlbumVo">
|
|
@@ -74,10 +76,12 @@
|
|
</foreach>
|
|
</foreach>
|
|
</if>
|
|
</if>
|
|
<if test="query.subjectIdList != null and query.subjectIdList.size() != 0">
|
|
<if test="query.subjectIdList != null and query.subjectIdList.size() != 0">
|
|
- and
|
|
|
|
|
|
+ and (
|
|
<foreach collection="query.subjectIdList" open="(" close=")" separator="or" item="item">
|
|
<foreach collection="query.subjectIdList" open="(" close=")" separator="or" item="item">
|
|
find_in_set(#{item},t.subject_id_)
|
|
find_in_set(#{item},t.subject_id_)
|
|
</foreach>
|
|
</foreach>
|
|
|
|
+ or t.subject_id_ is null or t.subject_id_ = ''
|
|
|
|
+ )
|
|
</if>
|
|
</if>
|
|
<if test="query.albumStatus != null">
|
|
<if test="query.albumStatus != null">
|
|
and t.album_status_ = #{query.albumStatus}
|
|
and t.album_status_ = #{query.albumStatus}
|
|
@@ -151,10 +155,12 @@
|
|
</foreach>
|
|
</foreach>
|
|
</if>
|
|
</if>
|
|
<if test="query.subjectIdList != null and query.subjectIdList.size() != 0">
|
|
<if test="query.subjectIdList != null and query.subjectIdList.size() != 0">
|
|
- and
|
|
|
|
|
|
+ and (
|
|
<foreach collection="query.subjectIdList" open="(" close=")" separator="or" item="item">
|
|
<foreach collection="query.subjectIdList" open="(" close=")" separator="or" item="item">
|
|
find_in_set(#{item},t.subject_id_)
|
|
find_in_set(#{item},t.subject_id_)
|
|
</foreach>
|
|
</foreach>
|
|
|
|
+ or t.subject_id_ is null or t.subject_id_ = ''
|
|
|
|
+ )
|
|
</if>
|
|
</if>
|
|
<if test="query.auditVersion != null">
|
|
<if test="query.auditVersion != null">
|
|
and t.audit_version_ = #{query.auditVersion}
|
|
and t.audit_version_ = #{query.auditVersion}
|
|
@@ -255,10 +261,12 @@
|
|
</foreach>
|
|
</foreach>
|
|
</if>
|
|
</if>
|
|
<if test="query.subjectIdList != null and query.subjectIdList.size() != 0">
|
|
<if test="query.subjectIdList != null and query.subjectIdList.size() != 0">
|
|
- and
|
|
|
|
|
|
+ and (
|
|
<foreach collection="query.subjectIdList" open="(" close=")" separator="or" item="item">
|
|
<foreach collection="query.subjectIdList" open="(" close=")" separator="or" item="item">
|
|
find_in_set(#{item},t.subject_id_)
|
|
find_in_set(#{item},t.subject_id_)
|
|
</foreach>
|
|
</foreach>
|
|
|
|
+ or t.subject_id_ is null or t.subject_id_ = ''
|
|
|
|
+ )
|
|
</if>
|
|
</if>
|
|
<if test="query.albumStatus != null">
|
|
<if test="query.albumStatus != null">
|
|
and t.album_status_ = #{query.albumStatus}
|
|
and t.album_status_ = #{query.albumStatus}
|