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