|
|
@ -9,7 +9,7 @@
|
|
|
|
<result column="name" property="name" />
|
|
|
|
<result column="name" property="name" />
|
|
|
|
<result column="category_id" property="categoryId" />
|
|
|
|
<result column="category_id" property="categoryId" />
|
|
|
|
<result column="brand_id" property="brandId" />
|
|
|
|
<result column="brand_id" property="brandId" />
|
|
|
|
<result column="gallery" property="gallery" />
|
|
|
|
<result column="gallery" property="gallery" typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
|
|
|
|
<result column="keywords" property="keywords" />
|
|
|
|
<result column="keywords" property="keywords" />
|
|
|
|
<result column="brief" property="brief" />
|
|
|
|
<result column="brief" property="brief" />
|
|
|
|
<result column="is_on_sale" property="isOnSale" />
|
|
|
|
<result column="is_on_sale" property="isOnSale" />
|
|
|
@ -44,6 +44,7 @@
|
|
|
|
<if test="goods.endTime != null and goods.endTime != ''">
|
|
|
|
<if test="goods.endTime != null and goods.endTime != ''">
|
|
|
|
and DATE_FORMAT(create_time,'%Y-%m-%d') <![CDATA[ <= ]]> DATE_FORMAT(#{goods.endTime},'%Y-%m-%d')
|
|
|
|
and DATE_FORMAT(create_time,'%Y-%m-%d') <![CDATA[ <= ]]> DATE_FORMAT(#{goods.endTime},'%Y-%m-%d')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
order by create_time desc
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|
|
|
|