From 67683967e7be0e899ced1d460e53080b5098859d Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期二, 23 四月 2024 18:05:53 +0800
Subject: [PATCH] 合同导入、规则、展示
---
ycl-server/src/main/resources/mapper/zgyw/CalculateRecordMapper.xml | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/CalculateRecordMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CalculateRecordMapper.xml
index bce717e..36c6cf7 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/CalculateRecordMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/CalculateRecordMapper.xml
@@ -8,14 +8,24 @@
<result column="create_time" property="createTime" />
<result column="rule_id" property="ruleId" />
<result column="rule_name" property="ruleName" />
- <result column="contract_id" property="contractId" />
+ <result column="deduct_category" property="deductCategory" />
+ <result column="rule_condition" property="ruleCondition" />
+ <result column="rule_desc" property="ruleDesc" />
<result column="deduct_money" property="deductMoney" />
<result column="score" property="score" />
</resultMap>
<select id="getByContractId" resultMap="BaseResultMap">
SELECT
- tcr.id, tcr.create_time, tcr.deduct_money, tcru.rule_name, tcr.score, tcr.rule_id
+ tcr.id,
+ tcr.create_time,
+ tcr.deduct_money,
+ tcr.score,
+ tcr.rule_id,
+ tcru.rule_name,
+ tcru.deduct_category,
+ tcru.rule_desc,
+ tcru.rule_condition
FROM
t_calculate_record tcr
INNER JOIN t_calculate_rule tcru ON tcr.rule_id = tcru.id AND tcr.contract_id = #{contractId}
--
Gitblit v1.8.0