From 11124384e151bce24d6b0fb1ee66c67cf4262af3 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期二, 13 十二月 2022 17:59:31 +0800
Subject: [PATCH] 加入赠送积分功能
---
java110-db/src/main/resources/mapper/acct/IntegralRuleConfigV1ServiceDaoImplMapper.xml | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/acct/IntegralRuleConfigV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/acct/IntegralRuleConfigV1ServiceDaoImplMapper.xml
index 2c3c969..df6ad14 100644
--- a/java110-db/src/main/resources/mapper/acct/IntegralRuleConfigV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/acct/IntegralRuleConfigV1ServiceDaoImplMapper.xml
@@ -20,9 +20,11 @@
select t.config_id,t.config_id configId,t.irc_id,t.irc_id ircId,t.status_cd,t.status_cd
statusCd,t.rule_id,t.rule_id ruleId,t.community_id,t.community_id communityId,
ic.square_price squarePrice,ic.config_name
- configName,ic.computing_formula computingFormula,ic.additional_amount additionalAmount,ic.scale,td.name computingFormulaName,td1.`name` scaleName
+ configName,ic.computing_formula computingFormula,ic.additional_amount additionalAmount,ic.scale,td.name computingFormulaName,td1.`name` scaleName,
+ ir.rule_name ruleName
from integral_rule_config t
left join integral_config ic on t.config_id = ic.config_id and ic.status_cd = '0'
+ left join integral_rule ir on t.rule_id = ir.rule_id and ir.status_cd = '0'
left join t_dict td on ic.computing_formula = td.status_cd and td.table_name = 'integral_config' and td.table_columns = 'computing_formula'
left join t_dict td1 on ic.scale = td1.status_cd and td1.table_name = 'integral_config' and td1.table_columns = 'scale'
where 1 =1
--
Gitblit v1.8.0