From f10145558fb195dd584d63dfc6546e7f63e99a2c Mon Sep 17 00:00:00 2001
From: xiaoCJ <406612557@qq.com>
Date: Tue, 5 Dec 2023 17:32:19 +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
---
.../mapper/ProfitManagementMapper.java | 4 +-
.../mappers/ProfitManagementMapper.xml | 574 ------------------
2 files changed, 3 insertions(+), 575 deletions(-)
diff --git a/src/main/java/com/sztzjy/fund_investment/mapper/ProfitManagementMapper.java b/src/main/java/com/sztzjy/fund_investment/mapper/ProfitManagementMapper.java
index ebb75a8..ca387f5 100644
--- a/src/main/java/com/sztzjy/fund_investment/mapper/ProfitManagementMapper.java
+++ b/src/main/java/com/sztzjy/fund_investment/mapper/ProfitManagementMapper.java
@@ -3,8 +3,10 @@ package com.sztzjy.fund_investment.mapper;
import com.sztzjy.fund_investment.entity.ProfitManagement;
import com.sztzjy.fund_investment.entity.ProfitManagementExample;
import java.util.List;
-import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+@Mapper
public interface ProfitManagementMapper {
long countByExample(ProfitManagementExample example);
diff --git a/src/main/resources/mappers/ProfitManagementMapper.xml b/src/main/resources/mappers/ProfitManagementMapper.xml
index ffd2d2c..416c986 100644
--- a/src/main/resources/mappers/ProfitManagementMapper.xml
+++ b/src/main/resources/mappers/ProfitManagementMapper.xml
@@ -288,578 +288,4 @@
fund_earnings = #{fundEarnings,jdbcType=DECIMAL}
where id = #{id,jdbcType=VARCHAR}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
- id, flow_id, investment_amount, share_ratio, total_equity, share_count, market_time,
- stock_price, market_value, fund_earnings
-
-
-
-
- delete from profit_management
- where id = #{id,jdbcType=VARCHAR}
-
-
- delete from profit_management
-
-
-
-
-
- insert into profit_management (id, flow_id, investment_amount,
- share_ratio, total_equity, share_count,
- market_time, stock_price, market_value,
- fund_earnings)
- values (#{id,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}, #{investmentAmount,jdbcType=DECIMAL},
- #{shareRatio,jdbcType=DECIMAL}, #{totalEquity,jdbcType=DECIMAL}, #{shareCount,jdbcType=DECIMAL},
- #{marketTime,jdbcType=INTEGER}, #{stockPrice,jdbcType=DECIMAL}, #{marketValue,jdbcType=DECIMAL},
- #{fundEarnings,jdbcType=DECIMAL})
-
-
- insert into profit_management
-
-
- id,
-
-
- flow_id,
-
-
- investment_amount,
-
-
- share_ratio,
-
-
- total_equity,
-
-
- share_count,
-
-
- market_time,
-
-
- stock_price,
-
-
- market_value,
-
-
- fund_earnings,
-
-
-
-
- #{id,jdbcType=VARCHAR},
-
-
- #{flowId,jdbcType=VARCHAR},
-
-
- #{investmentAmount,jdbcType=DECIMAL},
-
-
- #{shareRatio,jdbcType=DECIMAL},
-
-
- #{totalEquity,jdbcType=DECIMAL},
-
-
- #{shareCount,jdbcType=DECIMAL},
-
-
- #{marketTime,jdbcType=INTEGER},
-
-
- #{stockPrice,jdbcType=DECIMAL},
-
-
- #{marketValue,jdbcType=DECIMAL},
-
-
- #{fundEarnings,jdbcType=DECIMAL},
-
-
-
-
-
- update profit_management
-
-
- id = #{record.id,jdbcType=VARCHAR},
-
-
- flow_id = #{record.flowId,jdbcType=VARCHAR},
-
-
- investment_amount = #{record.investmentAmount,jdbcType=DECIMAL},
-
-
- share_ratio = #{record.shareRatio,jdbcType=DECIMAL},
-
-
- total_equity = #{record.totalEquity,jdbcType=DECIMAL},
-
-
- share_count = #{record.shareCount,jdbcType=DECIMAL},
-
-
- market_time = #{record.marketTime,jdbcType=INTEGER},
-
-
- stock_price = #{record.stockPrice,jdbcType=DECIMAL},
-
-
- market_value = #{record.marketValue,jdbcType=DECIMAL},
-
-
- fund_earnings = #{record.fundEarnings,jdbcType=DECIMAL},
-
-
-
-
-
-
-
- update profit_management
- set id = #{record.id,jdbcType=VARCHAR},
- flow_id = #{record.flowId,jdbcType=VARCHAR},
- investment_amount = #{record.investmentAmount,jdbcType=DECIMAL},
- share_ratio = #{record.shareRatio,jdbcType=DECIMAL},
- total_equity = #{record.totalEquity,jdbcType=DECIMAL},
- share_count = #{record.shareCount,jdbcType=DECIMAL},
- market_time = #{record.marketTime,jdbcType=INTEGER},
- stock_price = #{record.stockPrice,jdbcType=DECIMAL},
- market_value = #{record.marketValue,jdbcType=DECIMAL},
- fund_earnings = #{record.fundEarnings,jdbcType=DECIMAL}
-
-
-
-
-
- update profit_management
-
-
- flow_id = #{flowId,jdbcType=VARCHAR},
-
-
- investment_amount = #{investmentAmount,jdbcType=DECIMAL},
-
-
- share_ratio = #{shareRatio,jdbcType=DECIMAL},
-
-
- total_equity = #{totalEquity,jdbcType=DECIMAL},
-
-
- share_count = #{shareCount,jdbcType=DECIMAL},
-
-
- market_time = #{marketTime,jdbcType=INTEGER},
-
-
- stock_price = #{stockPrice,jdbcType=DECIMAL},
-
-
- market_value = #{marketValue,jdbcType=DECIMAL},
-
-
- fund_earnings = #{fundEarnings,jdbcType=DECIMAL},
-
-
- where id = #{id,jdbcType=VARCHAR}
-
-
- update profit_management
- set flow_id = #{flowId,jdbcType=VARCHAR},
- investment_amount = #{investmentAmount,jdbcType=DECIMAL},
- share_ratio = #{shareRatio,jdbcType=DECIMAL},
- total_equity = #{totalEquity,jdbcType=DECIMAL},
- share_count = #{shareCount,jdbcType=DECIMAL},
- market_time = #{marketTime,jdbcType=INTEGER},
- stock_price = #{stockPrice,jdbcType=DECIMAL},
- market_value = #{marketValue,jdbcType=DECIMAL},
- fund_earnings = #{fundEarnings,jdbcType=DECIMAL}
- where id = #{id,jdbcType=VARCHAR}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
- id, flow_id, investment_amount, share_ratio, total_equity, share_count, market_time,
- stock_price, market_value, fund_earnings
-
-
-
-
- delete from profit_management
- where id = #{id,jdbcType=VARCHAR}
-
-
- delete from profit_management
-
-
-
-
-
- insert into profit_management (id, flow_id, investment_amount,
- share_ratio, total_equity, share_count,
- market_time, stock_price, market_value,
- fund_earnings)
- values (#{id,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}, #{investmentAmount,jdbcType=DECIMAL},
- #{shareRatio,jdbcType=DECIMAL}, #{totalEquity,jdbcType=DECIMAL}, #{shareCount,jdbcType=DECIMAL},
- #{marketTime,jdbcType=INTEGER}, #{stockPrice,jdbcType=DECIMAL}, #{marketValue,jdbcType=DECIMAL},
- #{fundEarnings,jdbcType=DECIMAL})
-
-
- insert into profit_management
-
-
- id,
-
-
- flow_id,
-
-
- investment_amount,
-
-
- share_ratio,
-
-
- total_equity,
-
-
- share_count,
-
-
- market_time,
-
-
- stock_price,
-
-
- market_value,
-
-
- fund_earnings,
-
-
-
-
- #{id,jdbcType=VARCHAR},
-
-
- #{flowId,jdbcType=VARCHAR},
-
-
- #{investmentAmount,jdbcType=DECIMAL},
-
-
- #{shareRatio,jdbcType=DECIMAL},
-
-
- #{totalEquity,jdbcType=DECIMAL},
-
-
- #{shareCount,jdbcType=DECIMAL},
-
-
- #{marketTime,jdbcType=INTEGER},
-
-
- #{stockPrice,jdbcType=DECIMAL},
-
-
- #{marketValue,jdbcType=DECIMAL},
-
-
- #{fundEarnings,jdbcType=DECIMAL},
-
-
-
-
-
- update profit_management
-
-
- id = #{record.id,jdbcType=VARCHAR},
-
-
- flow_id = #{record.flowId,jdbcType=VARCHAR},
-
-
- investment_amount = #{record.investmentAmount,jdbcType=DECIMAL},
-
-
- share_ratio = #{record.shareRatio,jdbcType=DECIMAL},
-
-
- total_equity = #{record.totalEquity,jdbcType=DECIMAL},
-
-
- share_count = #{record.shareCount,jdbcType=DECIMAL},
-
-
- market_time = #{record.marketTime,jdbcType=INTEGER},
-
-
- stock_price = #{record.stockPrice,jdbcType=DECIMAL},
-
-
- market_value = #{record.marketValue,jdbcType=DECIMAL},
-
-
- fund_earnings = #{record.fundEarnings,jdbcType=DECIMAL},
-
-
-
-
-
-
-
- update profit_management
- set id = #{record.id,jdbcType=VARCHAR},
- flow_id = #{record.flowId,jdbcType=VARCHAR},
- investment_amount = #{record.investmentAmount,jdbcType=DECIMAL},
- share_ratio = #{record.shareRatio,jdbcType=DECIMAL},
- total_equity = #{record.totalEquity,jdbcType=DECIMAL},
- share_count = #{record.shareCount,jdbcType=DECIMAL},
- market_time = #{record.marketTime,jdbcType=INTEGER},
- stock_price = #{record.stockPrice,jdbcType=DECIMAL},
- market_value = #{record.marketValue,jdbcType=DECIMAL},
- fund_earnings = #{record.fundEarnings,jdbcType=DECIMAL}
-
-
-
-
-
- update profit_management
-
-
- flow_id = #{flowId,jdbcType=VARCHAR},
-
-
- investment_amount = #{investmentAmount,jdbcType=DECIMAL},
-
-
- share_ratio = #{shareRatio,jdbcType=DECIMAL},
-
-
- total_equity = #{totalEquity,jdbcType=DECIMAL},
-
-
- share_count = #{shareCount,jdbcType=DECIMAL},
-
-
- market_time = #{marketTime,jdbcType=INTEGER},
-
-
- stock_price = #{stockPrice,jdbcType=DECIMAL},
-
-
- market_value = #{marketValue,jdbcType=DECIMAL},
-
-
- fund_earnings = #{fundEarnings,jdbcType=DECIMAL},
-
-
- where id = #{id,jdbcType=VARCHAR}
-
-
- update profit_management
- set flow_id = #{flowId,jdbcType=VARCHAR},
- investment_amount = #{investmentAmount,jdbcType=DECIMAL},
- share_ratio = #{shareRatio,jdbcType=DECIMAL},
- total_equity = #{totalEquity,jdbcType=DECIMAL},
- share_count = #{shareCount,jdbcType=DECIMAL},
- market_time = #{marketTime,jdbcType=INTEGER},
- stock_price = #{stockPrice,jdbcType=DECIMAL},
- market_value = #{marketValue,jdbcType=DECIMAL},
- fund_earnings = #{fundEarnings,jdbcType=DECIMAL}
- where id = #{id,jdbcType=VARCHAR}
-
\ No newline at end of file