From f851a15d7bec9a7afee514f6896532b3b5e2433e Mon Sep 17 00:00:00 2001
From: chengf <2156125618@qq.com>
Date: 星期三, 13 八月 2025 18:49:01 +0800
Subject: [PATCH] 合同主体与费用初始化2025/08/13
---
java110-db/src/main/resources/mapper/fee/PayFeeConfigDiscountServiceDaoImplMapper.xml | 34 +++++++++++++++++++++++++---------
1 files changed, 25 insertions(+), 9 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/fee/PayFeeConfigDiscountServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/fee/PayFeeConfigDiscountServiceDaoImplMapper.xml
index 8c5c7c5..4fa3601 100755
--- a/java110-db/src/main/resources/mapper/fee/PayFeeConfigDiscountServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/fee/PayFeeConfigDiscountServiceDaoImplMapper.xml
@@ -7,7 +7,7 @@
<!-- 淇濆瓨璐圭敤椤规姌鎵d俊鎭� add by wuxw 2018-07-03 -->
<insert id="savePayFeeConfigDiscountInfo" parameterType="Map">
insert into pay_fee_config_discount(
- config_discount_id,config_id,discount_id,community_id,start_time,end_time,paymax_end_time
+ config_discount_id,config_id,discount_id,community_id,start_time,end_time,paymax_end_time,pay_max_star_time
) values (
#{configDiscountId},#{configId},#{discountId},#{communityId},
<if test="startTime == ''">
@@ -17,13 +17,26 @@
#{startTime}
</if>
,
- <if test="endTime == ''">
- NULL
- </if>
- <if test="endTime != ''">
- #{endTime}
- </if>
- ,#{payMaxEndTime}
+ <if test="endTime == ''">
+ NULL
+ </if>
+ <if test="endTime != ''">
+ #{endTime}
+ </if>
+ ,
+ <if test="payMaxEndTime == ''">
+ NULL
+ </if>
+ <if test="payMaxEndTime != ''">
+ #{payMaxEndTime}
+ </if>
+ ,
+ <if test="payMaxStarTime == ''">
+ #{payMaxStarTime}
+ </if>
+ <if test="payMaxStarTime != ''">
+ #{endTime}
+ </if>
)
</insert>
@@ -31,7 +44,7 @@
<select id="getPayFeeConfigDiscountInfo" parameterType="Map" resultType="Map">
select t.config_discount_id,t.config_discount_id configDiscountId,t.config_id,t.config_id
configId,t.status_cd,t.status_cd statusCd,t.discount_id,t.discount_id discountId,t.community_id,t.community_id
- communityId,fd.discount_name discountName,fd.discount_type discountType,t.start_time startTime,t.end_time endTime,t.paymax_end_time payMaxEndTime
+ communityId,fd.discount_name discountName,fd.discount_type discountType,t.start_time startTime,t.end_time endTime,t.paymax_end_time payMaxEndTime,t.pay_max_star_time payMaxStarTime
from pay_fee_config_discount t
left join fee_discount fd on t.discount_id = fd.discount_id and t.community_id = fd.community_id and fd.status_cd = '0'
where 1 =1
@@ -77,6 +90,9 @@
<if test="communityId !=null and communityId != ''">
, t.community_id= #{communityId}
</if>
+ <if test="payMaxStarTime !=null and payMaxStarTime != ''">
+ , t.pay_max_star_time= #{payMaxStarTime}
+ </if>
where 1=1
<if test="configDiscountId !=null and configDiscountId != ''">
and t.config_discount_id= #{configDiscountId}
--
Gitblit v1.8.0