|
|
@@ -865,7 +865,7 @@
|
|
|
</if>
|
|
|
where a.deleted_sign = 0 and a.owner_type = 1
|
|
|
<if test="techBrokerId != null">
|
|
|
- a.tech_broker_id = #{techBrokerId,jdbcType=VARCHAR}
|
|
|
+ and a.tech_broker_id = #{techBrokerId,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="ownerName != null">
|
|
|
and a.owner_name like CONCAT('%',#{ownerName,jdbcType=VARCHAR},'%')
|
|
|
@@ -903,9 +903,7 @@
|
|
|
<if test="releaseStatus != null">
|
|
|
and a.release_status = #{releaseStatus,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
- <if test="techBrokerId != null">
|
|
|
- and a.tech_broker_id = #{techBrokerId,jdbcType=VARCHAR}
|
|
|
- </if>
|
|
|
+
|
|
|
<if test="boutique != null">
|
|
|
and a.boutique = #{boutique,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
@@ -938,7 +936,7 @@
|
|
|
</if>
|
|
|
where a.deleted_sign = 0 and a.owner_type = 1
|
|
|
<if test="techBrokerId != null">
|
|
|
- a.tech_broker_id = #{techBrokerId,jdbcType=VARCHAR}
|
|
|
+ and a.tech_broker_id = #{techBrokerId,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="ownerName != null">
|
|
|
and a.owner_name like CONCAT('%',#{ownerName,jdbcType=VARCHAR},'%')
|
|
|
@@ -976,9 +974,7 @@
|
|
|
<if test="releaseStatus != null">
|
|
|
and a.release_status = #{releaseStatus,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
- <if test="techBrokerId != null">
|
|
|
- and a.tech_broker_id = #{techBrokerId,jdbcType=VARCHAR}
|
|
|
- </if>
|
|
|
+
|
|
|
<if test="hot != null and hot == 0"><!-- 不在首页 -->
|
|
|
and a.id not in(select mm.product_id from marketing_management mm where mm.effective = 1)
|
|
|
</if>
|
|
|
@@ -1039,6 +1035,7 @@
|
|
|
<if test="releaseStatus != null">
|
|
|
and release_status = #{releaseStatus,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
+
|
|
|
order by serial_number desc
|
|
|
<if test="page_sql!=null">
|
|
|
${page_sql}
|
|
|
@@ -1080,6 +1077,7 @@
|
|
|
<if test="releaseStatus != null">
|
|
|
and release_status = #{releaseStatus,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
+
|
|
|
</select>
|
|
|
|
|
|
<select id="selectUserOwnerDetail" parameterType="java.lang.String" resultType="com.goafanti.achievement.bo.AchievementUserOwnerDetailBo">
|