Browse Source

[合同][修改][开发账单结算]

release_toaliyun_real
luozukai 6 years ago
parent
commit
6a0f351816
2 changed files with 21 additions and 1 deletions
  1. +21
    -0
      mallinkAdmin/src/main/resources/db/migration/V201908301605__L_CONTRACT.sql
  2. +0
    -1
      mallinkService/src/main/resources/mapper/WxBillAllMapper.xml

+ 21
- 0
mallinkAdmin/src/main/resources/db/migration/V201908301605__L_CONTRACT.sql View File

@@ -0,0 +1,21 @@
alter table wx_bill_rent
add column `freeze` SMALLINT (1) NULL DEFAULT 0 COMMENT '0正常1冻结';

alter table wx_bill_rent_deposit
add column `freeze` SMALLINT (1) NULL DEFAULT 0 COMMENT '0正常1冻结';

alter table wx_bill_property
add column `freeze` SMALLINT (1) NULL DEFAULT 0 COMMENT '0正常1冻结';

alter table wx_bill_property_deposit
add column `freeze` SMALLINT (1) NULL DEFAULT 0 COMMENT '0正常1冻结';

alter table wx_bill_daily
add column `freeze` SMALLINT (1) NULL DEFAULT 0 COMMENT '0正常1冻结';

alter table wx_bill_other
add column `freeze` SMALLINT (1) NULL DEFAULT 0 COMMENT '0正常1冻结';

alter table wx_bill_other_deposit
add column `freeze` SMALLINT (1) NULL DEFAULT 0 COMMENT '0正常1冻结';


+ 0
- 1
mallinkService/src/main/resources/mapper/WxBillAllMapper.xml View File

@@ -741,7 +741,6 @@
<if test=" null != merchantName"> and m.name like concat('%', #{merchantName},'%') </if> <if test=" null != merchantName"> and m.name like concat('%', #{merchantName},'%') </if>
<if test=" null != rentShopType"> and rc.rent_shop_type = #{rentShopType} </if> <if test=" null != rentShopType"> and rc.rent_shop_type = #{rentShopType} </if>



<if test=" null != sortColumns"> order by ${sortColumns} </if> <if test=" null != sortColumns"> order by ${sortColumns} </if>
<if test=" null == sortColumns"> order by m.id desc </if> <if test=" null == sortColumns"> order by m.id desc </if>
</select> </select>


Loading…
Cancel
Save