From c7255cb752c12bf5c0c5e2b8bac0ad82d4cdf71b Mon Sep 17 00:00:00 2001
From: chengf <cgf12138@163.com>
Date: 星期二, 19 八月 2025 19:34:09 +0800
Subject: [PATCH] 费用报表0819
---
java110-db/src/main/resources/mapper/fee/FeePrintPageTemplateV1ServiceDaoImplMapper.xml | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/fee/FeePrintPageTemplateV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/fee/FeePrintPageTemplateV1ServiceDaoImplMapper.xml
index 1fce66d..51e9e6b 100644
--- a/java110-db/src/main/resources/mapper/fee/FeePrintPageTemplateV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/fee/FeePrintPageTemplateV1ServiceDaoImplMapper.xml
@@ -6,16 +6,16 @@
<!-- 淇濆瓨鏀舵嵁妯℃澘淇℃伅 add by wuxw 2018-07-03 -->
<insert id="saveFeePrintPageTemplateInfo" parameterType="Map">
insert into fee_print_page_template(
- name,template_id,url
+ name,template_id,url,is_default
) values (
- #{name},#{templateId},#{url}
+ #{name},#{templateId},#{url},#{isDefault}
)
</insert>
<!-- 鏌ヨ鏀舵嵁妯℃澘淇℃伅 add by wuxw 2018-07-03 -->
<select id="getFeePrintPageTemplateInfo" parameterType="Map" resultType="Map">
- select t.name,t.status_cd,t.status_cd statusCd,t.template_id,t.template_id templateId,t.url
+ select t.name,t.status_cd,t.status_cd statusCd,t.template_id,t.template_id templateId,t.url,t.is_default isDefault
from fee_print_page_template t
where 1 =1
<if test="name !=null and name != ''">
@@ -29,6 +29,9 @@
</if>
<if test="url !=null and url != ''">
and t.url= #{url}
+ </if>
+ <if test="isDefault !=null and isDefault != ''">
+ and t.is_default= #{isDefault}
</if>
order by t.create_time desc
<if test="page != -1 and page != null ">
@@ -50,6 +53,9 @@
<if test="url !=null and url != ''">
, t.url= #{url}
</if>
+ <if test="isDefault !=null and isDefault != ''">
+ , t.is_default= #{isDefault}
+ </if>
where 1=1
<if test="templateId !=null and templateId != ''">
and t.template_id= #{templateId}
@@ -71,6 +77,9 @@
<if test="templateId !=null and templateId != ''">
and t.template_id= #{templateId}
</if>
+ <if test="isDefault !=null and isDefault != ''">
+ and t.is_default= #{isDefault}
+ </if>
<if test="url !=null and url != ''">
and t.url= #{url}
</if>
--
Gitblit v1.8.0