税控补充sql
This commit is contained in:
parent
fb6e017bb2
commit
8eb027320c
@ -4228,77 +4228,6 @@
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<!-- <class name="VI_LI_INVOICE_TJ_LEASEBACK" label="" keyAttributes="">
|
||||
<attributes>
|
||||
<attribute name="contract_id" label="contract_id" type="STRING"/>
|
||||
<attribute name="contract_no" label="contract_no" type="STRING"/>
|
||||
<attribute name="invoice_money" label="invoice_money" type="STRING"/>
|
||||
<attribute name="tax_type" label="tax_type" type="STRING"/>
|
||||
<attribute name="cert_id" label="cert_id" type="STRING"/>
|
||||
<attribute name="account" label="account" type="STRING"/>
|
||||
<attribute name="acc_number" label="acc_number" type="STRING"/>
|
||||
<attribute name="bank_name" label="bank_name" type="STRING"/>
|
||||
<attribute name="telephone" label="telephone" type="STRING"/>
|
||||
<attribute name="customer_type" label="customer_type" type="STRING"/>
|
||||
<attribute name="customer_name" label="customer_name" type="STRING"/>
|
||||
<attribute name="tax_ratio" label="tax_ratio" type="STRING"/>
|
||||
<attribute name="full_code" label="full_code" type="STRING"/>
|
||||
<attribute name="fpdm" label="fpdm" type="STRING"/>
|
||||
<attribute name="fphm" label="fphm" type="STRING"/>
|
||||
<attribute name="plan_list" label="plan_list" type="STRING"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="vi_li_invoice_tj_leaseback" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<class name="VI_LI_INVOICE_TJ_LEASEDIRECT" label="" keyAttributes="">
|
||||
<attributes>
|
||||
<attribute name="contract_id" label="contract_id" type="STRING"/>
|
||||
<attribute name="contract_no" label="contract_no" type="STRING"/>
|
||||
<attribute name="invoice_money" label="invoice_money" type="STRING"/>
|
||||
<attribute name="tax_type" label="tax_type" type="STRING"/>
|
||||
<attribute name="cert_id" label="cert_id" type="STRING"/>
|
||||
<attribute name="account" label="account" type="STRING"/>
|
||||
<attribute name="acc_number" label="acc_number" type="STRING"/>
|
||||
<attribute name="bank_name" label="bank_name" type="STRING"/>
|
||||
<attribute name="telephone" label="telephone" type="STRING"/>
|
||||
<attribute name="customer_type" label="customer_type" type="STRING"/>
|
||||
<attribute name="customer_name" label="customer_name" type="STRING"/>
|
||||
<attribute name="tax_ratio" label="tax_ratio" type="STRING"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="vi_li_invoice_tj_leasedirect" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<class name="VI_LI_INVOICE_TJ_GPS" label="" keyAttributes="">
|
||||
<attributes>
|
||||
<attribute name="contract_id" label="contract_id" type="STRING"/>
|
||||
<attribute name="contract_no" label="contract_no" type="STRING"/>
|
||||
<attribute name="invoice_money" label="invoice_money" type="STRING"/>
|
||||
<attribute name="tax_type" label="tax_type" type="STRING"/>
|
||||
<attribute name="cert_id" label="cert_id" type="STRING"/>
|
||||
<attribute name="account" label="account" type="STRING"/>
|
||||
<attribute name="acc_number" label="acc_number" type="STRING"/>
|
||||
<attribute name="bank_name" label="bank_name" type="STRING"/>
|
||||
<attribute name="telephone" label="telephone" type="STRING"/>
|
||||
<attribute name="customer_type" label="customer_type" type="STRING"/>
|
||||
<attribute name="customer_name" label="customer_name" type="STRING"/>
|
||||
<attribute name="tax_ratio" label="tax_ratio" type="STRING"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="vi_li_invoice_tj_gps" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
-->
|
||||
<class name="TAX_OPERATOR_INFO" label="" keyAttributes="id">
|
||||
<attributes>
|
||||
<attribute name="id" label="id" type="STRING"/>
|
||||
@ -4443,8 +4372,10 @@
|
||||
<attributes>
|
||||
<attribute name="contract_id" label="contract_id" type="STRING"/>
|
||||
<attribute name="contract_no" label="contract_no" type="STRING"/>
|
||||
<attribute name="plan_list" label="plan_list" type="STRING"/>
|
||||
<attribute name="invoice_money" label="invoice_money" type="STRING"/>
|
||||
<attribute name="tax_type" label="tax_type" type="STRING"/>
|
||||
<attribute name="tax_no" label="tax_no" type="STRING"/>
|
||||
<attribute name="cert_id" label="cert_id" type="STRING"/>
|
||||
<attribute name="account" label="account" type="STRING"/>
|
||||
<attribute name="acc_number" label="acc_number" type="STRING"/>
|
||||
@ -4454,8 +4385,9 @@
|
||||
<attribute name="customer_name" label="customer_name" type="STRING"/>
|
||||
<attribute name="tax_ratio" label="tax_ratio" type="STRING"/>
|
||||
<attribute name="invoice_status" label="invoice_status" type="STRING"/>
|
||||
<attribute name="FPDM" label="FPDM" type="STRING"/>
|
||||
<attribute name="FPHM" label="FPHM" type="STRING"/>
|
||||
<attribute name="fpdm" label="fpdm" type="STRING"/>
|
||||
<attribute name="fphm" label="fphm" type="STRING"/>
|
||||
<attribute name="hztzdh" label="hztzdh" type="STRING"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
|
||||
@ -22,6 +22,10 @@ public interface VI_LI_INVOICE_TJ_GPS{
|
||||
*/
|
||||
public static final String contract_no = "contract_no";
|
||||
/**
|
||||
* plan_list STRING(20)<br>
|
||||
*/
|
||||
public static final String plan_list = "plan_list";
|
||||
/**
|
||||
* invoice_money STRING(20)<br>
|
||||
*/
|
||||
public static final String invoice_money = "invoice_money";
|
||||
@ -30,6 +34,10 @@ public interface VI_LI_INVOICE_TJ_GPS{
|
||||
*/
|
||||
public static final String tax_type = "tax_type";
|
||||
/**
|
||||
* tax_no STRING(20)<br>
|
||||
*/
|
||||
public static final String tax_no = "tax_no";
|
||||
/**
|
||||
* cert_id STRING(20)<br>
|
||||
*/
|
||||
public static final String cert_id = "cert_id";
|
||||
@ -66,11 +74,15 @@ public interface VI_LI_INVOICE_TJ_GPS{
|
||||
*/
|
||||
public static final String invoice_status = "invoice_status";
|
||||
/**
|
||||
* FPDM STRING(20)<br>
|
||||
* fpdm STRING(20)<br>
|
||||
*/
|
||||
public static final String FPDM = "FPDM";
|
||||
public static final String fpdm = "fpdm";
|
||||
/**
|
||||
* FPHM STRING(20)<br>
|
||||
* fphm STRING(20)<br>
|
||||
*/
|
||||
public static final String FPHM = "FPHM";
|
||||
public static final String fphm = "fphm";
|
||||
/**
|
||||
* hztzdh STRING(20)<br>
|
||||
*/
|
||||
public static final String hztzdh = "hztzdh";
|
||||
}
|
||||
94
src_sql/view/vi_li_invoice_tj_gps.sql
Normal file
94
src_sql/view/vi_li_invoice_tj_gps.sql
Normal file
@ -0,0 +1,94 @@
|
||||
DELIMITER $$
|
||||
|
||||
CREATE VIEW `vi_li_invoice_tj_gps` AS
|
||||
(SELECT
|
||||
`lci`.`ID` AS `contract_id`,
|
||||
`lci`.`CONTRACT_NO` AS `contract_no`,
|
||||
'1' AS plan_list,
|
||||
`lfi`.`FACT_MONEY` AS `invoice_money`,
|
||||
(SELECT
|
||||
`code_library`.`itemname`
|
||||
FROM
|
||||
`code_library`
|
||||
WHERE (
|
||||
(
|
||||
`code_library`.`codeno` = 'tax_type'
|
||||
)
|
||||
AND (`code_library`.`itemno` = 'feetype24')
|
||||
)) AS `tax_type`,
|
||||
'feetype24' AS tax_no,
|
||||
`cac`.`CERTID` AS `cert_id`,
|
||||
`cac`.`account` AS `account`,
|
||||
`cac`.`acc_number` AS `acc_number`,
|
||||
`cac`.`bank_name` AS `bank_name`,
|
||||
`cac`.`MOBILE` AS `telephone`,
|
||||
`ci`.`customertype` AS `customer_type`,
|
||||
`ci`.`customername` AS `customer_name`,
|
||||
`ti`.`gps_install_fee` AS `tax_ratio`,
|
||||
`liti`.`status` AS `invoice_status`,
|
||||
`liti`.`FPDM` AS `FPDM`,
|
||||
`liti`.`FPHM` AS `FPHM`,
|
||||
liti.hztzdh AS hztzdh
|
||||
FROM
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
`lc_fund_income` `lfi`
|
||||
LEFT JOIN `lb_contract_info` `lci`
|
||||
ON ((`lfi`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN li_invoice_tj_info liti ON liti.contract_no = lci.contract_no AND liti.plan_list='1' AND liti.tax_type='feetype24'
|
||||
LEFT JOIN `lb_union_lessee` `lul`
|
||||
ON ((`lul`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `customer_info` `ci`
|
||||
ON (
|
||||
(
|
||||
`ci`.`customerid` = `lul`.`CUSTOMER_ID`
|
||||
)
|
||||
)
|
||||
)
|
||||
LEFT JOIN `customer_account` `cac`
|
||||
ON ((`cac`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `tax_info` `ti`
|
||||
ON (
|
||||
(
|
||||
(
|
||||
`ti`.`LEASE_FORM` = `lci`.`LEAS_FORM`
|
||||
)
|
||||
AND (
|
||||
`ti`.`ID` IN (
|
||||
'5ceefeccd3af4db8a98d41c203c9dbe9',
|
||||
'7672ff2fa48046ebbaf905c02e993221'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
WHERE (
|
||||
(
|
||||
`lci`.`SUBJECTID` = 'd989246c11c111eaaa0000163e0e11e6'
|
||||
)
|
||||
AND (
|
||||
`lci`.`CONTRACT_STATUS` IN ('31', '100', '105')
|
||||
)
|
||||
AND (`lfi`.`FEE_TYPE` = 'feetype24')
|
||||
AND (`lfi`.`PAY_TYPE` = 'pay_type_in')
|
||||
AND (
|
||||
(
|
||||
(
|
||||
`lfi`.`SETTLE_METHOD` = 'settlemethod11'
|
||||
)
|
||||
AND (
|
||||
`lfi`.`PAY_STATUS` = 'apply_pass'
|
||||
)
|
||||
)
|
||||
OR (`lfi`.`PAY_STATUS` = 'have_paid')
|
||||
)
|
||||
)) $$
|
||||
|
||||
DELIMITER ;
|
||||
|
||||
538
src_sql/view/vi_li_invoice_tj_leaseback.sql
Normal file
538
src_sql/view/vi_li_invoice_tj_leaseback.sql
Normal file
@ -0,0 +1,538 @@
|
||||
DELIMITER $$
|
||||
create VIEW `vi_li_invoice_tj_leaseback` AS
|
||||
(SELECT
|
||||
`t`.`id` AS `contract_id`,
|
||||
`t`.`contract_no` AS `contract_no`,
|
||||
`t`.`invoice_money` AS `invoice_money`,
|
||||
`t`.`tax_type` AS `tax_type`,
|
||||
`t`.`cert_id` AS `cert_id`,
|
||||
`t`.`account` AS `account`,
|
||||
`t`.`acc_number` AS `acc_number`,
|
||||
`t`.`bank_name` AS `bank_name`,
|
||||
`t`.`telephone` AS `telephone`,
|
||||
`t`.`customer_type` AS `customer_type`,
|
||||
`t`.`customername` AS `customer_name`,
|
||||
`t`.`tax_ratio` AS `tax_ratio`,
|
||||
`t`.`full_code` AS `full_code`,
|
||||
`t`.`FPDM` AS `fpdm`,
|
||||
`t`.`FPHM` AS `fphm`,
|
||||
`t`.`plan_list` AS `plan_list`
|
||||
FROM
|
||||
(SELECT
|
||||
`lci`.`ID` AS `id`,
|
||||
`lci`.`CONTRACT_NO` AS `contract_no`,
|
||||
`lri`.`INTEREST` AS `invoice_money`,
|
||||
(SELECT
|
||||
`apzl`.`code_library`.`itemname`
|
||||
FROM
|
||||
`apzl`.`code_library`
|
||||
WHERE (
|
||||
(
|
||||
`apzl`.`code_library`.`codeno` = 'tax_type'
|
||||
)
|
||||
AND (
|
||||
`apzl`.`code_library`.`itemno` = 'interest'
|
||||
)
|
||||
)) AS `tax_type`,
|
||||
`ci`.`certid` AS `cert_id`,
|
||||
`cac`.`account` AS `account`,
|
||||
`cac`.`acc_number` AS `acc_number`,
|
||||
`cac`.`bank_name` AS `bank_name`,
|
||||
`cac`.`MOBILE` AS `telephone`,
|
||||
`ci`.`customertype` AS `customer_type`,
|
||||
`ci`.`customername` AS `customername`,
|
||||
`ti`.`INTEREST_RATE` AS `tax_ratio`,
|
||||
(SELECT
|
||||
`tci`.`full_code`
|
||||
FROM
|
||||
`apzl`.`tax_code_info` `tci`
|
||||
WHERE (`tci`.`tax_type` = 'interest')) AS `full_code`,
|
||||
`lri`.`interest_fpdm` AS `FPDM`,
|
||||
`lri`.`interest_fphm` AS `FPHM`,
|
||||
`lri`.`plan_list` AS `plan_list`
|
||||
FROM
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
`apzl`.`lc_rent_plan` `lrp`
|
||||
LEFT JOIN `apzl`.`lb_contract_info` `lci`
|
||||
ON ((`lrp`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN
|
||||
(SELECT
|
||||
`apzl`.`lc_rent_income`.`PLAN_ID` AS `plan_id`,
|
||||
SUM(
|
||||
IFNULL(
|
||||
`apzl`.`lc_rent_income`.`INTEREST`,
|
||||
0
|
||||
)
|
||||
) AS `INTEREST`,
|
||||
SUM(`apzl`.`lc_rent_income`.`RENT`) AS `rent`,
|
||||
`apzl`.`lc_rent_income`.`INTEREST_FPDM` AS `interest_fpdm`,
|
||||
`apzl`.`lc_rent_income`.`INTEREST_FPHM` AS `interest_fphm`,
|
||||
`apzl`.`lc_rent_income`.`PLAN_LIST` AS `plan_list`
|
||||
FROM
|
||||
`apzl`.`lc_rent_income`
|
||||
WHERE (
|
||||
(
|
||||
`apzl`.`lc_rent_income`.`INTEREST` <> 0.00
|
||||
)
|
||||
AND (
|
||||
ISNULL(
|
||||
`apzl`.`lc_rent_income`.`INTEREST_FPDM`
|
||||
)
|
||||
OR (
|
||||
`apzl`.`lc_rent_income`.`INTEREST_FPDM` = ''
|
||||
)
|
||||
)
|
||||
)
|
||||
GROUP BY `apzl`.`lc_rent_income`.`PLAN_ID`,
|
||||
`apzl`.`lc_rent_income`.`INTEREST_FPDM`,
|
||||
`apzl`.`lc_rent_income`.`INTEREST_FPHM`) `lri`
|
||||
ON ((`lrp`.`ID` = `lri`.`plan_id`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`lb_union_lessee` `lul`
|
||||
ON ((`lul`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_info` `ci`
|
||||
ON (
|
||||
(
|
||||
`ci`.`customerid` = `lul`.`CUSTOMER_ID`
|
||||
)
|
||||
)
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_account` `cac`
|
||||
ON ((`cac`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`tax_info` `ti`
|
||||
ON (
|
||||
(
|
||||
(`ti`.`LEASE_FORM` = '02')
|
||||
AND (
|
||||
`ti`.`ID` = '5ceefeccd3af4db8a98d41c203c9dbe9'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
WHERE (
|
||||
(
|
||||
`lci`.`SUBJECTID` = 'd989246c11c111eaaa0000163e0e11e6'
|
||||
)
|
||||
AND (`lci`.`LEAS_FORM` = '02')
|
||||
AND (
|
||||
`lci`.`CONTRACT_STATUS` IN ('31', '100', '105')
|
||||
)
|
||||
AND (`lri`.`INTEREST` <> 0.00)
|
||||
AND (`lri`.`rent` >= `lrp`.`RENT`)
|
||||
AND (`lul`.`IS_MAIN` = 'Y')
|
||||
)
|
||||
UNION
|
||||
ALL
|
||||
SELECT
|
||||
`lci`.`ID` AS `id`,
|
||||
`lci`.`CONTRACT_NO` AS `contract_no`,
|
||||
`lri`.`penalty` AS `invoice_money`,
|
||||
(SELECT
|
||||
`apzl`.`code_library`.`itemname`
|
||||
FROM
|
||||
`apzl`.`code_library`
|
||||
WHERE (
|
||||
(
|
||||
`apzl`.`code_library`.`codeno` = 'tax_type'
|
||||
)
|
||||
AND (
|
||||
`apzl`.`code_library`.`itemno` = 'penalty'
|
||||
)
|
||||
)) AS `tax_type`,
|
||||
`ci`.`certid` AS `cert_id`,
|
||||
`cac`.`account` AS `account`,
|
||||
`cac`.`acc_number` AS `acc_number`,
|
||||
`cac`.`bank_name` AS `bank_name`,
|
||||
`cac`.`MOBILE` AS `telephone`,
|
||||
`ci`.`customertype` AS `customer_type`,
|
||||
`ci`.`customername` AS `customername`,
|
||||
`ti`.`break_money` AS `tax_ratio`,
|
||||
(SELECT
|
||||
`tci`.`full_code`
|
||||
FROM
|
||||
`apzl`.`tax_code_info` `tci`
|
||||
WHERE (`tci`.`tax_type` = 'penalty')) AS `full_code`,
|
||||
`lri`.`penalty_fpdm` AS `penalty_fpdm`,
|
||||
`lri`.`penalty_fphm` AS `penalty_fphm`,
|
||||
`lri`.`plan_list` AS `plan_list`
|
||||
FROM
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
`apzl`.`lc_rent_plan` `lrp`
|
||||
LEFT JOIN `apzl`.`lb_contract_info` `lci`
|
||||
ON ((`lrp`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN
|
||||
(SELECT
|
||||
`apzl`.`lc_rent_income`.`PLAN_ID` AS `plan_id`,
|
||||
SUM(
|
||||
IFNULL(
|
||||
`apzl`.`lc_rent_income`.`PENALTY`,
|
||||
0
|
||||
)
|
||||
) AS `penalty`,
|
||||
SUM(`apzl`.`lc_rent_income`.`RENT`) AS `rent`,
|
||||
`apzl`.`lc_rent_income`.`PENALTY_FPDM` AS `penalty_fpdm`,
|
||||
`apzl`.`lc_rent_income`.`PENALTY_FPHM` AS `penalty_fphm`,
|
||||
`apzl`.`lc_rent_income`.`PLAN_LIST` AS `plan_list`
|
||||
FROM
|
||||
`apzl`.`lc_rent_income`
|
||||
WHERE (
|
||||
(
|
||||
`apzl`.`lc_rent_income`.`PENALTY` <> 0.00
|
||||
)
|
||||
AND (
|
||||
ISNULL(
|
||||
`apzl`.`lc_rent_income`.`PENALTY_FPDM`
|
||||
)
|
||||
OR (
|
||||
`apzl`.`lc_rent_income`.`PENALTY_FPDM` = ''
|
||||
)
|
||||
)
|
||||
)
|
||||
GROUP BY `apzl`.`lc_rent_income`.`PLAN_ID`,
|
||||
`apzl`.`lc_rent_income`.`PENALTY_FPDM`,
|
||||
`apzl`.`lc_rent_income`.`PENALTY_FPHM`) `lri`
|
||||
ON ((`lrp`.`ID` = `lri`.`plan_id`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`lb_union_lessee` `lul`
|
||||
ON ((`lul`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_info` `ci`
|
||||
ON (
|
||||
(
|
||||
`ci`.`customerid` = `lul`.`CUSTOMER_ID`
|
||||
)
|
||||
)
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_account` `cac`
|
||||
ON ((`cac`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`tax_info` `ti`
|
||||
ON (
|
||||
(
|
||||
(`ti`.`LEASE_FORM` = '02')
|
||||
AND (
|
||||
`ti`.`ID` = '5ceefeccd3af4db8a98d41c203c9dbe9'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
WHERE (
|
||||
(
|
||||
`lci`.`SUBJECTID` = 'd989246c11c111eaaa0000163e0e11e6'
|
||||
)
|
||||
AND (`lci`.`LEAS_FORM` = '02')
|
||||
AND (
|
||||
`lci`.`CONTRACT_STATUS` IN ('31', '100', '105')
|
||||
)
|
||||
AND (`lri`.`penalty` <> 0.00)
|
||||
AND (`lri`.`rent` >= `lrp`.`RENT`)
|
||||
AND (`lul`.`IS_MAIN` = 'Y')
|
||||
)
|
||||
UNION
|
||||
ALL
|
||||
SELECT
|
||||
`lci`.`ID` AS `id`,
|
||||
`lci`.`CONTRACT_NO` AS `contract_no`,
|
||||
`lfi`.`FACT_MONEY` AS `invoice_money`,
|
||||
(SELECT
|
||||
`apzl`.`code_library`.`itemname`
|
||||
FROM
|
||||
`apzl`.`code_library`
|
||||
WHERE (
|
||||
(
|
||||
`apzl`.`code_library`.`codeno` = 'tax_type'
|
||||
)
|
||||
AND (
|
||||
`apzl`.`code_library`.`itemno` = 'handle_price'
|
||||
)
|
||||
)) AS `tax_type`,
|
||||
`ci`.`certid` AS `cert_id`,
|
||||
`cac`.`account` AS `account`,
|
||||
`cac`.`acc_number` AS `acc_number`,
|
||||
`cac`.`bank_name` AS `bank_name`,
|
||||
`cac`.`MOBILE` AS `telephone`,
|
||||
`ci`.`customertype` AS `customer_type`,
|
||||
`ci`.`customername` AS `customername`,
|
||||
`ti`.`HAND_RATE` AS `tax_ratio`,
|
||||
(SELECT
|
||||
`tci`.`full_code`
|
||||
FROM
|
||||
`apzl`.`tax_code_info` `tci`
|
||||
WHERE (
|
||||
`tci`.`tax_type` = 'handle_price'
|
||||
)) AS `full_code`,
|
||||
`lfi`.`FPDM` AS `FPDM`,
|
||||
`lfi`.`FPHM` AS `FPHM`,
|
||||
'1' AS `plan_list`
|
||||
FROM
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
`apzl`.`lc_fund_income` `lfi`
|
||||
LEFT JOIN `apzl`.`lb_contract_info` `lci`
|
||||
ON ((`lfi`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`lb_union_lessee` `lul`
|
||||
ON ((`lul`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_info` `ci`
|
||||
ON (
|
||||
(
|
||||
`ci`.`customerid` = `lul`.`CUSTOMER_ID`
|
||||
)
|
||||
)
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_account` `cac`
|
||||
ON ((`cac`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`tax_info` `ti`
|
||||
ON (
|
||||
(
|
||||
(`ti`.`LEASE_FORM` = '02')
|
||||
AND (
|
||||
`ti`.`ID` = '5ceefeccd3af4db8a98d41c203c9dbe9'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
WHERE (
|
||||
(
|
||||
ISNULL(`lfi`.`FPDM`)
|
||||
OR (`lfi`.`FPDM` = '')
|
||||
)
|
||||
AND (
|
||||
`lci`.`SUBJECTID` = 'd989246c11c111eaaa0000163e0e11e6'
|
||||
)
|
||||
AND (`lci`.`LEAS_FORM` = '02')
|
||||
AND (`lci`.`CONTRACT_STATUS` >= '31')
|
||||
AND (`lfi`.`FEE_TYPE` = 'feetype1')
|
||||
AND (`lfi`.`PAY_TYPE` = 'pay_type_in')
|
||||
AND (
|
||||
(
|
||||
(
|
||||
`lfi`.`SETTLE_METHOD` = 'settlemethod11'
|
||||
)
|
||||
AND (
|
||||
`lfi`.`PAY_STATUS` = 'apply_pass'
|
||||
)
|
||||
)
|
||||
OR (`lfi`.`PAY_STATUS` = 'have_paid')
|
||||
)
|
||||
AND (`lul`.`IS_MAIN` = 'Y')
|
||||
)
|
||||
GROUP BY `lfi`.`PLAN_ID`,
|
||||
`lfi`.`FPDM`,
|
||||
`lfi`.`FPHM`
|
||||
UNION
|
||||
ALL
|
||||
SELECT
|
||||
`lci`.`ID` AS `id`,
|
||||
`lci`.`CONTRACT_NO` AS `contract_no`,
|
||||
`lfi`.`FACT_MONEY` AS `invoice_money`,
|
||||
(SELECT
|
||||
`apzl`.`code_library`.`itemname`
|
||||
FROM
|
||||
`apzl`.`code_library`
|
||||
WHERE (
|
||||
(
|
||||
`apzl`.`code_library`.`codeno` = 'tax_type'
|
||||
)
|
||||
AND (
|
||||
`apzl`.`code_library`.`itemno` = 'nominal_price'
|
||||
)
|
||||
)) AS `tax_type`,
|
||||
`ci`.`certid` AS `cert_id`,
|
||||
`cac`.`account` AS `account`,
|
||||
`cac`.`acc_number` AS `acc_number`,
|
||||
`cac`.`bank_name` AS `bank_name`,
|
||||
`cac`.`MOBILE` AS `telephone`,
|
||||
`ci`.`customertype` AS `customer_type`,
|
||||
`ci`.`customername` AS `customername`,
|
||||
`ti`.`NOMINAL_RATE` AS `tax_ratio`,
|
||||
(SELECT
|
||||
`tci`.`full_code`
|
||||
FROM
|
||||
`apzl`.`tax_code_info` `tci`
|
||||
WHERE (
|
||||
`tci`.`tax_type` = 'nominal_price'
|
||||
)) AS `full_code`,
|
||||
`lfi`.`FPDM` AS `FPDM`,
|
||||
`lfi`.`FPHM` AS `FPHM`,
|
||||
'1' AS `plan_list`
|
||||
FROM
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
`apzl`.`lc_fund_income` `lfi`
|
||||
LEFT JOIN `apzl`.`lb_contract_info` `lci`
|
||||
ON ((`lfi`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`lb_union_lessee` `lul`
|
||||
ON ((`lul`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_info` `ci`
|
||||
ON (
|
||||
(
|
||||
`ci`.`customerid` = `lul`.`CUSTOMER_ID`
|
||||
)
|
||||
)
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_account` `cac`
|
||||
ON ((`cac`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`tax_info` `ti`
|
||||
ON (
|
||||
(
|
||||
(`ti`.`LEASE_FORM` = '02')
|
||||
AND (
|
||||
`ti`.`ID` = '5ceefeccd3af4db8a98d41c203c9dbe9'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
WHERE (
|
||||
ISNULL(`lfi`.`FPDM`)
|
||||
OR (
|
||||
(`lfi`.`FPDM` = '')
|
||||
AND (
|
||||
`lci`.`SUBJECTID` = 'd989246c11c111eaaa0000163e0e11e6'
|
||||
)
|
||||
AND (`lci`.`LEAS_FORM` = '02')
|
||||
AND (
|
||||
`lci`.`CONTRACT_STATUS` IN ('31', '100', '105')
|
||||
)
|
||||
AND (`lfi`.`FEE_TYPE` = 'feetype4')
|
||||
AND (`lfi`.`PAY_TYPE` = 'pay_type_in')
|
||||
AND (
|
||||
(
|
||||
(
|
||||
`lfi`.`SETTLE_METHOD` = 'settlemethod11'
|
||||
)
|
||||
AND (
|
||||
`lfi`.`PAY_STATUS` = 'apply_pass'
|
||||
)
|
||||
)
|
||||
OR (`lfi`.`PAY_STATUS` = 'have_paid')
|
||||
)
|
||||
)
|
||||
)
|
||||
GROUP BY `lfi`.`PLAN_ID`,
|
||||
`lfi`.`FPDM`,
|
||||
`lfi`.`FPHM`
|
||||
UNION
|
||||
ALL
|
||||
SELECT
|
||||
`lci`.`ID` AS `id`,
|
||||
`lci`.`CONTRACT_NO` AS `contract_no`,
|
||||
`lfi`.`FACT_MONEY` AS `invoice_money`,
|
||||
(SELECT
|
||||
`apzl`.`code_library`.`itemname`
|
||||
FROM
|
||||
`apzl`.`code_library`
|
||||
WHERE (
|
||||
(
|
||||
`apzl`.`code_library`.`codeno` = 'tax_type'
|
||||
)
|
||||
AND (
|
||||
`apzl`.`code_library`.`itemno` = 'break_price'
|
||||
)
|
||||
)) AS `tax_type`,
|
||||
`ci`.`certid` AS `cert_id`,
|
||||
`cac`.`account` AS `account`,
|
||||
`cac`.`acc_number` AS `acc_number`,
|
||||
`cac`.`bank_name` AS `bank_name`,
|
||||
`cac`.`MOBILE` AS `telephone`,
|
||||
`ci`.`customertype` AS `customer_type`,
|
||||
`ci`.`customername` AS `customername`,
|
||||
`ti`.`penalty` AS `tax_ratio`,
|
||||
(SELECT
|
||||
`tci`.`full_code`
|
||||
FROM
|
||||
`apzl`.`tax_code_info` `tci`
|
||||
WHERE (`tci`.`tax_type` = 'break_price')) AS `full_code`,
|
||||
`lfi`.`FPDM` AS `FPDM`,
|
||||
`lfi`.`FPHM` AS `FPHM`,
|
||||
'1' AS `plan_list`
|
||||
FROM
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
`apzl`.`lc_fund_income` `lfi`
|
||||
LEFT JOIN `apzl`.`lb_contract_info` `lci`
|
||||
ON ((`lfi`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`lb_union_lessee` `lul`
|
||||
ON ((`lul`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_info` `ci`
|
||||
ON (
|
||||
(
|
||||
`ci`.`customerid` = `lul`.`CUSTOMER_ID`
|
||||
)
|
||||
)
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_account` `cac`
|
||||
ON ((`cac`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`tax_info` `ti`
|
||||
ON (
|
||||
(
|
||||
(`ti`.`LEASE_FORM` = '02')
|
||||
AND (
|
||||
`ti`.`ID` = '5ceefeccd3af4db8a98d41c203c9dbe9'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
WHERE (
|
||||
ISNULL(`lfi`.`FPDM`)
|
||||
OR (
|
||||
(`lfi`.`FPDM` = '')
|
||||
AND (
|
||||
`lci`.`SUBJECTID` = 'd989246c11c111eaaa0000163e0e11e6'
|
||||
)
|
||||
AND (`lci`.`LEAS_FORM` = '02')
|
||||
AND (
|
||||
`lci`.`CONTRACT_STATUS` IN ('31', '100', '105')
|
||||
)
|
||||
AND (`lfi`.`FEE_TYPE` = 'feetype30')
|
||||
AND (`lfi`.`PAY_TYPE` = 'pay_type_in')
|
||||
AND (
|
||||
(
|
||||
(
|
||||
`lfi`.`SETTLE_METHOD` = 'settlemethod11'
|
||||
)
|
||||
AND (
|
||||
`lfi`.`PAY_STATUS` = 'apply_pass'
|
||||
)
|
||||
)
|
||||
OR (`lfi`.`PAY_STATUS` = 'have_paid')
|
||||
)
|
||||
)
|
||||
)
|
||||
GROUP BY `lfi`.`PLAN_ID`,
|
||||
`lfi`.`FPDM`,
|
||||
`lfi`.`FPHM`) `t`) $$
|
||||
|
||||
DELIMITER ;
|
||||
|
||||
372
src_sql/view/vi_li_invoice_tj_leasedirect.sql
Normal file
372
src_sql/view/vi_li_invoice_tj_leasedirect.sql
Normal file
@ -0,0 +1,372 @@
|
||||
DELIMITER $$
|
||||
create VIEW `vi_li_invoice_tj_leasedirect` AS
|
||||
(SELECT
|
||||
`t`.`id` AS `contract_id`,
|
||||
`t`.`contract_no` AS `contract_no`,
|
||||
`t`.`invoice_money` AS `invoice_money`,
|
||||
`t`.`tax_type` AS `tax_type`,
|
||||
`t`.`cert_id` AS `cert_id`,
|
||||
`t`.`account` AS `account`,
|
||||
`t`.`acc_number` AS `acc_number`,
|
||||
`t`.`bank_name` AS `bank_name`,
|
||||
`t`.`telephone` AS `telephone`,
|
||||
`t`.`customer_type` AS `customer_type`,
|
||||
`t`.`customername` AS `customer_name`,
|
||||
`t`.`tax_ratio` AS `tax_ratio`
|
||||
FROM
|
||||
(SELECT
|
||||
`lci`.`ID` AS `id`,
|
||||
`lci`.`CONTRACT_NO` AS `contract_no`,
|
||||
`lrp`.`RENT` AS `invoice_money`,
|
||||
'租金' AS `tax_type`,
|
||||
`ci`.`certid` AS `cert_id`,
|
||||
`cac`.`account` AS `account`,
|
||||
`cac`.`acc_number` AS `acc_number`,
|
||||
`cac`.`bank_name` AS `bank_name`,
|
||||
`cac`.`MOBILE` AS `telephone`,
|
||||
`ci`.`customertype` AS `customer_type`,
|
||||
`ci`.`customername` AS `customername`,
|
||||
`ti`.`rent` AS `tax_ratio`
|
||||
FROM
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
`apzl`.`lc_rent_plan` `lrp`
|
||||
LEFT JOIN `apzl`.`lb_contract_info` `lci`
|
||||
ON ((`lrp`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN
|
||||
(SELECT
|
||||
`apzl`.`lc_rent_income`.`PLAN_ID` AS `plan_id`,
|
||||
SUM(`apzl`.`lc_rent_income`.`RENT`) AS `rent`
|
||||
FROM
|
||||
`apzl`.`lc_rent_income`
|
||||
GROUP BY `apzl`.`lc_rent_income`.`PLAN_ID`) `lri`
|
||||
ON ((`lrp`.`ID` = `lri`.`plan_id`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`lb_union_lessee` `lul`
|
||||
ON ((`lul`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_info` `ci`
|
||||
ON (
|
||||
(
|
||||
`ci`.`customerid` = `lul`.`CUSTOMER_ID`
|
||||
)
|
||||
)
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_account` `cac`
|
||||
ON ((`cac`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`tax_info` `ti`
|
||||
ON (
|
||||
(
|
||||
(`ti`.`LEASE_FORM` = '01')
|
||||
AND (
|
||||
`ti`.`ID` = '7672ff2fa48046ebbaf905c02e993221'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
WHERE (
|
||||
(
|
||||
`lci`.`SUBJECTID` = 'd989246c11c111eaaa0000163e0e11e6'
|
||||
)
|
||||
AND (`lci`.`LEAS_FORM` = '01')
|
||||
AND (
|
||||
`lci`.`CONTRACT_STATUS` IN ('31', '100', '105')
|
||||
)
|
||||
AND (`lrp`.`RENT` <> 0.00)
|
||||
AND (`lri`.`rent` >= `lrp`.`RENT`)
|
||||
AND (`lul`.`IS_MAIN` = 'Y')
|
||||
)
|
||||
UNION
|
||||
ALL
|
||||
SELECT
|
||||
`lci`.`ID` AS `id`,
|
||||
`lci`.`CONTRACT_NO` AS `contract_no`,
|
||||
`lri`.`penalty` AS `invoice_money`,
|
||||
'罚息利息' AS `tax_type`,
|
||||
`ci`.`certid` AS `cert_id`,
|
||||
`cac`.`account` AS `account`,
|
||||
`cac`.`acc_number` AS `acc_number`,
|
||||
`cac`.`bank_name` AS `bank_name`,
|
||||
`cac`.`MOBILE` AS `telephone`,
|
||||
`ci`.`customertype` AS `customer_type`,
|
||||
`ci`.`customername` AS `customername`,
|
||||
`ti`.`break_money` AS `tax_ratio`
|
||||
FROM
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
`apzl`.`lc_rent_plan` `lrp`
|
||||
LEFT JOIN `apzl`.`lb_contract_info` `lci`
|
||||
ON ((`lrp`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN
|
||||
(SELECT
|
||||
`apzl`.`lc_rent_income`.`PLAN_ID` AS `plan_id`,
|
||||
SUM(
|
||||
IFNULL(
|
||||
`apzl`.`lc_rent_income`.`PENALTY`,
|
||||
0
|
||||
)
|
||||
) AS `penalty`,
|
||||
SUM(`apzl`.`lc_rent_income`.`RENT`) AS `rent`
|
||||
FROM
|
||||
`apzl`.`lc_rent_income`
|
||||
GROUP BY `apzl`.`lc_rent_income`.`PLAN_ID`) `lri`
|
||||
ON ((`lrp`.`ID` = `lri`.`plan_id`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`lb_union_lessee` `lul`
|
||||
ON ((`lul`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_info` `ci`
|
||||
ON (
|
||||
(
|
||||
`ci`.`customerid` = `lul`.`CUSTOMER_ID`
|
||||
)
|
||||
)
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_account` `cac`
|
||||
ON ((`cac`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`tax_info` `ti`
|
||||
ON (
|
||||
(
|
||||
(`ti`.`LEASE_FORM` = '01')
|
||||
AND (
|
||||
`ti`.`ID` = '7672ff2fa48046ebbaf905c02e993221'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
WHERE (
|
||||
(
|
||||
`lci`.`SUBJECTID` = 'd989246c11c111eaaa0000163e0e11e6'
|
||||
)
|
||||
AND (`lci`.`LEAS_FORM` = '01')
|
||||
AND (
|
||||
`lci`.`CONTRACT_STATUS` IN ('31', '100', '105')
|
||||
)
|
||||
AND (`lri`.`penalty` <> 0.00)
|
||||
AND (`lri`.`rent` >= `lrp`.`RENT`)
|
||||
AND (`lul`.`IS_MAIN` = 'Y')
|
||||
)
|
||||
UNION
|
||||
ALL
|
||||
SELECT
|
||||
`lci`.`ID` AS `id`,
|
||||
`lci`.`CONTRACT_NO` AS `contract_no`,
|
||||
`lfi`.`FACT_MONEY` AS `invoice_money`,
|
||||
'手续费' AS `tax_type`,
|
||||
`ci`.`certid` AS `cert_id`,
|
||||
`cac`.`account` AS `account`,
|
||||
`cac`.`acc_number` AS `acc_number`,
|
||||
`cac`.`bank_name` AS `bank_name`,
|
||||
`cac`.`MOBILE` AS `telephone`,
|
||||
`ci`.`customertype` AS `customer_type`,
|
||||
`ci`.`customername` AS `customername`,
|
||||
`ti`.`HAND_RATE` AS `tax_ratio`
|
||||
FROM
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
`apzl`.`lc_fund_income` `lfi`
|
||||
LEFT JOIN `apzl`.`lb_contract_info` `lci`
|
||||
ON ((`lfi`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`lb_union_lessee` `lul`
|
||||
ON ((`lul`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_info` `ci`
|
||||
ON (
|
||||
(
|
||||
`ci`.`customerid` = `lul`.`CUSTOMER_ID`
|
||||
)
|
||||
)
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_account` `cac`
|
||||
ON ((`cac`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`tax_info` `ti`
|
||||
ON (
|
||||
(
|
||||
(`ti`.`LEASE_FORM` = '01')
|
||||
AND (
|
||||
`ti`.`ID` = '7672ff2fa48046ebbaf905c02e993221'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
WHERE (
|
||||
(
|
||||
`lci`.`SUBJECTID` = 'd989246c11c111eaaa0000163e0e11e6'
|
||||
)
|
||||
AND (`lci`.`LEAS_FORM` = '01')
|
||||
AND (`lci`.`CONTRACT_STATUS` >= '31')
|
||||
AND (`lfi`.`FEE_TYPE` = 'feetype1')
|
||||
AND (`lfi`.`PAY_TYPE` = 'pay_type_in')
|
||||
AND (
|
||||
(
|
||||
(
|
||||
`lfi`.`SETTLE_METHOD` = 'settlemethod11'
|
||||
)
|
||||
AND (
|
||||
`lfi`.`PAY_STATUS` = 'apply_pass'
|
||||
)
|
||||
)
|
||||
OR (`lfi`.`PAY_STATUS` = 'have_paid')
|
||||
)
|
||||
AND (`lul`.`IS_MAIN` = 'Y')
|
||||
)
|
||||
UNION
|
||||
ALL
|
||||
SELECT
|
||||
`lci`.`ID` AS `id`,
|
||||
`lci`.`CONTRACT_NO` AS `contract_no`,
|
||||
`lfi`.`FACT_MONEY` AS `invoice_money`,
|
||||
'留购价款' AS `tax_type`,
|
||||
`ci`.`certid` AS `cert_id`,
|
||||
`cac`.`account` AS `account`,
|
||||
`cac`.`acc_number` AS `acc_number`,
|
||||
`cac`.`bank_name` AS `bank_name`,
|
||||
`cac`.`MOBILE` AS `telephone`,
|
||||
`ci`.`customertype` AS `customer_type`,
|
||||
`ci`.`customername` AS `customername`,
|
||||
`ti`.`NOMINAL_RATE` AS `tax_ratio`
|
||||
FROM
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
`apzl`.`lc_fund_income` `lfi`
|
||||
LEFT JOIN `apzl`.`lb_contract_info` `lci`
|
||||
ON ((`lfi`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`lb_union_lessee` `lul`
|
||||
ON ((`lul`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_info` `ci`
|
||||
ON (
|
||||
(
|
||||
`ci`.`customerid` = `lul`.`CUSTOMER_ID`
|
||||
)
|
||||
)
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_account` `cac`
|
||||
ON ((`cac`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`tax_info` `ti`
|
||||
ON (
|
||||
(
|
||||
(`ti`.`LEASE_FORM` = '01')
|
||||
AND (
|
||||
`ti`.`ID` = '7672ff2fa48046ebbaf905c02e993221'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
WHERE (
|
||||
(
|
||||
`lci`.`SUBJECTID` = 'd989246c11c111eaaa0000163e0e11e6'
|
||||
)
|
||||
AND (`lci`.`LEAS_FORM` = '01')
|
||||
AND (
|
||||
`lci`.`CONTRACT_STATUS` IN ('31', '100', '105')
|
||||
)
|
||||
AND (`lfi`.`FEE_TYPE` = 'feetype4')
|
||||
AND (`lfi`.`PAY_TYPE` = 'pay_type_in')
|
||||
AND (
|
||||
(
|
||||
(
|
||||
`lfi`.`SETTLE_METHOD` = 'settlemethod11'
|
||||
)
|
||||
AND (
|
||||
`lfi`.`PAY_STATUS` = 'apply_pass'
|
||||
)
|
||||
)
|
||||
OR (`lfi`.`PAY_STATUS` = 'have_paid')
|
||||
)
|
||||
)
|
||||
UNION
|
||||
ALL
|
||||
SELECT
|
||||
`lci`.`ID` AS `id`,
|
||||
`lci`.`CONTRACT_NO` AS `contract_no`,
|
||||
`lfi`.`FACT_MONEY` AS `invoice_money`,
|
||||
'违约金' AS `tax_type`,
|
||||
`ci`.`certid` AS `cert_id`,
|
||||
`cac`.`account` AS `account`,
|
||||
`cac`.`acc_number` AS `acc_number`,
|
||||
`cac`.`bank_name` AS `bank_name`,
|
||||
`cac`.`MOBILE` AS `telephone`,
|
||||
`ci`.`customertype` AS `customer_type`,
|
||||
`ci`.`customername` AS `customername`,
|
||||
`ti`.`penalty` AS `tax_ratio`
|
||||
FROM
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
(
|
||||
`apzl`.`lc_fund_income` `lfi`
|
||||
LEFT JOIN `apzl`.`lb_contract_info` `lci`
|
||||
ON ((`lfi`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`lb_union_lessee` `lul`
|
||||
ON ((`lul`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_info` `ci`
|
||||
ON (
|
||||
(
|
||||
`ci`.`customerid` = `lul`.`CUSTOMER_ID`
|
||||
)
|
||||
)
|
||||
)
|
||||
LEFT JOIN `apzl`.`customer_account` `cac`
|
||||
ON ((`cac`.`CONTRACT_ID` = `lci`.`ID`))
|
||||
)
|
||||
LEFT JOIN `apzl`.`tax_info` `ti`
|
||||
ON (
|
||||
(
|
||||
(`ti`.`LEASE_FORM` = '01')
|
||||
AND (
|
||||
`ti`.`ID` = '7672ff2fa48046ebbaf905c02e993221'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
WHERE (
|
||||
(
|
||||
`lci`.`SUBJECTID` = 'd989246c11c111eaaa0000163e0e11e6'
|
||||
)
|
||||
AND (`lci`.`LEAS_FORM` = '01')
|
||||
AND (
|
||||
`lci`.`CONTRACT_STATUS` IN ('31', '100', '105')
|
||||
)
|
||||
AND (`lfi`.`FEE_TYPE` = 'feetype30')
|
||||
AND (`lfi`.`PAY_TYPE` = 'pay_type_in')
|
||||
AND (
|
||||
(
|
||||
(
|
||||
`lfi`.`SETTLE_METHOD` = 'settlemethod11'
|
||||
)
|
||||
AND (
|
||||
`lfi`.`PAY_STATUS` = 'apply_pass'
|
||||
)
|
||||
)
|
||||
OR (`lfi`.`PAY_STATUS` = 'have_paid')
|
||||
)
|
||||
)) `t`) $$
|
||||
|
||||
DELIMITER ;
|
||||
|
||||
@ -147,9 +147,9 @@ delete from AWE_DO_CATALOG where dono='BankCollectTypeConfigInfo';
|
||||
delete from awe_do_library where dono='BankCollectTypeConfigInfo';
|
||||
Insert Into AWE_DO_CATALOG (dono,doname,dodescribe,dotype,doclass,isinuse,colcount,modeid,jboclass,jbofrom,jbowhere,jbogroup,jboorder,businessprocess,exportflag,inputuser,inputtime,updateuser,updatetime,remark,isvalidate,parent) Values ('BankCollectTypeConfigInfo','银行扣款方式配置',null,'30020',null,'1','1','default','jbo.loan.BANK_COLLECT_TYPE_CONFIG','O','id=:id','','','com.amarsoft.awe.dw.handler.impl.CommonHandler',null,'SYS_Designer','2020/10/22 11:42:42','SYS_Designer','2020/10/23 10:11:02','','0','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('BankCollectTypeConfigInfo','1000','1000','1','O','id','id','String','','id','','1','Text','1','1','','','','32','0','0','0','0','0',1,'0','','','SYS_Designer','2020/10/22 11:42:42','SYS_Designer','2020/10/23 10:11:02','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('BankCollectTypeConfigInfo','1010','1010','1','O','bank_code','bank_code','String','','银行代码','','1','Text','1','1','','','','100','1','1','0','1','0',1,'0','','','SYS_Designer','2020/10/22 11:42:42','SYS_Designer','2020/10/23 10:11:02','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('BankCollectTypeConfigInfo','1020','1020','1','O','bank_name','bank_name','String','','银行名称','','1','Text','1','1','','','',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/10/22 11:42:42','SYS_Designer','2020/10/23 10:11:02','','','1','','','selectBankType()','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('BankCollectTypeConfigInfo','1030','1030','1','O','collect_type','collect_type','String','','扣款方式','','1','Select','1','1','CodeTable','YLcollect,银联扣款,TLcollect,通联扣款','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/10/22 11:42:42','SYS_Designer','2020/10/23 10:11:03','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('BankCollectTypeConfigInfo','1010','1010','1','O','bank_code','bank_code','String','','银行代码','','1','Text','1','1','','','','100','1','1','1','1','0',1,'0','','','SYS_Designer','2020/10/22 11:42:42','SYS_Designer','2020/10/23 16:48:43','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('BankCollectTypeConfigInfo','1020','1020','1','O','bank_name','bank_name','String','','银行名称','','1','Text','1','1','','','',null,'1','1','1','1','0',0,'','','','SYS_Designer','2020/10/22 11:42:42','SYS_Designer','2020/10/23 16:48:43','','','1','','','selectBankType()','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('BankCollectTypeConfigInfo','1030','1030','1','O','collect_type','collect_type','String','','扣款方式','','1','Select','1','1','CodeTable','YLcollect,银联扣款,TLcollect,通联扣款','',null,'1','0','1','1','0',0,'','','','SYS_Designer','2020/10/22 11:42:42','SYS_Designer','2020/10/23 16:48:43','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('BankCollectTypeConfigInfo','1120','1130','1','O','inputtime','inputtime','String','','登记时间','','1','Date','3','2','','','','20','0','0','0','1','0',1,'0','','','SYS_Designer','2020/10/22 11:42:42','SYS_Designer','2020/10/23 10:11:03','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('BankCollectTypeConfigInfo','1130','1150','1','O','updatetime','updatetime','String','','更新时间','','1','Date','3','2','','','','20','0','0','0','1','0',1,'0','','','SYS_Designer','2020/10/22 11:42:42','SYS_Designer','2020/10/23 10:11:03','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('BankCollectTypeConfigInfo','1140','1120','1','O','inputuserid','inputuserid','String','','登记人','','1','Text','1','1','','','','32','0','0','0','1','0',1,'0','','','SYS_Designer','2020/10/22 11:42:42','SYS_Designer','2020/10/23 10:11:03','0','','1','','','','');
|
||||
@ -159,4 +159,254 @@ Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualn
|
||||
delete from SELECT_CATALOG where selname='selectBankType';
|
||||
Insert Into SELECT_CATALOG (selname,seltype,seldescribe,seltablename,selprimarykey,selbrowsemode,selargs,selhidefield,selcode,selfieldname,selfielddisp,selreturnvalue,selfilterfield,isinuse,mutilorsingle,attribute1,attribute2,attribute3,attribute4,attribute5,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('selectBankType','Sql','查询银行名称','bank_code','bank_code','Grid','','','SELECT bank_code,bank_name from bank_code','银行编号,银行名称','','bank_code@bank_name','bank_name','1','Single','','','','','','SYS_Designer','','2020/10/21 18:46:44','SYS_Designer','2020/10/21 18:48:37','');
|
||||
|
||||
--
|
||||
-- 新建bank_code表
|
||||
create table `bank_code` (
|
||||
`bank_code` varchar (10),
|
||||
`bank_name` varchar (20)
|
||||
);
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('100','邮政银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('102','工商银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('103','农业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('104','中国银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('105','建设银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('301','交通银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('302','中信银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('303','光大银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('304','华夏银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('305','民生银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('306','广发银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('307','平安银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('308','招商银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('309','兴业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('310','浦发银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('311','恒丰银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('313','华融湘江银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('316','浙商银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('317','渤海银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('321','重庆三峡银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('401','上海银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('402','厦门银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('403','北京银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('404','烟台银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('405','福建海峡银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('408','宁波银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('409','齐鲁银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('410','福州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('411','焦作市商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('412','温州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('413','广州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('414','汉口银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('415','甘肃银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('417','盛京银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('418','洛阳银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('419','辽阳银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('420','大连银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('421','苏州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('422','河北银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('423','杭州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('424','南京银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('425','东莞银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('426','金华银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('427','乌鲁木齐商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('428','绍兴银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('429','成都银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('430','抚顺银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('431','临商银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('432','湖北银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('433','葫芦岛银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('434','天津银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('435','郑州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('436','宁夏银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('437','珠海华润银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('438','齐商银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('439','锦州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('440','徽商银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('441','重庆银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('442','哈尔滨银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('443','贵州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('444','西安银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('446','丹东银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('447','兰州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('448','江西银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('449','晋商银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('450','青岛银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('451','吉林银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('454','九江银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('455','日照银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('456','鞍山银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('457','秦皇岛商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('458','青海银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('459','台州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('461','长沙银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('462','潍坊银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('463','赣州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('464','泉州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('465','营口银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('466','富滇银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('467','阜新银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('470','嘉兴银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('472','廊坊银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('473','浙江泰隆商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('474','内蒙古银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('475','湖州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('478','广西北部湾银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('479','包商银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('481','威海市商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('483','攀枝花市商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('485','绵阳市商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('486','泸州市商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('487','大同市商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('488','三门峡银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('489','广东南粤银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('490','张家口市商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('491','桂林银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('493','苏州长江商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('495','柳州银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('496','南充市商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('497','莱商银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('498','德阳银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('499','新疆银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('500','六盘水市商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('502','曲靖市商业银行');
|
||||
insert into `bank_code` (`bank_code`, `bank_name`) values('701','昆仑银行');
|
||||
|
||||
-- 定时任务
|
||||
delete from Code_Library where codeno='MissionName' and itemno='com.tenwa.lease.app.quartzmession.BankCollectTypeAutoChange';
|
||||
Insert Into Code_Library (codeno,itemno,itemname,bankno,sortno,isinuse,itemdescribe,itemattribute,relativecode,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,inputuser,inputorg,inputtime,updateuser,updatetime,remark,helptext) Values ('MissionName','com.tenwa.lease.app.quartzmession.BankCollectTypeAutoChange','个别合同扣款方式自动变更','','25427413','1','个别合同扣款方式自动变更','','','','','','','','','','','SYS_Designer',null,'2020/10/23 16:06:31','SYS_Designer','2020/10/23 16:06:31','','');
|
||||
delete FROM FLOW_MODEL WHERE flowno='ActualPaymentCarFLow' AND phaseno='1000';
|
||||
insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('ActualPaymentCarFLow','1000','1040','结束',NULL,NULL,'!基础操作.实际付款临时到正式表-汽车(#ObjectNo)+!基础操作.投放后起租(#ObjectNo)+!基础操作.业务状态表录入与业务详情表更新(#ObjectNo,31)+!审批流程.起租后插入银行扣款方式(#ObjectNo)+!基础操作.北汽财务付款信息更新(#ObjectNo)+!审批流程.凭证输出--起租放款类凭证(#ObjectNo)','{\"system\"}',NULL,'commroute',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'378','387','50','50','1',NULL,'END',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||
delete from class_method where methodname='起租后插入银行扣款方式';
|
||||
INSERT INTO `class_method` (`classname`, `methodname`, `methodtype`, `methoddescribe`, `returntype`, `methodargs`, `methodcode`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) VALUES('审批流程','起租后插入银行扣款方式','Bizlet','起租后插入银行扣款方式','String','String ObjectNo','com.tenwa.flow.fund.actualpayment.CustomerAccountCollectTypeModify','','','','','','');
|
||||
|
||||
-- DebitCardInfo模板
|
||||
DELETE FROM awe_do_library WHERE dono='DebitCardInfo';
|
||||
DELETE FROM AWE_DO_CATALOG WHERE dono='DebitCardInfo';
|
||||
INSERT INTO AWE_DO_CATALOG (dono,doname,dodescribe,dotype,doclass,isinuse,colcount,modeid,jboclass,jbofrom,jbowhere,jbogroup,jboorder,businessprocess,exportflag,inputuser,inputtime,updateuser,updatetime,remark,isvalidate,parent) VALUES ('DebitCardInfo','扣款卡信息',NULL,'30',NULL,'1','2','default','jbo.app.tenwa.customer.CUSTOMER_ACCOUNT_TEMP','O','O.flowunid=:flowunid and acc_type=''Debit''',NULL,NULL,'com.amarsoft.awe.dw.handler.impl.CommonHandler',NULL,'SYS_Designer','2017/07/11 12:59:56','SYS_Designer','2018/07/30 21:00:10',NULL,'1',NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1000','1000','1','O','id','id','String',NULL,'id',NULL,'1','Text','1','1',NULL,NULL,NULL,'32','0','0','0','1','1',1,'0',NULL,NULL,'SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1010','1020','1','O','acc_number','acc_number','String',NULL,'银行账号',NULL,'1','Text','1','1',NULL,NULL,'style={width:53%;}','32','1','0','1','1','1',1,'0','0010',NULL,'SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32','0',NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1020','1030','1','O','bank_name','bank_name','String','','开户银行(全名)','','1','Text','1','1','','','style={width:80%;}','200','1','0','1','1','1',2,'0','0010','','SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32','0','','1','','','',NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1030','1010','1','O','account','account','String',NULL,'账户名称',NULL,'1','Text','1','1',NULL,NULL,NULL,'100','1','1','1','1','1',1,'0','0010',NULL,'SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32','0',NULL,'1',NULL,NULL,'autoSetCustId()',NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1040','1040','1','O','is_main','is_main','String',NULL,'是否主账号',NULL,'1','Text','1','1',NULL,NULL,NULL,'32','0','0','0','1','1',1,'0',NULL,NULL,'SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1050','1050','1','O','acc_info','acc_info','String','Debit','帐户使用情况',NULL,'1','Text','1','1',NULL,NULL,NULL,'600','0','0','0','1','1',1,'0',NULL,NULL,'SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1060','1060','1','O','customerid','customerid','String',NULL,'客户id',NULL,'1','Text','1','1',NULL,NULL,NULL,'32','0','0','0','1','1',1,'0',NULL,NULL,'SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1070','1070','1','O','inputuserid','inputuserid','String',NULL,'录入人',NULL,'1','Text','1','1',NULL,NULL,NULL,'32','0','0','0','1','1',1,'0',NULL,NULL,'SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1080','1080','1','O','inputorgid','inputorgid','String',NULL,'录入机构',NULL,'1','Text','1','1',NULL,NULL,NULL,'32','0','0','0','1','1',1,'0',NULL,NULL,'SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1090','1090','1','O','updateuserid','updateuserid','String',NULL,'更新人',NULL,'1','Text','1','1',NULL,NULL,NULL,'32','0','0','0','1','1',1,'0',NULL,NULL,'SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1100','1100','1','O','updateorgid','updateorgid','String',NULL,'更新机构',NULL,'1','Text','1','1',NULL,NULL,NULL,'32','0','0','0','1','1',1,'0',NULL,NULL,'SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1110','1110','1','O','inputtime','inputtime','String',NULL,'登记时间',NULL,'1','Date','3','2',NULL,NULL,NULL,'32','0','0','0','1','1',1,'0',NULL,NULL,'SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1120','1120','1','O','updatetime','updatetime','String',NULL,'更新时间',NULL,'1','Date','3','2',NULL,NULL,NULL,'32','0','0','0','1','1',1,'0',NULL,NULL,'SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1130','1130','1','O','flowunid','flowunid','String',NULL,'流程编号',NULL,'1','Text','1','1',NULL,NULL,NULL,'32','0','0','0','1','1',1,'0',NULL,NULL,'SYS_DESIGNER','2017/07/11 12:59:56','8006U00000001','2020/10/22 09:36:32',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1140','1140','1',NULL,'''''','PaymentCard','String',NULL,'承租人付款卡信息',NULL,'1','Text','1','1',NULL,NULL,NULL,NULL,'0','0','0','1','0',0,NULL,'0010',NULL,'SYS_Designer','2017/07/19 11:39:30','8006U00000001','2020/10/22 09:36:33','0',NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1150','1150','1',NULL,'''''','S_PaymentCard','String',NULL,'4S付款卡信息',NULL,'1','Text','1','1',NULL,NULL,NULL,NULL,'0','0','0','1','0',0,NULL,'0030',NULL,'SYS_Designer','2017/08/15 16:14:59','8006U00000001','2020/10/22 09:36:33','0',NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1160','1160','1','O','MOBILE','MOBILE','String',NULL,'预留手机号',NULL,'1','Text','1','1',NULL,NULL,NULL,'32','1','0','1','1','0',0,NULL,'0010',NULL,'SYS_Designer','2017/10/23 10:50:24','8006U00000001','2020/10/22 09:36:33',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1180','1180','1','O','project_id','project_id','String',NULL,'项目编号',NULL,'1','Text','1','1',NULL,NULL,NULL,'32','0','0','0','1','0',0,NULL,NULL,NULL,'SYS_Designer','2017/11/08 10:55:43','8006U00000001','2020/10/22 09:36:33',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1190','1190','1','O','contract_id','contract_id','String',NULL,'合同编号',NULL,'1','Text','1','1',NULL,NULL,NULL,'32','0','0','0','1','0',0,NULL,NULL,NULL,'SYS_Designer','2017/11/08 10:55:43','8006U00000001','2020/10/22 09:36:33',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1200','1200','1','O','acc_type','acc_type','String',NULL,'银行卡类型(付款/扣款)',NULL,'1','Text','1','1',NULL,NULL,NULL,'32','0','0','0','1','0',0,NULL,NULL,NULL,'SYS_Designer','2018/02/28 15:23:43','8006U00000021','2018/08/07 17:59:40',NULL,NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1210','1210','1','O','VERIFY','VERIFY','String',NULL,'银行卡四要素验证结果',NULL,'1','Textarea','1','1',NULL,NULL,'style={width:400px;height:60px;}','200','0','1','0','1','0',2,NULL,'0010',NULL,'SYS_Designer','2018/03/13 22:18:03','SYS_Designer','2018/07/30 21:00:10','0',NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1220','1220','1','O','CERTID','CERTID','String',NULL,'证件编号',NULL,'1','Text','1','1',NULL,NULL,NULL,'40','0','0','0','1','0',0,NULL,NULL,NULL,'SYS_Designer','2018/08/07 19:52:54','SYS_Designer','2018/08/07 19:52:54','0',NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1230','1230','1','O','CUSTTYPE','CUSTTYPE','String',NULL,'客户类型',NULL,'1','Text','1','1',NULL,NULL,NULL,'40','0','0','0','1','0',0,NULL,NULL,NULL,'SYS_Designer','2018/08/07 19:52:54','SYS_Designer','2018/08/07 19:52:54','0',NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1240','1240','1','O','sign_status','sign_status','String',NULL,'签约信息',NULL,'1','Text','1','1',NULL,NULL,NULL,'32','0','0','0','1','0',0,NULL,NULL,NULL,'SYS_Designer','2019/01/11 16:49:23','SYS_Designer','2019/01/11 16:49:23','0',NULL,'1',NULL,NULL,NULL,NULL);
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1250','1025','1','O','bank_type','bank_type','String','','银行名称','','1','Text','1','1','','','',NULL,'1','1','1','1','0',0,'','0010','','SYS_Designer','2020/10/21 18:12:10','8006U00000001','2020/10/22 09:36:32','','','1','','','selectBankType()','');
|
||||
INSERT INTO awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) VALUES ('DebitCardInfo','1260','1260','1','O','bank_code','bank_code','String','','银行代码','','1','Text','1','1','','','',NULL,'0','0','0','1','0',0,'','','','SYS_Designer','2020/10/21 18:12:10','SYS_Designer','2020/10/21 18:12:10','','','1','','','','');
|
||||
|
||||
-- ==========================天津税控部分===========================
|
||||
|
||||
-- 建表
|
||||
CREATE TABLE `li_invoice_tj_info` (
|
||||
`id` VARCHAR (32),
|
||||
`contract_no` VARCHAR (32),
|
||||
`plan_list` VARCHAR (20),
|
||||
`fpzl` BIGINT (2),
|
||||
`fpzf` BIGINT (2),
|
||||
`invoice_money` DECIMAL (22,2),
|
||||
`tax_type` VARCHAR (20),
|
||||
`tax_ratio` VARCHAR (20),
|
||||
`tax_money` DECIMAL (22,2),
|
||||
`sw_spbm` VARCHAR (20),
|
||||
`fpdm` VARCHAR (20),
|
||||
`fphm` VARCHAR (20),
|
||||
`hztzdh` VARCHAR (20),
|
||||
`status` VARCHAR (10),
|
||||
`inputuserid` VARCHAR (20),
|
||||
`inputtime` VARCHAR (20)
|
||||
);
|
||||
|
||||
-- 建表
|
||||
create table `tax_operator_info` (
|
||||
`id` varchar (32),
|
||||
`tax_creator` varchar (20),
|
||||
`tax_checker` varchar (20),
|
||||
`Payee` varchar (20),
|
||||
`is_use` varchar (3)
|
||||
);
|
||||
|
||||
-- 建表
|
||||
create table `tax_code_info` (
|
||||
`id` varchar (32),
|
||||
`code` varchar (32),
|
||||
`full_code` varchar (32),
|
||||
`tax_type` varchar (20),
|
||||
`remark` varchar (50)
|
||||
);
|
||||
|
||||
-- 模板
|
||||
|
||||
-- Invoice_TJ_Gps模板
|
||||
delete from AWE_DO_CATALOG where dono='Invoice_TJ_Gps';
|
||||
delete from awe_do_library where dono='Invoice_TJ_Gps';
|
||||
Insert Into AWE_DO_CATALOG (dono,doname,dodescribe,dotype,doclass,isinuse,colcount,modeid,jboclass,jbofrom,jbowhere,jbogroup,jboorder,businessprocess,exportflag,inputuser,inputtime,updateuser,updatetime,remark,isvalidate,parent) Values ('Invoice_TJ_Gps','GPS-专票(天津)',null,'30',null,'1','1','default','jbo.app.tenwa.calc.VI_LI_INVOICE_TJ_GPS','O','O.invoice_status is null or O.invoice_status=''R'' or O.invoice_status=''N''','','','',null,'SYS_Designer','2020/07/23 15:11:17','SYS_Designer','2020/11/03 14:52:57','','1','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1010','1010','1','O','contract_id','contract_id','String','','合同id','','1','Text','1','1','','','','20','0','0','0','1','0',1,'0','','','SYS_Designer','2020/07/23 15:11:17','SYS_Designer','2020/11/03 14:52:57','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1020','1020','1','O','contract_no','contract_no','String','','合同编号','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/23 15:11:17','SYS_Designer','2020/11/03 14:52:57','','','1','','','','Like');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1040','1040','1','O','customer_name','customer_name','String','','客户名称','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/23 15:11:17','SYS_Designer','2020/11/03 14:52:57','','','1','','','','Like');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1060','1060','1','O','invoice_money','invoice_money','String','','开票金额','','1','Text','1','1','','','','20','1','0','0','1','0',1,'0','','','SYS_Designer','2020/07/23 15:11:17','SYS_Designer','2020/11/03 14:52:57','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1070','1070','1','O','tax_type','tax_type','String','','金额类型','','1','Text','1','1','','','','20','1','0','0','1','0',1,'0','','','SYS_Designer','2020/07/23 15:11:17','SYS_Designer','2020/11/03 14:52:57','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1080','1080','1','O','cert_id','cert_id','String','','纳税人识别号','','1','Text','1','1','','','','20','1','0','0','1','0',1,'0','','','SYS_Designer','2020/07/23 15:11:17','SYS_Designer','2020/11/03 14:52:57','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1090','1090','1','O','account','account','String','','账户','','1','Text','1','1','','','','20','1','0','0','1','0',1,'0','','','SYS_Designer','2020/07/23 15:11:17','SYS_Designer','2020/11/03 14:52:57','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1100','1100','1','O','acc_number','acc_number','String','','开户账号','','1','Text','1','1','','','','20','1','0','0','1','0',1,'0','','','SYS_Designer','2020/07/23 15:11:17','SYS_Designer','2020/11/03 14:52:57','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1110','1110','1','O','bank_name','bank_name','String','','开户行','','1','Text','1','1','','','','20','1','0','0','1','0',1,'0','','','SYS_Designer','2020/07/23 15:11:17','SYS_Designer','2020/11/03 14:52:57','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1120','1120','1','O','telephone','telephone','String','','联系电话','','1','Text','1','1','','','','20','1','0','0','1','0',1,'0','','','SYS_Designer','2020/07/23 15:11:17','SYS_Designer','2020/11/03 14:52:57','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1130','1130','1','O','customer_type','customer_type','String','','客户类型','','1','Text','1','1','','','','20','1','0','0','1','0',1,'0','','','SYS_Designer','2020/07/23 15:11:17','SYS_Designer','2020/11/03 14:52:57','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1140','1140','1','O','tax_ratio','tax_ratio','String','','税率','%','1','Text','1','1','','','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/07/27 17:09:08','SYS_Designer','2020/11/03 14:52:57','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1150','1150','1','O','plan_list','plan_list','String','','期次','','1','Text','1','1','','','',null,'0','0','0','1','0',0,'','','','SYS_Designer','2020/11/03 14:18:58','SYS_Designer','2020/11/03 14:52:57','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1160','1160','1','O','tax_no','tax_no','String','','金额类别编号','','1','Text','1','1','','','',null,'0','0','0','1','0',0,'','','','SYS_Designer','2020/11/03 14:18:58','SYS_Designer','2020/11/03 14:52:57','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1170','1170','1','O','invoice_status','invoice_status','String','','开票状态','','1','Text','1','1','','','',null,'0','0','0','1','0',0,'','','','SYS_Designer','2020/11/03 14:18:58','SYS_Designer','2020/11/03 14:52:57','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1180','1180','1','O','fpdm','fpdm','String','','发票代码','','1','Text','1','1','','','',null,'0','0','0','1','0',0,'','','','SYS_Designer','2020/11/03 14:18:58','SYS_Designer','2020/11/03 14:52:57','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1190','1190','1','O','fphm','fphm','String','','发票号码','','1','Text','1','1','','','',null,'0','0','0','1','0',0,'','','','SYS_Designer','2020/11/03 14:18:58','SYS_Designer','2020/11/03 14:52:57','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Gps','1200','1200','1','O','hztzdh','hztzdh','String','','红冲红字单号','','1','Text','1','1','','','',null,'0','0','0','1','0',0,'','','','SYS_Designer','2020/11/03 14:18:58','SYS_Designer','2020/11/03 14:52:57','','','1','','','','');
|
||||
|
||||
-- Invoice_TJ_Leaseback 模板
|
||||
delete from AWE_DO_CATALOG where dono='Invoice_TJ_Leaseback';
|
||||
delete from awe_do_library where dono='Invoice_TJ_Leaseback';
|
||||
Insert Into AWE_DO_CATALOG (dono,doname,dodescribe,dotype,doclass,isinuse,colcount,modeid,jboclass,jbofrom,jbowhere,jbogroup,jboorder,businessprocess,exportflag,inputuser,inputtime,updateuser,updatetime,remark,isvalidate,parent) Values ('Invoice_TJ_Leaseback','回租-普票(天津)',null,'30',null,'1','1','default','jbo.app.tenwa.calc.VI_LI_INVOICE_TJ_LEASEBACK','O','','','','',null,'SYS_Designer','2020/07/22 19:05:36','SYS_Designer','2020/07/22 19:05:36','','1','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1010','1010','1','O','contract_id','contract_id','String','','合同id','','1','Text','1','1','','','','20','0','0','0','1','0',1,'0','','','SYS_Designer','2020/07/22 19:05:36','SYS_Designer','2020/07/22 19:05:36','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1020','1020','1','O','contract_no','contract_no','String','','合同编号','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/22 19:05:36','SYS_Designer','2020/07/22 19:05:36','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1040','1040','1','O','customer_name','customer_name','String','','客户名称','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/22 19:05:36','SYS_Designer','2020/07/22 19:05:36','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1060','1060','1','O','invoice_money','invoice_money','String','','开票金额','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/22 19:05:36','SYS_Designer','2020/07/22 19:05:36','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1070','1070','1','O','tax_type','tax_type','String','','金额类型','','1','Text','1','1','','','','20','1','0','0','1','0',1,'0','','','SYS_Designer','2020/07/22 19:05:36','SYS_Designer','2020/07/23 15:00:21','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1080','1080','1','O','cert_id','cert_id','String','','纳税人识别号','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/22 19:05:36','SYS_Designer','2020/07/22 19:05:36','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1090','1090','1','O','account','account','String','','账户','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/22 19:05:36','SYS_Designer','2020/07/22 19:05:36','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1100','1100','1','O','acc_number','acc_number','String','','开户账号','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/22 19:05:36','SYS_Designer','2020/07/22 19:05:36','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1110','1110','1','O','bank_name','bank_name','String','','开户行','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/22 19:05:36','SYS_Designer','2020/07/22 19:05:36','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1120','1120','1','O','telephone','telephone','String','','联系电话','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/22 19:05:36','SYS_Designer','2020/07/22 19:05:36','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1130','1130','1','O','customer_type','customer_type','String','','客户类型','','1','Text','1','1','','','','20','0','0','0','1','1',1,'0','','','SYS_Designer','2020/07/22 19:05:36','SYS_Designer','2020/07/22 19:05:36','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1140','1140','1','O','tax_ratio','tax_ratio','String','','税率','%','1','Text','1','1','','','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/07/27 17:09:50','SYS_Designer','2020/07/27 17:14:49','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1150','1150','1','O','plan_list','plan_list','String','','期次','','1','Text','1','1','','','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/03 09:25:30','SYS_Designer','2020/08/03 09:25:30','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1160','1160','1','O','fpdm','fpdm','String','','发票代码','','1','Text','1','1','','','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/03 09:25:30','SYS_Designer','2020/08/03 09:25:30','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leaseback','1170','1170','1','O','fphm','fphm','String','','发票号码','','1','Text','1','1','','','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/03 09:25:30','SYS_Designer','2020/08/03 09:25:30','','','1','','','','');
|
||||
|
||||
-- Invoice_TJ_Leasedirect 模板
|
||||
delete from AWE_DO_CATALOG where dono='Invoice_TJ_Leasedirect';
|
||||
delete from awe_do_library where dono='Invoice_TJ_Leasedirect';
|
||||
Insert Into AWE_DO_CATALOG (dono,doname,dodescribe,dotype,doclass,isinuse,colcount,modeid,jboclass,jbofrom,jbowhere,jbogroup,jboorder,businessprocess,exportflag,inputuser,inputtime,updateuser,updatetime,remark,isvalidate,parent) Values ('Invoice_TJ_Leasedirect','直租-专票(天津)',null,'30',null,'1','1','default','jbo.app.tenwa.calc.VI_LI_INVOICE_TJ_LEASEDIRECT','O','','','','',null,'SYS_Designer','2020/07/23 14:16:12','SYS_Designer','2020/07/23 14:24:43','','1','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leasedirect','1010','1010','1','O','contract_id','contract_id','String','','合同id','','1','Text','1','1','','','','20','0','0','0','1','0',1,'0','','','SYS_Designer','2020/07/23 14:16:12','SYS_Designer','2020/07/23 14:24:43','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leasedirect','1020','1020','1','O','contract_no','contract_no','String','','合同编号','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/23 14:16:13','SYS_Designer','2020/07/23 14:24:43','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leasedirect','1040','1040','1','O','customer_name','customer_name','String','','客户名称','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/23 14:16:13','SYS_Designer','2020/07/23 14:24:43','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leasedirect','1060','1060','1','O','invoice_money','invoice_money','String','','开票金额','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/23 14:16:13','SYS_Designer','2020/07/23 14:24:43','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leasedirect','1070','1070','1','O','tax_type','tax_type','String','','金额类型','','1','Text','1','1','','','','20','1','0','0','1','0',1,'0','','','SYS_Designer','2020/07/23 14:16:13','SYS_Designer','2020/07/23 15:00:31','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leasedirect','1080','1080','1','O','cert_id','cert_id','String','','纳税人识别号','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/23 14:16:13','SYS_Designer','2020/07/23 14:24:43','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leasedirect','1090','1090','1','O','account','account','String','','账户','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/23 14:16:13','SYS_Designer','2020/07/23 14:24:43','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leasedirect','1100','1100','1','O','acc_number','acc_number','String','','开户账号','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/23 14:16:13','SYS_Designer','2020/07/23 14:24:43','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leasedirect','1110','1110','1','O','bank_name','bank_name','String','','开户行','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/23 14:16:13','SYS_Designer','2020/07/23 14:24:43','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leasedirect','1120','1120','1','O','telephone','telephone','String','','联系电话','','1','Text','1','1','','','','20','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/23 14:16:13','SYS_Designer','2020/07/23 14:24:43','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leasedirect','1130','1130','1','O','customer_type','customer_type','String','','客户类型','','1','Text','1','1','','','','20','0','0','0','1','1',1,'0','','','SYS_Designer','2020/07/23 14:16:13','SYS_Designer','2020/07/23 14:24:43','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('Invoice_TJ_Leasedirect','1140','1140','1','O','tax_ratio','tax_ratio','String','','税率','%','1','Text','1','1','','','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/07/27 17:10:24','SYS_Designer','2020/07/27 17:13:52','','','1','','','','');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user