Browse Source

Merge branch 'dev-2.19.2' of province-qinghai/province-all into dev

adminGRP 3 months ago
parent
commit
c5e8d76218

+ 10 - 12
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/mapper/mapping/FsSaleRevenueMapper.xml

@@ -45,7 +45,9 @@
45
             tcc. YEAR,
45
             tcc. YEAR,
46
             tcc. MONTH,
46
             tcc. MONTH,
47
             tcc.accounting_quantity accountingQuantity,
47
             tcc.accounting_quantity accountingQuantity,
48
-            tcc.accounting_amount accountingAmount
48
+            tcc.accounting_amount accountingAmount,
49
+            tcc.province_accounting_quantity provinceAccountingQuantity,
50
+            tcc.province_accounting_amount provinceAccountingAmount
49
         FROM
51
         FROM
50
             business_fs_sale_revenue_three_consistence_account tcc
52
             business_fs_sale_revenue_three_consistence_account tcc
51
         LEFT JOIN business_fs_sale_revenue sr ON sr.id = tcc.fs_sale_revenue_id
53
         LEFT JOIN business_fs_sale_revenue sr ON sr.id = tcc.fs_sale_revenue_id
@@ -105,17 +107,9 @@
105
     </select>
107
     </select>
106
     <select id="getOutStorageDetailsInfo" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.entity.FsSaleRevenueThreeConsistence">
108
     <select id="getOutStorageDetailsInfo" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.entity.FsSaleRevenueThreeConsistence">
107
         SELECT
109
         SELECT
108
-            tc.id,
109
-            tc.`year`,
110
-            tc.`month`,
111
-            tc.basic_storehouse_id,
112
-            tc.warehouse_id,
110
+            tc.*,
113
             bs.storehouse_name storehouseName,
111
             bs.storehouse_name storehouseName,
114
-            bw.warehouse_name warehouseName,
115
-            tc.loss,
116
-            tc.custody_account_quantity,
117
-            tc.statistical_account_quantity,
118
-            tc.complete_time
112
+            bw.warehouse_name warehouseName
119
         FROM
113
         FROM
120
             business_fs_sale_revenue_three_consistence tc
114
             business_fs_sale_revenue_three_consistence tc
121
         LEFT JOIN basic_storehouse bs ON tc.basic_storehouse_id = bs.storehouse_id
115
         LEFT JOIN basic_storehouse bs ON tc.basic_storehouse_id = bs.storehouse_id
@@ -126,6 +120,7 @@
126
     <select id="getSettlementDetailsInfo" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenueSettle.entity.FsSaleRevenueSettle">
120
     <select id="getSettlementDetailsInfo" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenueSettle.entity.FsSaleRevenueSettle">
127
         SELECT
121
         SELECT
128
             rs.id,
122
             rs.id,
123
+            rs.fs_sale_revenue_id fsSaleRevenueId,
129
             rs.province_acceptance_unit,
124
             rs.province_acceptance_unit,
130
             rs.province_total_settle_quantity,
125
             rs.province_total_settle_quantity,
131
             rs.province_total_settle_amount,
126
             rs.province_total_settle_amount,
@@ -170,9 +165,12 @@
170
     <select id="getDiffPriceDetailsInfo" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.entity.FsSaleRevenueDiffPrice">
165
     <select id="getDiffPriceDetailsInfo" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.entity.FsSaleRevenueDiffPrice">
171
         SELECT
166
         SELECT
172
             dp.id,
167
             dp.id,
168
+            dp.fs_sale_revenue_id fsSaleRevenueId,
173
             dp.project_type projectType,
169
             dp.project_type projectType,
174
             dp.total_quantity totalQuantity,
170
             dp.total_quantity totalQuantity,
175
-            dp.total_amount totalAmount
171
+            dp.province_total_quantity provinceTotalQuantity,
172
+            dp.total_amount totalAmount,
173
+            dp.province_total_amount provinceTotalAmount
176
         FROM
174
         FROM
177
             business_fs_sale_revenue_diff_price dp
175
             business_fs_sale_revenue_diff_price dp
178
         WHERE
176
         WHERE