23 lines
772 B
XML
23 lines
772 B
XML
<?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="cn.iocoder.mall.order.biz.dao.OrderCancelMapper">
|
|
|
|
<sql id="FIELDS">
|
|
id, order_id, order_no, reason, other_reason,
|
|
create_time, update_time
|
|
</sql>
|
|
|
|
<!--
|
|
插入数据
|
|
-->
|
|
<insert id="insert" parameterType="OrderCancelDO" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
|
|
INSERT INTO `order_cancel` (
|
|
order_id, order_no, reason, other_reason,
|
|
create_time, update_time
|
|
) VALUES (
|
|
#{orderId}, #{orderNo}, #{reason}, #{otherReason},
|
|
#{createTime}, #{updateTime}
|
|
)
|
|
</insert>
|
|
</mapper>
|