Commit d04022d0 by wnb0128

车家智能数据服务开发 产品图片获取--think.wang

1 parent 7b854e94
......@@ -20,6 +20,11 @@
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
<result column="update_by" jdbcType="BIGINT" property="updateBy"/>
</resultMap>
<resultMap id="DetailResultMap" type="com.glsx.smart.dao.entity.SmartProduct" extends="BaseResultMap">
<collection property="iconUrl" column="icon" ofType="com.glsx.smart.dao.entity.SmartProduct" fetchType="eager"
select="com.glsx.smart.dao.mapper.SmartSysFileMapper.selectUrlById">
</collection>
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
id, product_name, icon, type_id, shop_product_id, platform_key, platform_product_id,
......@@ -43,7 +48,7 @@
order by sp.create_time desc
</select>
<select id="getByCondition" parameterType="com.glsx.smart.dao.entity.SmartProduct" resultMap="BaseResultMap">
<select id="getByCondition" parameterType="com.glsx.smart.dao.entity.SmartProduct" resultMap="DetailResultMap">
select <include refid="Base_Column_List" /> from smart_product
<where>
<if test="platformProductId != null and platformProductId != ''" >
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!