From 39aac69ac990478ee52303ecfba058dbf171d3b4 Mon Sep 17 00:00:00 2001 From: xiaoCJ <406612557@qq.com> Date: Wed, 6 Dec 2023 15:01:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=80=80=E5=87=BA=E6=97=B6?= =?UTF-8?q?=E6=9C=BA=E8=A1=A8=EF=BC=8C=E5=AE=8C=E6=88=90=E6=8A=95=E8=B5=84?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=E9=A1=B5=E9=9D=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mappers/ExitTimeMapper.xml | 71 ++++++++++++++----- 1 file changed, 52 insertions(+), 19 deletions(-) diff --git a/src/main/resources/mappers/ExitTimeMapper.xml b/src/main/resources/mappers/ExitTimeMapper.xml index 97c275b..88024a6 100644 --- a/src/main/resources/mappers/ExitTimeMapper.xml +++ b/src/main/resources/mappers/ExitTimeMapper.xml @@ -3,7 +3,7 @@ - + @@ -13,6 +13,8 @@ + + @@ -73,8 +75,9 @@ - flow_id, porject_name, investment_amount, share_ratio, total_equity, share_count, - exit_market_value, exit_yield, exit_fund_earnings, exit_timing, exit_stock_price + flow_id, project_name, investment_amount, share_ratio, total_equity, share_count, + exit_market_value, exit_yield, exit_fund_earnings, exit_timing, exit_stock_price, + user_market_value, user_fund_earnings @@ -201,8 +218,8 @@ flow_id = #{record.flowId,jdbcType=VARCHAR}, - - porject_name = #{record.porjectName,jdbcType=VARCHAR}, + + project_name = #{record.projectName,jdbcType=VARCHAR}, investment_amount = #{record.investmentAmount,jdbcType=DECIMAL}, @@ -231,6 +248,12 @@ exit_stock_price = #{record.exitStockPrice,jdbcType=DECIMAL}, + + user_market_value = #{record.userMarketValue,jdbcType=DECIMAL}, + + + user_fund_earnings = #{record.userFundEarnings,jdbcType=DECIMAL}, + @@ -239,7 +262,7 @@ update exit_time set flow_id = #{record.flowId,jdbcType=VARCHAR}, - porject_name = #{record.porjectName,jdbcType=VARCHAR}, + project_name = #{record.projectName,jdbcType=VARCHAR}, investment_amount = #{record.investmentAmount,jdbcType=DECIMAL}, share_ratio = #{record.shareRatio,jdbcType=DECIMAL}, total_equity = #{record.totalEquity,jdbcType=DECIMAL}, @@ -248,7 +271,9 @@ exit_yield = #{record.exitYield,jdbcType=DECIMAL}, exit_fund_earnings = #{record.exitFundEarnings,jdbcType=DECIMAL}, exit_timing = #{record.exitTiming,jdbcType=VARCHAR}, - exit_stock_price = #{record.exitStockPrice,jdbcType=DECIMAL} + exit_stock_price = #{record.exitStockPrice,jdbcType=DECIMAL}, + user_market_value = #{record.userMarketValue,jdbcType=DECIMAL}, + user_fund_earnings = #{record.userFundEarnings,jdbcType=DECIMAL} @@ -256,8 +281,8 @@ update exit_time - - porject_name = #{porjectName,jdbcType=VARCHAR}, + + project_name = #{projectName,jdbcType=VARCHAR}, investment_amount = #{investmentAmount,jdbcType=DECIMAL}, @@ -286,12 +311,18 @@ exit_stock_price = #{exitStockPrice,jdbcType=DECIMAL}, + + user_market_value = #{userMarketValue,jdbcType=DECIMAL}, + + + user_fund_earnings = #{userFundEarnings,jdbcType=DECIMAL}, + where flow_id = #{flowId,jdbcType=VARCHAR} update exit_time - set porject_name = #{porjectName,jdbcType=VARCHAR}, + set project_name = #{projectName,jdbcType=VARCHAR}, investment_amount = #{investmentAmount,jdbcType=DECIMAL}, share_ratio = #{shareRatio,jdbcType=DECIMAL}, total_equity = #{totalEquity,jdbcType=DECIMAL}, @@ -300,7 +331,9 @@ exit_yield = #{exitYield,jdbcType=DECIMAL}, exit_fund_earnings = #{exitFundEarnings,jdbcType=DECIMAL}, exit_timing = #{exitTiming,jdbcType=VARCHAR}, - exit_stock_price = #{exitStockPrice,jdbcType=DECIMAL} + exit_stock_price = #{exitStockPrice,jdbcType=DECIMAL}, + user_market_value = #{userMarketValue,jdbcType=DECIMAL}, + user_fund_earnings = #{userFundEarnings,jdbcType=DECIMAL} where flow_id = #{flowId,jdbcType=VARCHAR} \ No newline at end of file