jiaqingjiayi-houduan/project/jiaqingjiayi/target/classes/mapper/CartMapper.xml

28 lines
1.4 KiB
XML
Raw Normal View History

2025-02-25 06:47:45 +00:00
<?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.cj.jiaqingjiayi.mapper.CartMapper">
<resultMap id="BaseResultMap" type="com.cj.jiaqingjiayi.model.domain.Cart">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="userId" column="userId" jdbcType="BIGINT"/>
<result property="businessId" column="businessId" jdbcType="BIGINT"/>
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/>
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/>
<result property="commoditiesId" column="commoditiesId" jdbcType="BIGINT"/>
<result property="quantity" column="quantity" jdbcType="INTEGER"/>
<result property="price" column="price" jdbcType="DECIMAL"/>
<result property="subtotal" column="subtotal" jdbcType="DECIMAL"/>
<result property="selectedOptions" column="selectedOptions" jdbcType="VARCHAR"/>
<result property="isDelete" column="isDelete" jdbcType="TINYINT"/>
</resultMap>
<sql id="Base_Column_List">
id,userId,businessId,
createTime,updateTime,commoditiesId,
quantity,price,subtotal,
selectedOptions,isDelete
</sql>
</mapper>