Commit 58c17ebff70c2976b75fbf6bc522bd244b7965f8
1 parent
f9f3177a
feat return id
Showing
1 changed file
with
5 additions
and
2 deletions
cashier-mall/src/main/resources/com/diligrp/cashier/dao/mapper/MallBizRefundDao.xml
| ... | ... | @@ -64,8 +64,11 @@ |
| 64 | 64 | #{version,jdbcType=INTEGER}, #{createrName,jdbcType=VARCHAR}, #{createdTime,jdbcType=TIMESTAMP}, |
| 65 | 65 | #{refuseReason,jdbcType=VARCHAR}) |
| 66 | 66 | </insert> |
| 67 | - <insert id="insertSelective" parameterType="com.diligrp.cashier.mall.model.MallBizRefund" | |
| 68 | - useGeneratedKeys="true" keyColumn="id"> | |
| 67 | + <insert id="insertSelective" | |
| 68 | + parameterType="com.diligrp.cashier.mall.model.MallBizRefund" | |
| 69 | + useGeneratedKeys="true" | |
| 70 | + keyColumn="id" | |
| 71 | + keyProperty="id"> | |
| 69 | 72 | insert into mall_biz_refund |
| 70 | 73 | <trim prefix="(" suffix=")" suffixOverrides=","> |
| 71 | 74 | <if test="id != null"> | ... | ... |