|
@@ -123,36 +123,5 @@
|
|
|
<select id="getProductInfo" resultType="java.lang.String">
|
|
|
select detailinfo from productdetailinfo where detailinfo like '%img-b.caimei365.com%'
|
|
|
</select>
|
|
|
- <select id="getBaikeProductDetail" resultType="com.caimei.www.pojo.baike.BaikeProduct">
|
|
|
- select a.id AS "id",
|
|
|
- a.commodityType AS "commodityType",
|
|
|
- a.name AS "name",
|
|
|
- a.alias AS "alias",
|
|
|
- a.discription AS "discription",
|
|
|
- a.image AS "image",
|
|
|
- a.advantage AS "advantage",
|
|
|
- a.disadvantage AS "disadvantage",
|
|
|
- a.principle AS "principle",
|
|
|
- a.brand AS "brand",
|
|
|
- a.producePlace AS "producePlace",
|
|
|
- a.marketTime AS "marketTime",
|
|
|
- a.company AS "company",
|
|
|
- a.nmpaTime AS "nmpaTime",
|
|
|
- a.adaptiveMan AS "adaptiveMan",
|
|
|
- a.unAdaptiveMan AS "unAdaptiveMan",
|
|
|
- a.aroundOperation AS "aroundOperation",
|
|
|
- a.publishTime AS "publishTime",
|
|
|
- a.basePv AS "basePv",
|
|
|
- a.actualPv AS "actualPv",
|
|
|
- a.typeId AS "typeId",
|
|
|
- a.topPosition AS "topPosition",
|
|
|
- a.status AS "status",
|
|
|
- a.addTime AS "addTime",
|
|
|
- cbt.name as "typeName"
|
|
|
- from cm_baike_product a
|
|
|
- left join cm_baike_type cbt on a.typeId = cbt.id
|
|
|
- where id = #{productId};
|
|
|
-
|
|
|
- </select>
|
|
|
|
|
|
</mapper>
|