From b1a41509684c3823d41ec1c184f6a5f7ba49dfb7 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期日, 07 四月 2024 18:01:10 +0800
Subject: [PATCH] 考核规则

---
 ycl-server/src/main/resources/mapper/zgyw/CalculateRecordMapper.xml |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ycl-server/src/main/resources/mapper/zgyw/CalculateRecordMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CalculateRecordMapper.xml
index 57b1fa4..da7e9ee 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/CalculateRecordMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/CalculateRecordMapper.xml
@@ -9,13 +9,13 @@
         <result property="date"    column="date"    />
         <result property="ruleId"    column="rule_id"    />
         <result property="unitId"    column="unit_id"    />
-        <result property="totalMount"    column="totalMount"    />
+        <result property="totalAmount"    column="total_amount"    />
         <result property="deductAmount"    column="deduct_amount"    />
         <result property="score"    column="score"    />
     </resultMap>
 
     <sql id="selectCalculateRecordVo">
-        select id, date, rule_id, unit_id, totalMount, deduct_amount, score from t_calculate_record
+        select id, date, rule_id, unit_id, total_amount, deduct_amount, score from t_calculate_record
     </sql>
 
     <select id="selectCalculateRecordList" resultMap="CalculateRecordResult">
@@ -24,7 +24,7 @@
             <if test="date != null "> and date = #{date}</if>
             <if test="ruleId != null "> and rule_id = #{ruleId}</if>
             <if test="unitId != null "> and unit_id = #{unitId}</if>
-            <if test="totalMount != null "> and totalMount = #{totalMount}</if>
+            <if test="totalAmount != null "> and total_amount = #{totalAmount}</if>
             <if test="deductAmount != null "> and deduct_amount = #{deductAmount}</if>
             <if test="score != null "> and score = #{score}</if>
         </where>
@@ -42,7 +42,7 @@
             <if test="date != null">date,</if>
             <if test="ruleId != null">rule_id,</if>
             <if test="unitId != null">unit_id,</if>
-            <if test="totalMount != null">totalMount,</if>
+            <if test="totalAmount != null">total_amount,</if>
             <if test="deductAmount != null">deduct_amount,</if>
             <if test="score != null">score,</if>
          </trim>
@@ -51,7 +51,7 @@
             <if test="date != null">#{date},</if>
             <if test="ruleId != null">#{ruleId},</if>
             <if test="unitId != null">#{unitId},</if>
-            <if test="totalMount != null">#{totalMount},</if>
+            <if test="totalAmount != null">#{totalAmount},</if>
             <if test="deductAmount != null">#{deductAmount},</if>
             <if test="score != null">#{score},</if>
          </trim>
@@ -63,7 +63,7 @@
             <if test="date != null">date = #{date},</if>
             <if test="ruleId != null">rule_id = #{ruleId},</if>
             <if test="unitId != null">unit_id = #{unitId},</if>
-            <if test="totalMount != null">totalMount = #{totalMount},</if>
+            <if test="totalAmount != null">total_amount = #{totalAmount},</if>
             <if test="deductAmount != null">deduct_amount = #{deductAmount},</if>
             <if test="score != null">score = #{score},</if>
         </trim>

--
Gitblit v1.8.0