Helius
2021-07-23 375237a59434d61567161131d85229d45c792366
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.xzx.gc.shop.mapper.ScoreGoodsSearchMapper">
 
    <select id="goodsSearch" resultType="com.xzx.gc.shop.vo.GoodsSearchVo">
        select a.id id,
               a.user_id userId,
               date_format(a.CREATED_TIME,'%Y-%m-%d') createTime,
               a.contents contents
        from xzx_score_goods_search a
        where a.user_id=#{record.userId}
    </select>
 
</mapper>