|
@@ -6,6 +6,7 @@
|
|
|
<result column="web_site" property="webSite" />
|
|
|
<result column="goods_id" property="goodsId" />
|
|
|
<result column="goods_name" property="goodsName" />
|
|
|
+ <result column="goods_name_cn" property="goodsNameCn" />
|
|
|
<result column="spec_values" property="specValues" />
|
|
|
<result column="spec_value_ids" property="specValueIds" />
|
|
|
<result column="brand_id" property="brandId" />
|
|
@@ -48,6 +49,9 @@
|
|
|
<if test="goodsName != null">
|
|
|
`goods_name`,
|
|
|
</if>
|
|
|
+ <if test="goodsNameCn != null">
|
|
|
+ `goods_name_cn`,
|
|
|
+ </if>
|
|
|
<if test="specValues != null">
|
|
|
`spec_values`,
|
|
|
</if>
|
|
@@ -154,6 +158,12 @@
|
|
|
<if test="example.goodsNameLike != null">
|
|
|
AND `goods_name` like concat('%',#{example.goodsNameLike},'%')
|
|
|
</if>
|
|
|
+ <if test="example.goodsNameCn != null">
|
|
|
+ AND `goods_name_cn` = #{example.goodsNameCn}
|
|
|
+ </if>
|
|
|
+ <if test="example.goodsNameCnLike != null">
|
|
|
+ AND `goods_name_cn` like concat('%',#{example.goodsNameCnLike},'%')
|
|
|
+ </if>
|
|
|
<if test="example.specValues != null">
|
|
|
AND `spec_values` = #{example.specValues}
|
|
|
</if>
|
|
@@ -393,6 +403,9 @@
|
|
|
<if test="goodsName != null">
|
|
|
#{goodsName},
|
|
|
</if>
|
|
|
+ <if test="goodsNameCn != null">
|
|
|
+ #{goodsNameCn},
|
|
|
+ </if>
|
|
|
<if test="specValues != null">
|
|
|
#{specValues},
|
|
|
</if>
|
|
@@ -487,6 +500,9 @@
|
|
|
<if test="record.goodsName != null">
|
|
|
`goods_name` = #{record.goodsName},
|
|
|
</if>
|
|
|
+ <if test="record.goodsNameCn != null">
|
|
|
+ `goods_name_cn` = #{record.goodsNameCn},
|
|
|
+ </if>
|
|
|
<if test="record.specValues != null">
|
|
|
`spec_values` = #{record.specValues},
|
|
|
</if>
|
|
@@ -581,6 +597,9 @@
|
|
|
<if test="goodsName != null">
|
|
|
`goods_name` = #{goodsName},
|
|
|
</if>
|
|
|
+ <if test="goodsNameCn != null">
|
|
|
+ `goods_name_cn` = #{goodsNameCn},
|
|
|
+ </if>
|
|
|
<if test="specValues != null">
|
|
|
`spec_values` = #{specValues},
|
|
|
</if>
|