winter 1 год назад
Родитель
Сommit
02a1692b00
21 измененных файлов: 28 добавлений и 973 удалений
  1. +2
    -1
      mallinkAdmin/src/main/java/com/iformall/controller/market/WxFinanceController.java
  2. +0
    -911
      mallinkAdmin/src/main/resources/db/migration/V202407019.sql
  3. +0
    -1
      mallinkService/src/main/java/com/iformall/domain/dto/WxBillPayDTO.java
  4. +0
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxBillAdvanceServiceImpl.java
  5. +0
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxBillDailyServiceImpl.java
  6. +0
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxBillDepositServiceImpl.java
  7. +0
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxBillOtherDepositServiceImpl.java
  8. +0
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxBillOtherServiceImpl.java
  9. +0
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxBillPropertyDepositServiceImpl.java
  10. +0
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxBillPropertyServiceImpl.java
  11. +0
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxBillRentManageServiceImpl.java
  12. +0
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxBillRentServiceImpl.java
  13. +0
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxFinanceServiceImpl.java
  14. +4
    -7
      mallinkService/src/main/resources/mapper/WxBillDailyMapper.xml
  15. +4
    -7
      mallinkService/src/main/resources/mapper/WxBillDepositMapper.xml
  16. +2
    -5
      mallinkService/src/main/resources/mapper/WxBillOtherDepositMapper.xml
  17. +2
    -5
      mallinkService/src/main/resources/mapper/WxBillOtherMapper.xml
  18. +2
    -5
      mallinkService/src/main/resources/mapper/WxBillPropertyDepositMapper.xml
  19. +4
    -7
      mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml
  20. +4
    -7
      mallinkService/src/main/resources/mapper/WxBillRentManageMapper.xml
  21. +4
    -7
      mallinkService/src/main/resources/mapper/WxBillRentMapper.xml

+ 2
- 1
mallinkAdmin/src/main/java/com/iformall/controller/market/WxFinanceController.java Просмотреть файл

@@ -163,6 +163,7 @@ public class WxFinanceController extends BaseController {
}
record.setType(EnumFinanceReceiveType.ADVANCE.getCode());
wxFinanceService.saveOrUpdateReceive(record,this.getUser());
1111
return new ResultData();
}
@@ -202,7 +203,7 @@ public class WxFinanceController extends BaseController {
return new ResultData(Result.ERROR,"请选择账单和支付方式");
}
List<WxBillBaseEntity> list = wxFinanceService.createReceive(record,this.getUser());
return new ResultData();
return new ResultData(list);
}
@GetMapping("receiveStatus")


+ 0
- 911
mallinkAdmin/src/main/resources/db/migration/V202407019.sql Просмотреть файл

@@ -807,916 +807,5 @@ alter table wx_bill_other_deposit_98 add column set_off varchar(30) COMMENT
alter table wx_bill_other_deposit_99 add column set_off varchar(30) COMMENT '抵扣金额';


alter table wx_bill_rent_0 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_1 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_2 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_3 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_4 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_5 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_6 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_7 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_8 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_9 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_10 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_11 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_12 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_13 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_14 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_15 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_16 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_17 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_18 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_19 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_20 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_21 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_22 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_23 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_24 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_25 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_26 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_27 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_28 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_29 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_30 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_31 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_32 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_33 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_34 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_35 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_36 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_37 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_38 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_39 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_40 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_41 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_42 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_43 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_44 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_45 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_46 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_47 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_48 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_49 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_50 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_51 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_52 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_53 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_54 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_55 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_56 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_57 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_58 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_59 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_60 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_61 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_62 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_63 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_64 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_65 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_66 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_67 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_68 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_69 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_70 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_71 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_72 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_73 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_74 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_75 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_76 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_77 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_78 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_79 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_80 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_81 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_82 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_83 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_84 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_85 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_86 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_87 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_88 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_89 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_90 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_91 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_92 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_93 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_94 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_95 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_96 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_97 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_98 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_99 add column advance_id bigint(2) comment '收款单id';;

alter table wx_bill_rent_manage_0 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_1 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_2 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_3 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_4 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_5 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_6 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_7 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_8 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_9 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_10 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_11 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_12 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_13 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_14 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_15 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_16 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_17 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_18 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_19 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_20 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_21 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_22 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_23 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_24 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_25 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_26 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_27 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_28 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_29 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_30 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_31 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_32 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_33 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_34 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_35 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_36 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_37 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_38 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_39 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_40 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_41 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_42 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_43 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_44 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_45 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_46 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_47 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_48 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_49 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_50 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_51 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_52 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_53 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_54 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_55 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_56 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_57 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_58 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_59 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_60 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_61 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_62 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_63 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_64 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_65 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_66 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_67 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_68 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_69 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_70 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_71 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_72 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_73 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_74 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_75 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_76 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_77 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_78 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_79 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_80 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_81 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_82 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_83 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_84 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_85 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_86 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_87 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_88 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_89 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_90 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_91 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_92 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_93 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_94 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_95 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_96 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_97 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_98 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_manage_99 add column advance_id bigint(2) comment '收款单id';;

alter table wx_bill_rent_deposit_0 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_1 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_2 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_3 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_4 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_5 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_6 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_7 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_8 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_9 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_10 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_11 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_12 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_13 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_14 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_15 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_16 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_17 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_18 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_19 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_20 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_21 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_22 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_23 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_24 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_25 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_26 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_27 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_28 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_29 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_30 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_31 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_32 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_33 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_34 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_35 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_36 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_37 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_38 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_39 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_40 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_41 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_42 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_43 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_44 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_45 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_46 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_47 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_48 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_49 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_50 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_51 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_52 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_53 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_54 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_55 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_56 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_57 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_58 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_59 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_60 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_61 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_62 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_63 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_64 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_65 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_66 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_67 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_68 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_69 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_70 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_71 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_72 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_73 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_74 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_75 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_76 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_77 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_78 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_79 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_80 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_81 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_82 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_83 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_84 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_85 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_86 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_87 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_88 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_89 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_90 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_91 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_92 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_93 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_94 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_95 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_96 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_97 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_98 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_rent_deposit_99 add column advance_id bigint(2) comment '收款单id';;

alter table wx_bill_property_0 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_1 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_2 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_3 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_4 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_5 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_6 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_7 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_8 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_9 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_10 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_11 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_12 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_13 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_14 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_15 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_16 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_17 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_18 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_19 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_20 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_21 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_22 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_23 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_24 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_25 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_26 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_27 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_28 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_29 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_30 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_31 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_32 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_33 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_34 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_35 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_36 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_37 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_38 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_39 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_40 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_41 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_42 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_43 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_44 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_45 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_46 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_47 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_48 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_49 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_50 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_51 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_52 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_53 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_54 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_55 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_56 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_57 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_58 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_59 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_60 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_61 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_62 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_63 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_64 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_65 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_66 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_67 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_68 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_69 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_70 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_71 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_72 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_73 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_74 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_75 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_76 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_77 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_78 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_79 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_80 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_81 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_82 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_83 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_84 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_85 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_86 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_87 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_88 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_89 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_90 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_91 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_92 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_93 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_94 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_95 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_96 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_97 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_98 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_99 add column advance_id bigint(2) comment '收款单id';;

alter table wx_bill_property_deposit_0 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_1 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_2 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_3 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_4 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_5 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_6 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_7 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_8 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_9 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_10 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_11 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_12 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_13 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_14 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_15 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_16 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_17 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_18 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_19 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_20 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_21 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_22 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_23 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_24 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_25 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_26 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_27 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_28 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_29 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_30 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_31 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_32 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_33 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_34 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_35 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_36 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_37 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_38 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_39 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_40 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_41 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_42 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_43 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_44 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_45 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_46 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_47 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_48 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_49 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_50 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_51 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_52 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_53 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_54 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_55 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_56 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_57 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_58 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_59 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_60 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_61 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_62 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_63 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_64 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_65 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_66 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_67 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_68 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_69 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_70 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_71 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_72 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_73 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_74 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_75 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_76 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_77 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_78 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_79 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_80 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_81 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_82 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_83 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_84 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_85 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_86 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_87 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_88 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_89 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_90 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_91 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_92 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_93 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_94 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_95 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_96 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_97 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_98 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_property_deposit_99 add column advance_id bigint(2) comment '收款单id';;

alter table wx_bill_daily_0 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_1 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_2 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_3 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_4 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_5 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_6 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_7 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_8 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_9 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_10 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_11 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_12 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_13 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_14 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_15 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_16 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_17 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_18 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_19 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_20 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_21 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_22 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_23 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_24 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_25 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_26 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_27 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_28 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_29 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_30 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_31 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_32 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_33 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_34 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_35 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_36 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_37 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_38 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_39 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_40 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_41 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_42 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_43 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_44 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_45 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_46 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_47 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_48 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_49 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_50 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_51 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_52 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_53 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_54 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_55 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_56 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_57 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_58 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_59 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_60 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_61 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_62 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_63 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_64 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_65 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_66 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_67 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_68 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_69 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_70 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_71 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_72 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_73 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_74 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_75 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_76 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_77 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_78 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_79 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_80 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_81 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_82 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_83 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_84 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_85 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_86 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_87 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_88 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_89 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_90 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_91 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_92 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_93 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_94 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_95 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_96 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_97 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_98 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_daily_99 add column advance_id bigint(2) comment '收款单id';;

alter table wx_bill_other_0 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_1 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_2 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_3 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_4 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_5 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_6 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_7 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_8 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_9 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_10 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_11 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_12 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_13 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_14 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_15 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_16 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_17 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_18 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_19 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_20 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_21 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_22 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_23 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_24 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_25 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_26 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_27 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_28 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_29 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_30 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_31 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_32 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_33 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_34 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_35 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_36 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_37 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_38 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_39 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_40 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_41 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_42 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_43 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_44 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_45 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_46 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_47 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_48 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_49 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_50 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_51 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_52 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_53 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_54 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_55 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_56 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_57 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_58 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_59 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_60 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_61 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_62 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_63 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_64 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_65 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_66 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_67 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_68 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_69 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_70 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_71 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_72 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_73 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_74 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_75 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_76 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_77 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_78 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_79 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_80 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_81 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_82 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_83 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_84 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_85 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_86 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_87 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_88 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_89 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_90 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_91 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_92 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_93 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_94 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_95 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_96 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_97 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_98 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_99 add column advance_id bigint(2) comment '收款单id';;

alter table wx_bill_other_deposit_0 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_1 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_2 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_3 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_4 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_5 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_6 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_7 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_8 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_9 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_10 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_11 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_12 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_13 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_14 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_15 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_16 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_17 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_18 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_19 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_20 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_21 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_22 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_23 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_24 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_25 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_26 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_27 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_28 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_29 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_30 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_31 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_32 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_33 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_34 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_35 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_36 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_37 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_38 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_39 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_40 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_41 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_42 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_43 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_44 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_45 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_46 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_47 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_48 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_49 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_50 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_51 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_52 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_53 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_54 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_55 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_56 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_57 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_58 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_59 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_60 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_61 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_62 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_63 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_64 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_65 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_66 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_67 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_68 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_69 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_70 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_71 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_72 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_73 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_74 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_75 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_76 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_77 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_78 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_79 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_80 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_81 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_82 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_83 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_84 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_85 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_86 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_87 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_88 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_89 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_90 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_91 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_92 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_93 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_94 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_95 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_96 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_97 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_98 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_other_deposit_99 add column advance_id bigint(2) comment '收款单id';;

alter table wx_bill_advance_0 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_1 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_2 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_3 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_4 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_5 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_6 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_7 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_8 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_9 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_10 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_11 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_12 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_13 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_14 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_15 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_16 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_17 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_18 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_19 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_20 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_21 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_22 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_23 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_24 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_25 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_26 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_27 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_28 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_29 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_30 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_31 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_32 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_33 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_34 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_35 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_36 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_37 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_38 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_39 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_40 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_41 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_42 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_43 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_44 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_45 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_46 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_47 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_48 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_49 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_50 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_51 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_52 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_53 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_54 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_55 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_56 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_57 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_58 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_59 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_60 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_61 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_62 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_63 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_64 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_65 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_66 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_67 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_68 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_69 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_70 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_71 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_72 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_73 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_74 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_75 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_76 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_77 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_78 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_79 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_80 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_81 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_82 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_83 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_84 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_85 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_86 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_87 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_88 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_89 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_90 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_91 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_92 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_93 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_94 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_95 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_96 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_97 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_98 add column advance_id bigint(2) comment '收款单id';;
alter table wx_bill_advance_99 add column advance_id bigint(2) comment '收款单id';;






+ 0
- 1
mallinkService/src/main/java/com/iformall/domain/dto/WxBillPayDTO.java Просмотреть файл

@@ -14,7 +14,6 @@ import lombok.Data;
public class WxBillPayDTO extends TenantEntity{
private Long id;
private Integer billTypeValue;// EnumBillAllType
private Long advanceId;//收款单单号
private String addpay;//支付金额
private String setOff="0";//冲抵金额
private WxBillPayWay payWayObject;//支付方式


+ 0
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxBillAdvanceServiceImpl.java Просмотреть файл

@@ -297,7 +297,6 @@ public class WxBillAdvanceServiceImpl extends WxBillBaseService implements WxBil
wxBillRent.setStatus(EnumBillStatus.PAID.getCode());
dto.setRemark("【系统】账单冲抵金额已大于等于预收金额,自动归结为结清。");
}
wxBillRent.setAdvanceId(dto.getAdvanceId());
wxBillRent.setPayDate(new Date());
wxBillRent.setPayWay(dto.getPayWayObject().getId());
wxBillAdvanceMapper.updateById(wxBillRent);


+ 0
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxBillDailyServiceImpl.java Просмотреть файл

@@ -607,7 +607,6 @@ public class WxBillDailyServiceImpl extends WxBillBaseService implements WxBillD
sb.append(";【系统】账单已付金额已大于等于实际应付金额,自动归结为结清。");
}
}
wxBillRent.setAdvanceId(dto.getAdvanceId());
wxBillRent.setSetOff(new BigDecimal(dbBill.getSetOff()).add(new BigDecimal(dto.getSetOff())).toPlainString());
wxBillRent.setPayDate(new Date());
wxBillRent.setPayWay(dto.getPayWayObject().getId());


+ 0
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxBillDepositServiceImpl.java Просмотреть файл

@@ -530,7 +530,6 @@ public class WxBillDepositServiceImpl extends WxBillBaseService implements WxBil
sb.append(";【系统】账单已付金额已大于等于实际应付金额,自动归结为结清。");
}
}
wxBillRent.setAdvanceId(dto.getAdvanceId());
wxBillRent.setSetOff(new BigDecimal(dbBill.getSetOff()).add(new BigDecimal(dto.getSetOff())).toPlainString());
wxBillRent.setPayDate(new Date());
wxBillRent.setPayWay(dto.getPayWayObject().getId());


+ 0
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxBillOtherDepositServiceImpl.java Просмотреть файл

@@ -541,7 +541,6 @@ public class WxBillOtherDepositServiceImpl extends WxBillBaseService implements
sb.append(";【系统】账单已付金额已大于等于实际应付金额,自动归结为结清。");
}
}
wxBillRent.setAdvanceId(dto.getAdvanceId());
wxBillRent.setSetOff(new BigDecimal(dbBill.getSetOff()).add(new BigDecimal(dto.getSetOff())).toPlainString());
wxBillRent.setPayDate(new Date());
wxBillRent.setPayWay(dto.getPayWayObject().getId());


+ 0
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxBillOtherServiceImpl.java Просмотреть файл

@@ -484,7 +484,6 @@ public class WxBillOtherServiceImpl extends WxBillBaseService implements WxBillO
sb.append(";【系统】账单已付金额已大于等于实际应付金额,自动归结为结清。");
}
}
wxBillRent.setAdvanceId(dto.getAdvanceId());
wxBillRent.setSetOff(new BigDecimal(dbBill.getSetOff()).add(new BigDecimal(dto.getSetOff())).toPlainString());
wxBillRent.setPayDate(new Date());
wxBillRent.setPayWay(dto.getPayWayObject().getId());


+ 0
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxBillPropertyDepositServiceImpl.java Просмотреть файл

@@ -515,7 +515,6 @@ public class WxBillPropertyDepositServiceImpl extends WxBillBaseService implemen
sb.append(";【系统】账单已付金额已大于等于实际应付金额,自动归结为结清。");
}
}
wxBillRent.setAdvanceId(dto.getAdvanceId());
wxBillRent.setSetOff(new BigDecimal(dbBill.getSetOff()).add(new BigDecimal(dto.getSetOff())).toPlainString());
wxBillRent.setPayDate(new Date());
wxBillRent.setPayWay(dto.getPayWayObject().getId());


+ 0
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxBillPropertyServiceImpl.java Просмотреть файл

@@ -647,7 +647,6 @@ public class WxBillPropertyServiceImpl extends WxBillBaseService implements WxBi
sb.append(";【系统】账单已付金额已大于等于实际应付金额,自动归结为结清。");
}
}
wxBillRent.setAdvanceId(dto.getAdvanceId());
wxBillRent.setSetOff(new BigDecimal(dbBill.getSetOff()).add(new BigDecimal(dto.getSetOff())).toPlainString());
wxBillRent.setPayDate(new Date());
wxBillRent.setPayWay(dto.getPayWayObject().getId());


+ 0
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxBillRentManageServiceImpl.java Просмотреть файл

@@ -560,7 +560,6 @@ public class WxBillRentManageServiceImpl extends WxBillBaseService implements W
sb.append(";【系统】账单已付金额已大于等于实际应付金额,自动归结为结清。");
}
}
wxBillRent.setAdvanceId(dto.getAdvanceId());
wxBillRent.setSetOff(new BigDecimal(dbBill.getSetOff()).add(new BigDecimal(dto.getSetOff())).toPlainString());
wxBillRent.setPayDate(new Date());
wxBillRent.setPayWay(dto.getPayWayObject().getId());


+ 0
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxBillRentServiceImpl.java Просмотреть файл

@@ -755,7 +755,6 @@ public class WxBillRentServiceImpl extends WxBillBaseService implements WxBillRe
sb.append(";【系统】账单已付金额已大于等于实际应付金额,自动归结为结清。");
}
}
wxBillRent.setAdvanceId(dto.getAdvanceId());
wxBillRent.setSetOff(new BigDecimal(dbBill.getSetOff()).add(new BigDecimal(dto.getSetOff())).toPlainString());
wxBillRent.setPayDate(new Date());
wxBillRent.setPayWay(dto.getPayWayObject().getId());


+ 0
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxFinanceServiceImpl.java Просмотреть файл

@@ -550,7 +550,6 @@ public class WxFinanceServiceImpl implements WxFinanceService {
WxBillPayDTO payDto = new WxBillPayDTO();
payDto.setId(be.getId());
payDto.setBillTypeValue(be.getBillType());
payDto.setAdvanceId(addreceive.getId());
payDto.setAddpay(money);
payDto.setPayWay(payWay0.getId());
payDto.setPayWayObject(payWay0);


+ 4
- 7
mallinkService/src/main/resources/mapper/WxBillDailyMapper.xml Просмотреть файл

@@ -43,14 +43,13 @@
<result column="energy_reading_id" jdbcType="BIGINT" property="energyReadingId" />
<result column="energy_fees_id" jdbcType="BIGINT" property="energyFeesId"/>
<result column="set_off" jdbcType="VARCHAR" property="setOff"/>
<result column="advance_id" jdbcType="BIGINT" property="advanceId"/>
</resultMap>
<sql id="allColumns">
`id`,`receive_pay`,`pay`,`receive_date`,`pay_date`,`createtime`,`expired_day`,`apply_status`,`apply_pay_img`,`apply_update_time`,
`tenant_id`,`parent_tenant_id`,`status`,`is_del`,`merchant_id`,`user_id`,`shop_id`,`shop_name`,`updatetime`,`type`,`last_owe_call_time`,
`rent_shop_type`,`pay_way`,`price_detail`,`starttime`,`endtime`,freeze,build_way,service_charge_pay,`remark`,`last_owe_call_user`,
`create_by`,`create_by_name`,`update_by`,`update_by_name`,`energy_reading_calcuteId`,`energy_reading_id`,`energy_fees_id`,`set_off`,`advance_id`
`create_by`,`create_by_name`,`update_by`,`update_by_name`,`energy_reading_calcuteId`,`energy_reading_id`,`energy_fees_id`,`set_off`
</sql>

<sql id="dynamicWhereConditions">
@@ -73,7 +72,6 @@
<if test=" null != isDel "> and `is_del` = #{isDel} </if>
<if test=" null != merchantId "> and `merchant_id` = #{merchantId} </if>
<if test=" null != energyFeesId ">and `energy_fees_id` = #{energyFeesId}</if>
<if test=" null != advanceId ">and `advance_id` = #{advanceId}</if>
<if test=" null != userId "> and `user_id` = #{userId} </if>
<if test=" null != updatetime "> and `updatetime` = #{updatetime} </if>
<if test=" null != type "> and `type` = #{type} </if>
@@ -128,7 +126,6 @@
<if test=" null != id ">and br.`id` = #{id}</if>
<if test=" null != merchantId ">and br.`merchant_id` = #{merchantId}</if>
<if test=" null != energyFeesId ">and br.`energy_fees_id` = #{energyFeesId}</if>
<if test=" null != advanceId ">and br.`advance_id` = #{advanceId}</if>
<if test=" null != status ">and br.`status` = #{status}</if>
<if test=" null != applyStatus ">and br.`apply_status` = #{applyStatus}</if>
<if test=" null != isDel ">and br.`is_del` = #{isDel}</if>
@@ -176,7 +173,7 @@
<select id="queryBillDailyList" parameterType="com.iformall.domain.po.WxBillDaily" resultMap="BaseResultMap">
select br.`id`,br.`tenant_id`,br.`parent_tenant_id`,br.`receive_pay`,br.`pay`,br.`receive_date`,br.`pay_date`,br.`createtime`,br.`expired_day` ,
br.`status`,br.`updatetime`,br.`merchant_id`,br.shop_id,br.`last_owe_call_time`,br.`last_owe_call_user`,br.`set_off`,br.`advance_id`,
br.`status`,br.`updatetime`,br.`merchant_id`,br.shop_id,br.`last_owe_call_time`,br.`last_owe_call_user`,br.`set_off`,
br.shop_name,br.type,br.`rent_shop_type`,br.pay_way,br.price_detail,br.`starttime`,br.`endtime`,br.`build_way`,
br.freeze,br.service_charge_pay,br.`apply_status`,br.`apply_pay_img`,br.`apply_update_time`,br.`remark`,br.`energy_fees_id`,
br.`create_by`,br.`create_by_name`,br.`update_by`,br.`update_by_name`,br.`energy_reading_calcuteId`,br.`energy_reading_id`
@@ -270,14 +267,14 @@
INSERT INTO wx_bill_daily (`id`,`tenant_id`,`parent_tenant_id`,`receive_pay`,`pay`,`receive_date`,`pay_date`,`createtime`,`expired_day`,`status`,`is_del`,
`merchant_id`,`user_id`,`shop_id`,`shop_name`,`updatetime`,`type`,`rent_shop_type`,`apply_status`,`pay_way`,`price_detail`,
`starttime`,`endtime`,`freeze`,`build_way`,`service_charge_pay`,`apply_pay_img`,`apply_update_time`,`remark`,`create_by`,`update_by`,
`create_by_name`,`update_by_name`,`energy_reading_calcuteId`,`energy_reading_id`,`energy_fees_id`,`advance_id`)
`create_by_name`,`update_by_name`,`energy_reading_calcuteId`,`energy_reading_id`,`energy_fees_id`)
VALUES
<foreach collection="list" item="item" index="index" separator=",">
(
#{item.id},#{item.tenantId},#{item.parentTenantId},#{item.receivePay},#{item.pay},#{item.receiveDate},#{item.payDate},#{item.createtime},#{item.expiredDay},#{item.status},#{item.isDel},
#{item.merchantId},#{item.userId},#{item.shopId},#{item.shopName},#{item.updatetime},#{item.type},#{item.rentShopType},#{item.applyStatus},#{item.payWay},#{item.priceDetail},
#{item.starttime},#{item.endtime},#{item.freeze},#{item.buildWay},#{item.serviceChargePay},#{item.applyPayImg},#{item.applyUpdateTime},#{item.remark},#{item.createBy},#{item.updateBy},
#{item.createByName},#{item.updateByName},#{item.energyReadingCalcuteId},#{item.energyReadingId},#{item.energyFeesId},#{item.advanceId}
#{item.createByName},#{item.updateByName},#{item.energyReadingCalcuteId},#{item.energyReadingId},#{item.energyFeesId}
)
</foreach>
</insert>


+ 4
- 7
mallinkService/src/main/resources/mapper/WxBillDepositMapper.xml Просмотреть файл

@@ -39,11 +39,10 @@
<result column="last_owe_call_user" jdbcType="VARCHAR" property="lastOweCallUser"/>
<result column="energy_fees_id" jdbcType="BIGINT" property="energyFeesId"/>
<result column="set_off" jdbcType="VARCHAR" property="setOff"/>
<result column="advance_id" jdbcType="BIGINT" property="advanceId"/>
</resultMap>

<sql id="allColumns">
`id`,`tenant_id`,`parent_tenant_id`,`rent_contract_id`,`receive_pay`,`pay`,`receive_date`,`pay_date`,`createtime`,`last_owe_call_time`,`set_off`,`advance_id`,
`id`,`tenant_id`,`parent_tenant_id`,`rent_contract_id`,`receive_pay`,`pay`,`receive_date`,`pay_date`,`createtime`,`last_owe_call_time`,`set_off`,
`expired_day`,`status`,`is_del`,`need_pay`,`merchant_id`,`user_id`,`shop_id`,`updatetime`,`apply_status`,`apply_pay_img`,`apply_update_time`,`energy_fees_id`,
`last_owe_call_user`,`rent_shop_type`,`return_price`,`pay_way`,service_charge_pay,contract_depoist_detail,`create_by`,`create_by_name`,`update_by`,`update_by_name`
</sql>
@@ -59,7 +58,6 @@
</if>
<if test=" null != rentContractId "> and `rent_contract_id` = #{rentContractId} </if>
<if test=" null != energyFeesId ">and `energy_fees_id` = #{energyFeesId}</if>
<if test=" null != advanceId ">and `advance_id` = #{advanceId}</if>
<if test=" null != receivePay "> and `receive_pay` = #{receivePay} </if>
<if test=" null != pay "> and `pay` = #{pay} </if>
<if test=" null != receiveDate "> and `receive_date` = #{receiveDate} </if>
@@ -136,7 +134,7 @@
<select id="queryBillDepositList" parameterType="com.iformall.domain.po.WxBillDeposit" resultMap="BaseResultMap">
select br.`id`,br.`tenant_id`,br.`parent_tenant_id`,br.`rent_contract_id`,br.`receive_pay`,br.`pay`,br.`receive_date`,br.`pay_date`,br.`createtime`,br.`expired_day`,br.`last_owe_call_time`,
br.`status`,br.`need_pay`,br.`updatetime`,br.`merchant_id`,br.`apply_status`,br.`apply_pay_img`,br.`apply_update_time`,br.`contract_depoist_detail`,br.`last_owe_call_user`,br.`set_off`,br.`advance_id`,
br.`status`,br.`need_pay`,br.`updatetime`,br.`merchant_id`,br.`apply_status`,br.`apply_pay_img`,br.`apply_update_time`,br.`contract_depoist_detail`,br.`last_owe_call_user`,br.`set_off`,
br.`rent_shop_type`,br.`return_price`, br.pay_way,br.shop_info ,br.freeze,br.service_charge_pay,br.`create_by`,br.`create_by_name`,br.`update_by`,br.`update_by_name`,br.`energy_fees_id`
from wx_bill_rent_deposit br
<include refid="queryBillRentListCondition"/>
@@ -160,7 +158,6 @@
<if test=" null != rentShopType ">and br.`rent_shop_type` = #{rentShopType}</if>
<if test=" null != rentContractId ">and br.`rent_contract_id` = #{rentContractId}</if>
<if test=" null != energyFeesId ">and br.`energy_fees_id` = #{energyFeesId}</if>
<if test=" null != advanceId ">and br.`advance_id` = #{advanceId}</if>
<if test=" null != payWay ">and br.`pay_way` = #{payWay}</if>
<if test=" null != contractDepoistDetail and '' != contractDepoistDetail">
and br.`contract_depoist_detail` like concat('%', #{contractDepoistDetail},'%')
@@ -371,7 +368,7 @@
INSERT INTO wx_bill_rent_deposit (id,rent_contract_id, receive_pay, pay, receive_date, pay_date, createtime,
expired_day,tenant_id, parent_tenant_id,status,is_del,need_pay, merchant_id, user_id, shop_id, updatetime, starttime,
endtime,rent_shop_type,return_price,shop_info,pay_way,freeze,service_charge_pay,
contract_depoist_detail,create_by,create_by_name,update_by,update_by_name,energy_fees_id,advance_id
contract_depoist_detail,create_by,create_by_name,update_by,update_by_name,energy_fees_id
)
VALUES
<foreach collection="list" item="item" index="index" separator=",">
@@ -380,7 +377,7 @@
#{item.expiredDay},#{item.tenantId},#{item.parentTenantId},#{item.status},#{item.isDel},#{item.needPay},
#{item.merchantId},#{item.userId},#{item.shopId},#{item.updatetime},#{item.starttime},
#{item.endtime},#{item.rentShopType},#{item.returnPrice},#{item.shopInfo},#{item.payWay},#{item.freeze},#{item.serviceChargePay},
#{item.contractDepoistDetail},#{item.createBy},#{item.createByName},#{item.updateBy},#{item.updateByName},#{item.energyFeesId},#{item.advanceId}
#{item.contractDepoistDetail},#{item.createBy},#{item.createByName},#{item.updateBy},#{item.updateByName},#{item.energyFeesId}
)
</foreach>
</insert>


+ 2
- 5
mallinkService/src/main/resources/mapper/WxBillOtherDepositMapper.xml Просмотреть файл

@@ -40,14 +40,13 @@
<result column="service_charge_pay" property="serviceChargePay"/>
<result column="energy_fees_id" jdbcType="BIGINT" property="energyFeesId"/>
<result column="set_off" jdbcType="VARCHAR" property="setOff"/>
<result column="advance_id" jdbcType="BIGINT" property="advanceId"/>
</resultMap>
<sql id="allColumns">
`id`,`tenant_id`,`parent_tenant_id`,`receive_pay`,`pay`,`receive_date`,`pay_date`,`createtime`,`expired_day`,`last_owe_call_time`,`last_owe_call_user`,
`status`,`is_del`,`merchant_id`,`user_id`,`shop_id`,`shop_name`,`updatetime`,`name`,`comments`,`apply_status`,`apply_pay_img`,`apply_update_time`,
`rent_shop_type`,`return_price`,`pay_way`,`starttime`,`endtime`,freeze,service_charge_pay,`create_by`,`create_by_name`,`update_by`,`update_by_name`,
`energy_fees_id`,`set_off`,`advance_id`
`energy_fees_id`,`set_off`
</sql>
<sql id="dynamicWhereConditions">
@@ -67,7 +66,6 @@
<if test=" null != expiredDay ">and `expired_day` = #{expiredDay}</if>
<if test=" null != status ">and `status` = #{status}</if>
<if test=" null != energyFeesId ">and `energy_fees_id` = #{energyFeesId}</if>
<if test=" null != advanceId ">and `advance_id` = #{advanceId}</if>
<if test=" null != applyStatus ">and `apply_status` = #{applyStatus}</if>
<if test=" null != isDel ">and `is_del` = #{isDel}</if>
<if test=" null != merchantId ">and `merchant_id` = #{merchantId}</if>
@@ -125,7 +123,6 @@
<if test=" null != parentTenantId and '' != parentTenantId">and br.`parent_tenant_id` = #{parentTenantId}</if>
<if test=" null != freeze ">and br.`freeze` = #{freeze}</if>
<if test=" null != merchantId ">and br.`merchant_id` = #{merchantId}</if>
<if test=" null != advanceId ">and br.`advance_id` = #{advanceId}</if>
<if test=" null != status ">and br.`status` = #{status}</if>
<if test=" null != applyStatus ">and br.`apply_status` = #{applyStatus}</if>
<if test=" null != isDel ">and br.`is_del` = #{isDel}</if>
@@ -175,7 +172,7 @@
<select id="queryBillList" parameterType="com.iformall.domain.po.WxBillOtherDeposit" resultMap="BaseResultMap">
select br.`id`,br.`tenant_id`,br.`parent_tenant_id`,br.`receive_pay`,br.`pay`,br.`receive_date`,br.`pay_date`,br.`createtime`,br.`expired_day`,br.`last_owe_call_user`,br.`set_off`,
br.`status`,br.shop_name,br.`updatetime`,br.`return_price`,br.`merchant_id`,br.`apply_status`,br.`apply_pay_img`,br.`apply_update_time`,br.`last_owe_call_time`,br.`energy_fees_id`,br.`advance_id`,
br.`status`,br.shop_name,br.`updatetime`,br.`return_price`,br.`merchant_id`,br.`apply_status`,br.`apply_pay_img`,br.`apply_update_time`,br.`last_owe_call_time`,br.`energy_fees_id`,
br.shop_id,br.name,br.comments,br.`rent_shop_type`,br.pay_way,br.`starttime`,br.`endtime`,br.freeze,br.service_charge_pay,br.`create_by`,br.`create_by_name`,br.`update_by`,br.`update_by_name`
from wx_bill_other_deposit br
<include refid="queryBillListConditions"/>


+ 2
- 5
mallinkService/src/main/resources/mapper/WxBillOtherMapper.xml Просмотреть файл

@@ -40,14 +40,13 @@
<result column="service_charge_pay" property="serviceChargePay"/>
<result column="energy_fees_id" jdbcType="BIGINT" property="energyFeesId"/>
<result column="set_off" jdbcType="VARCHAR" property="setOff"/>
<result column="advance_id" jdbcType="BIGINT" property="advanceId"/>
</resultMap>

<sql id="allColumns">
`id`,`tenant_id`,`parent_tenant_id`,`receive_pay`,`pay`,`receive_date`,`pay_date`,`createtime`,`expired_day`,`last_owe_call_user`,
`status`,`is_del`,`merchant_id`,`user_id`,`shop_id`,`shop_name`,`updatetime`,`name`,`comments`,`last_owe_call_time`,
`rent_shop_type`,`pay_way`,`starttime`,`endtime`,endtime,service_charge_pay,`apply_status`,`apply_pay_img`,`apply_update_time`,
`create_by`,`create_by_name`,`update_by`,`update_by_name`,`energy_fees_id`,`set_off`,`advance_id`
`create_by`,`create_by_name`,`update_by`,`update_by_name`,`energy_fees_id`,`set_off`
</sql>

<sql id="dynamicWhereConditions">
@@ -70,7 +69,6 @@
<if test=" null != isDel "> and `is_del` = #{isDel} </if>
<if test=" null != merchantId "> and `merchant_id` = #{merchantId} </if>
<if test=" null != energyFeesId ">and `energy_fees_id` = #{energyFeesId}</if>
<if test=" null != advanceId ">and `advance_id` = #{advanceId}</if>
<if test=" null != userId "> and `user_id` = #{userId} </if>
<if test=" null != shopId "> and `shop_id` = #{shopId} </if>
<if test=" null != updatetime "> and `updatetime` = #{updatetime} </if>
@@ -119,7 +117,6 @@
<if test=" null != parentTenantId and '' != parentTenantId">and br.`parent_tenant_id` = #{parentTenantId}</if>
<if test=" null != freeze ">and br.`freeze` = #{freeze}</if>
<if test=" null != merchantId ">and br.`merchant_id` = #{merchantId}</if>
<if test=" null != advanceId ">and br.`advance_id` = #{advanceId}</if>
<if test=" null != status ">and br.`status` = #{status}</if>
<if test=" null != applyStatus ">and br.`apply_status` = #{applyStatus}</if>
<if test=" null != isDel ">and br.`is_del` = #{isDel}</if>
@@ -168,7 +165,7 @@
<select id="queryBillList" parameterType="com.iformall.domain.po.WxBillOther" resultMap="BaseResultMap">
select br.`id`,br.`tenant_id`,br.`parent_tenant_id`,br.`receive_pay`,br.`pay`,br.`receive_date`, br.`pay_date`,br.`createtime`,br.`expired_day`,
br.`status`,br.shop_name,br.`updatetime`,br.`apply_status`,br.`last_owe_call_time`,br.`last_owe_call_user`,br.`set_off`,
br.`apply_pay_img`,br.`apply_update_time`,br.`merchant_id`,br.shop_id,br.name,br.comments,br.`rent_shop_type`,br.`energy_fees_id`,br.`advance_id`,
br.`apply_pay_img`,br.`apply_update_time`,br.`merchant_id`,br.shop_id,br.name,br.comments,br.`rent_shop_type`,br.`energy_fees_id`,
br.pay_way,br.`starttime`,br.`endtime`,br.freeze,br.service_charge_pay,br.`create_by`,br.`create_by_name`,br.`update_by`,br.`update_by_name`
from wx_bill_other br
<include refid="queryBillListConditions" />


+ 2
- 5
mallinkService/src/main/resources/mapper/WxBillPropertyDepositMapper.xml Просмотреть файл

@@ -40,14 +40,13 @@
<result column="shop_number" property="shopNumber"/>
<result column="energy_fees_id" jdbcType="BIGINT" property="energyFeesId"/>
<result column="set_off" jdbcType="VARCHAR" property="setOff"/>
<result column="advance_id" jdbcType="BIGINT" property="advanceId"/>
</resultMap>
<sql id="allColumns">
`id`,`tenant_id`,`parent_tenant_id`,`property_contract_id`,`receive_pay`,`pay`,`receive_date`,`starttime`,`endtime`,
`pay_date`,`createtime`,`expired_day`,`status`,`is_del`,`need_pay`,`apply_status`,`apply_pay_img`,`apply_update_time`,`last_owe_call_user`,
`merchant_id`,`user_id`,`shop_id`,`updatetime`,`rent_shop_type`,`return_price`,`shop_info`,`pay_way`,freeze,service_charge_pay,
`create_by`,`create_by_name`,`update_by`,`update_by_name`,`energy_fees_id`,`set_off`,`advance_id`
`create_by`,`create_by_name`,`update_by`,`update_by_name`,`energy_fees_id`,`set_off`
</sql>

<sql id="dynamicWhereConditions">
@@ -61,7 +60,6 @@
</if>
<if test=" null != propertyContractId "> and `property_contract_id` = #{propertyContractId} </if>
<if test=" null != energyFeesId ">and `energy_fees_id` = #{energyFeesId}</if>
<if test=" null != advanceId ">and `advance_id` = #{advanceId}</if>
<if test=" null != receivePay "> and `receive_pay` = #{receivePay} </if>
<if test=" null != pay "> and `pay` = #{pay} </if>
<if test=" null != receiveDate "> and `receive_date` = #{receiveDate} </if>
@@ -125,7 +123,6 @@
and br.`parent_tenant_id` = #{parentTenantId}
</if>
<if test=" null != merchantId ">and br.`merchant_id` = #{merchantId}</if>
<if test=" null != advanceId ">and br.`advance_id` = #{advanceId}</if>
<if test=" null != status ">and br.`status` = #{status}</if>
<if test=" null != applyStatus ">and br.`apply_status` = #{applyStatus}</if>
<if test=" null != isDel ">and br.`is_del` = #{isDel}</if>
@@ -165,7 +162,7 @@
<select id="queryBillDepositList" parameterType="com.iformall.domain.po.WxBillPropertyDeposit" resultMap="BaseResultMap">
select br.`id`,br.`tenant_id`,br.`parent_tenant_id`,br.`property_contract_id`,br.`receive_pay`,br.`pay`,br.`receive_date`,br.`pay_date`,br.`createtime`,br.`expired_day`,br.`status`,
br.`need_pay`,br.`updatetime`,br.`merchant_id`,br.`rent_shop_type`,br.`return_price`,br.`shop_info`,br.pay_way,br.`starttime`,br.`endtime`,br.`last_owe_call_user`,,br.`set_off`,br.`advance_id`,
br.`need_pay`,br.`updatetime`,br.`merchant_id`,br.`rent_shop_type`,br.`return_price`,br.`shop_info`,br.pay_way,br.`starttime`,br.`endtime`,br.`last_owe_call_user`,,br.`set_off`,
br.freeze,br.service_charge_pay,br.`apply_status`,br.`apply_pay_img`,br.`apply_update_time`,br.`create_by`,br.`create_by_name`,br.`update_by`,br.`update_by_name`,br.`energy_fees_id`
from wx_bill_property_deposit br
<include refid="queryBillDepositListConditions"/>


+ 4
- 7
mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml Просмотреть файл

@@ -53,7 +53,6 @@
<result column="service_charge_pay" property="serviceChargePay"/>
<result column="energy_fees_id" jdbcType="BIGINT" property="energyFeesId"/>
<result column="set_off" jdbcType="VARCHAR" property="setOff"/>
<result column="advance_id" jdbcType="BIGINT" property="advanceId"/>
</resultMap>

<sql id="allColumns">
@@ -61,7 +60,7 @@
`createtime`,`expired_day`,`tenant_id`,`status`,`is_del`,`need_pay`,`last_owe_call_time`,`last_owe_call_user`,
`merchant_id`,`user_id`,`shop_id`,`updatetime`,`rent_shop_type`,`apply_status`,`apply_pay_img`,`apply_update_time`,
`revenue`,`late_pay_ratio`,`late_pay_time`,`late_pay_price`,`period`,`is_preview`,`shop_info`,`create_by`,`create_by_name`,`update_by`,`update_by_name`,
`pay_way`,`late_pay_status`,`comments`,starttime,endtime,freeze,service_charge_pay,`parent_bill_id`,`energy_fees_id`,`set_off`,`advance_id`
`pay_way`,`late_pay_status`,`comments`,starttime,endtime,freeze,service_charge_pay,`parent_bill_id`,`energy_fees_id`,`set_off`
</sql>

<sql id="dynamicWhereConditions">
@@ -75,7 +74,6 @@
</if>
<if test=" null != propertyContractId ">and `property_contract_id` = #{propertyContractId}</if>
<if test=" null != energyFeesId ">and `energy_fees_id` = #{energyFeesId}</if>
<if test=" null != advanceId ">and `advance_id` = #{advanceId}</if>
<if test=" null != receivePay ">and `receive_pay` = #{receivePay}</if>
<if test=" null != pay ">and `pay` = #{pay}</if>
<if test=" null != receiveDate ">and `receive_date` = #{receiveDate}</if>
@@ -155,7 +153,6 @@
<if test=" null != id ">and br.`id` = #{id}</if>
<if test=" null != merchantId ">and br.`merchant_id` = #{merchantId}</if>
<if test=" null != energyFeesId ">and br.`energy_fees_id` = #{energyFeesId}</if>
<if test=" null != advanceId ">and br.`advance_id` = #{advanceId}</if>
<if test=" null != status ">and br.`status` = #{status}</if>
<if test=" null != applyStatus ">and br.`apply_status` = #{applyStatus}</if>
<if test=" null != isDel ">and br.`is_del` = #{isDel}</if>
@@ -212,7 +209,7 @@
br.`status`,br.`need_pay`,br.`updatetime`,br.`merchant_id`,br.`rent_shop_type`,br.`period`,br.`last_owe_call_time`,br.`last_owe_call_user`,
br.`revenue`,br.`late_pay_time`,br.`property_contract_id`,br.late_pay_price,br.`shop_info`,br.pay_way,br.late_pay_status,br.`energy_fees_id`,
br.`comments`,br.starttime,br.endtime,br.`apply_status`,br.`apply_pay_img`,br.`apply_update_time`,br.freeze,br.service_charge_pay,
br.`late_pay_ratio`,br.`parent_bill_id`,br.`create_by`,br.`create_by_name`,br.`update_by`,br.`update_by_name`,br.`set_off`,br.`advance_id`
br.`late_pay_ratio`,br.`parent_bill_id`,br.`create_by`,br.`create_by_name`,br.`update_by`,br.`update_by_name`,br.`set_off`
from wx_bill_property br
<include refid="queryBillPropertyListConditions"/>
<if test=" null != sortColumns">order by ${sortColumns}</if>
@@ -393,7 +390,7 @@
tenant_id, parent_tenant_id, status, is_del, need_pay, merchant_id, user_id, shop_id, updatetime, starttime,
endtime,
rent_shop_type, revenue, late_pay_ratio, late_pay_time, late_pay_price, period, is_preview, shop_info,
pay_way, late_pay_status, comments,service_charge_pay,parent_bill_id,energy_fees_id,advance_id)
pay_way, late_pay_status, comments,service_charge_pay,parent_bill_id,energy_fees_id)
VALUES
<foreach collection="list" item="item" index="index" separator=",">
(
@@ -402,7 +399,7 @@
#{item.tenantId},#{item.parentTenantId},#{item.status},#{item.isDel},#{item.needPay},#{item.merchantId},
#{item.userId},#{item.shopId},#{item.updatetime},#{item.starttime},#{item.endtime},#{item.rentShopType},#{item.revenue},
#{item.latePayRatio},#{item.latePayTime},#{item.latePayPrice},#{item.period},#{item.isPreview},#{item.shopInfo},
#{item.payWay},#{item.latePayStatus},#{item.comments},#{item.serviceChargePay},#{item.parentBillId},#{item.energyFeesId},#{item.advanceId}
#{item.payWay},#{item.latePayStatus},#{item.comments},#{item.serviceChargePay},#{item.parentBillId},#{item.energyFeesId}
)
</foreach>
</insert>


+ 4
- 7
mallinkService/src/main/resources/mapper/WxBillRentManageMapper.xml Просмотреть файл

@@ -45,7 +45,6 @@
<result column="merchant_name" jdbcType="VARCHAR" property="merchantName"/>
<result column="energy_fees_id" jdbcType="BIGINT" property="energyFeesId"/>
<result column="set_off" jdbcType="VARCHAR" property="setOff"/>
<result column="advance_id" jdbcType="BIGINT" property="advanceId"/>
</resultMap>

<sql id="allColumns">
@@ -53,7 +52,7 @@
`createtime`,`expired_day`,`status`,`apply_status`,`apply_pay_img`,`apply_update_time`,`is_del`,`is_preview`,`need_pay`,
`last_owe_call_time`,`merchant_id`,`user_id`,`shop_id`,`updatetime`,`rent_shop_type`,`late_pay_ratio`,`late_pay_time`,
`late_pay_price`,`period`,`shop_info`,`pay_way`,`late_pay_status`,starttime,endtime,freeze,service_charge_pay,manage_fee_type,
`create_by`,`create_by_name`,`update_by`,`update_by_name`,`energy_fees_id`,`set_off`,`advance_id`
`create_by`,`create_by_name`,`update_by`,`update_by_name`,`energy_fees_id`,`set_off`
</sql>

<sql id="dynamicWhereConditions">
@@ -67,7 +66,6 @@
</if>
<if test=" null != rentContractId ">and `rent_contract_id` = #{rentContractId}</if>
<if test=" null != energyFeesId ">and `energy_fees_id` = #{energyFeesId}</if>
<if test=" null != advanceId ">and `advance_id` = #{advanceId}</if>
<if test=" null != receivePay ">and `receive_pay` = #{receivePay}</if>
<if test=" null != pay ">and `pay` = #{pay}</if>
<if test=" null != receiveDate ">and `receive_date` = #{receiveDate}</if>
@@ -139,7 +137,6 @@
<if test=" null != isDel ">and br.`is_del` = #{isDel}</if>
<if test=" null != rentContractId ">and br.`rent_contract_id` = #{rentContractId}</if>
<if test=" null != energyFeesId ">and br.`energy_fees_id` = #{energyFeesId}</if>
<if test=" null != advanceId ">and br.`advance_id` = #{advanceId}</if>
<if test=" null != payWay ">and br.`pay_way` = #{payWay}</if>
<if test=" null != latePayStatus ">and br.`late_pay_status` = #{latePayStatus}</if>
<if test=" null != starttime">and br.`starttime` &lt;= #{starttime}</if>
@@ -179,7 +176,7 @@
br.`status`,br.`need_pay`,br.`late_pay_time`,br.`period`,br.`rent_contract_id`,br.`last_owe_call_time`,br.`last_owe_call_user`,
br.`updatetime`,br.`merchant_id`,br.`rent_shop_type`,br.`apply_status`,br.`apply_pay_img`,br.`apply_update_time`,
br.late_pay_price,br.shop_info,br.pay_way,br.late_pay_status,br.starttime,br.endtime,br.`create_by`,br.`create_by_name`,br.`update_by`,br.`update_by_name`,
br.freeze,br.service_charge_pay,br.manage_fee_type,br.`late_pay_ratio`,br.`energy_fees_id`,br.`set_off`,br.`advance_id`
br.freeze,br.service_charge_pay,br.manage_fee_type,br.`late_pay_ratio`,br.`energy_fees_id`,br.`set_off`
from wx_bill_rent_manage br
<include refid="queryBillManageListConditions"/>
<if test=" null != sortColumns">order by ${sortColumns}</if>
@@ -309,7 +306,7 @@
rent_contract_id, receive_pay, pay, receive_date, pay_date, createtime, expired_day,
status, is_del, need_pay, merchant_id, user_id, shop_id, updatetime, starttime, endtime,
rent_shop_type, late_pay_ratio, late_pay_time, late_pay_price, period, shop_info,
pay_way, late_pay_status, service_charge_pay,manage_fee_type,create_by,create_by_name,update_by,update_by_name,energy_fees_id,advance_id)
pay_way, late_pay_status, service_charge_pay,manage_fee_type,create_by,create_by_name,update_by,update_by_name,energy_fees_id)
VALUES
<foreach collection="list" item="item" index="index" separator=",">
(
@@ -319,7 +316,7 @@
#{item.userId},#{item.shopId},#{item.updatetime},#{item.starttime},#{item.endtime},#{item.rentShopType},
#{item.latePayRatio},#{item.latePayTime},#{item.latePayPrice},#{item.period},#{item.shopInfo},
#{item.payWay},#{item.latePayStatus},#{item.serviceChargePay},#{item.manageFeeType},
#{item.createBy},#{item.createByName},#{item.updateBy},#{item.updateByName,#{item.energyFeesId},#{item.advanceId}}
#{item.createBy},#{item.createByName},#{item.updateBy},#{item.updateByName,#{item.energyFeesId}}
)
</foreach>
</insert>


+ 4
- 7
mallinkService/src/main/resources/mapper/WxBillRentMapper.xml Просмотреть файл

@@ -62,14 +62,13 @@
<result column="service_charge_pay" property="serviceChargePay"/>
<result column="energy_fees_id" jdbcType="BIGINT" property="energyFeesId"/>
<result column="set_off" jdbcType="VARCHAR" property="setOff"/>
<result column="advance_id" jdbcType="BIGINT" property="advanceId"/>
</resultMap>

<sql id="allColumns">
`id`,`tenant_id`,`parent_tenant_id`,`rent_contract_id`,`receive_pay`,`pay`,`receive_date`,`pay_date`,`create_by`,`create_by_name`,`update_by`,`update_by_name`,
`createtime`,`expired_day`,`status`,`is_del`,`contract_need_pay`,`rent_price_info`,`need_pay`,`bussiness_manage_fee_need_pay`,`operating_manage_fee_need_pay`,
`merchant_id`,`user_id`,`shop_id`,`updatetime`,`rent_shop_type`,`apply_status`,`apply_pay_img`,`apply_update_time`,`last_owe_call_time`,
`revenue`,`late_pay_ratio`,`late_pay_time`,`late_pay_price`,`period`,`is_preview`,`shop_info`,`last_owe_call_user`,`set_off`,`advance_id`,
`revenue`,`late_pay_ratio`,`late_pay_time`,`late_pay_price`,`period`,`is_preview`,`shop_info`,`last_owe_call_user`,`set_off`,
`pay_way`,`late_pay_status`,`comments`,starttime,endtime,bus_discount_ratio,freeze,join_rent_price,service_charge_pay,`energy_fees_id`
</sql>

@@ -84,7 +83,6 @@
</if>
<if test=" null != rentContractId ">and `rent_contract_id` = #{rentContractId}</if>
<if test=" null != energyFeesId ">and `energy_fees_id` = #{energyFeesId}</if>
<if test=" null != advanceId ">and `advance_id` = #{advanceId}</if>
<if test=" null != receivePay ">and `receive_pay` = #{receivePay}</if>
<if test=" null != pay ">and `pay` = #{pay}</if>
<if test=" null != receiveDate ">and `receive_date` = #{receiveDate}</if>
@@ -152,7 +150,6 @@
<if test=" null != applyStatus ">and br.`apply_status` = #{applyStatus}</if>
<if test=" null != id ">and br.`id` = #{id}</if>
<if test=" null != merchantId ">and br.`merchant_id` = #{merchantId}</if>
<if test=" null != advanceId ">and br.`advance_id` = #{advanceId}</if>
<if test=" null != isDel ">and br.`is_del` = #{isDel}</if>
<if test=" null != rentContractId ">and br.`rent_contract_id` = #{rentContractId}</if>
<if test=" null != energyFeesId ">and br.`energy_fees_id` = #{energyFeesId}</if>
@@ -199,7 +196,7 @@
br.`status`,br.`contract_need_pay`,br.`rent_price_info`,br.`need_pay`,br.`bussiness_manage_fee_need_pay`,br.`operating_manage_fee_need_pay`,br.`last_owe_call_time`,
br.`updatetime`,br.`merchant_id`,br.`rent_shop_type`,br.`apply_status`,br.`apply_pay_img`,br.`apply_update_time`,br.`revenue`,br.`late_pay_time`,br.`period`,br.`rent_contract_id`,
br.late_pay_price,br.shop_info,br.pay_way,br.late_pay_status,br.`comments`,br.starttime,br.endtime,br.bus_discount_ratio,br.freeze,br.join_rent_price,br.service_charge_pay,
br.`create_by`,br.`create_by_name`,br.`update_by`,br.`update_by_name`,br.`energy_fees_id`,br.`set_off`,br.`advance_id`
br.`create_by`,br.`create_by_name`,br.`update_by`,br.`update_by_name`,br.`energy_fees_id`,br.`set_off`
from wx_bill_rent br
<include refid="queryBillRentListCondition"/>
<if test=" null != sortColumns">order by ${sortColumns}</if>
@@ -382,7 +379,7 @@
rent_contract_id, receive_pay, pay, receive_date, pay_date, createtime, expired_day,create_by,create_by_name,update_by,update_by_name,
status, is_del, contract_need_pay,rent_price_info,need_pay,bussiness_manage_fee_need_pay,operating_manage_fee_need_pay, merchant_id, user_id, shop_id, updatetime, starttime, endtime,
rent_shop_type, revenue, late_pay_ratio, late_pay_time, late_pay_price, period, is_preview, shop_info,
pay_way, late_pay_status, comments,service_charge_pay,energy_fees_id,advance_id)
pay_way, late_pay_status, comments,service_charge_pay,energy_fees_id)
VALUES
<foreach collection="list" item="item" index="index" separator=",">
(
@@ -391,7 +388,7 @@
#{item.status},#{item.isDel},#{item.contractNeedPay},#{item.rentPriceInfo},#{item.needPay},#{item.bussinessManageFeeNeedPay},#{item.operatingManageFeeNeedPay},#{item.merchantId},
#{item.userId},#{item.shopId},#{item.updatetime},#{item.starttime},#{item.endtime},#{item.rentShopType},#{item.revenue},
#{item.latePayRatio},#{item.latePayTime},#{item.latePayPrice},#{item.period},#{item.isPreview},#{item.shopInfo},
#{item.payWay},#{item.latePayStatus},#{item.comments},#{item.serviceChargePay},#{item.energyFeesId},#{item.advanceId}
#{item.payWay},#{item.latePayStatus},#{item.comments},#{item.serviceChargePay},#{item.energyFeesId}
)
</foreach>
</insert>


Загрузка…
Отмена
Сохранить