Sfoglia il codice sorgente

[系统发卡][修改][添加字段SQL]

release_toaliyun_real
gongbiao 6 anni fa
parent
commit
ed9a68f312
2 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. +2
    -0
      mallinkAdmin/src/main/resources/db/migration/V201909170450__G_COUPON_PRESENT_CHANGED.sql
  2. +2
    -1
      mallinkService/src/main/resources/mapper/WxCouponPresentMapper.xml

+ 2
- 0
mallinkAdmin/src/main/resources/db/migration/V201909170450__G_COUPON_PRESENT_CHANGED.sql Vedi File

@@ -0,0 +1,2 @@
alter table wx_coupon_present
add column send_amount int(11) default 0 not null comment '发送数量';

+ 2
- 1
mallinkService/src/main/resources/mapper/WxCouponPresentMapper.xml Vedi File

@@ -9,10 +9,11 @@
<result column="coupon_name" jdbcType="VARCHAR" property="couponName"/>
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
<result column="send_amount" jdbcType="INTEGER" property="sendAmount"/>
</resultMap>
<sql id="allColumns">
`id`,`tenant_id`,`coupon_id`,`coupon_name`,`user_id`,`create_time`,`update_time`
`id`,`tenant_id`,`coupon_id`,`coupon_name`,`user_id`,`create_time`,`update_time`,`send_amount`
</sql>
<sql id="dynamicWhereConditions">


Caricamento…
Annulla
Salva