|
|
@@ -343,6 +343,9 @@
|
|
|
<if test="status != null">
|
|
|
status = #{status,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="varietiesLogo != null">
|
|
|
+ varieties_logo = #{varietiesLogo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
@@ -361,8 +364,8 @@
|
|
|
cname = #{cname,jdbcType=VARCHAR},
|
|
|
super_id = #{superId,jdbcType=VARCHAR},
|
|
|
layer = #{layer,jdbcType=INTEGER},
|
|
|
- status = #{status,jdbcType=VARCHAR}
|
|
|
-
|
|
|
+ status = #{status,jdbcType=VARCHAR},
|
|
|
+ varieties_logo = #{varietiesLogo,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
|
|
|
@@ -427,7 +430,7 @@
|
|
|
where b.delete_sign=0 and status=0
|
|
|
</select>
|
|
|
<select id="editVarieties" parameterType="string" resultType="com.goafanti.admin.bo.BusinessVarietiesBo">
|
|
|
- select b.id,b.create_id as createId ,b.create_time as createTime,b.update_time as updateTime,
|
|
|
+ select b.id,b.create_id as createId ,b.create_time as createTime,b.update_time as updateTime,b.varieties_logo as varietiesLogo,
|
|
|
b.delete_sign as deleteSign,b.cid,b.cname,b.super_id superId ,b.layer,b.status,b2.cname superName,a.name as createName
|
|
|
from business_varieties b
|
|
|
left join business_varieties b2 on b.super_id = b2.id
|