From 0a38562076c5a68b8cfb6ffd634ede1164b1fbf0 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 03 七月 2021 09:57:52 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
java110-db/src/main/resources/mapper/acct/AccountBondObjDetailServiceDaoImplMapper.xml | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/acct/AccountBondObjDetailServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/acct/AccountBondObjDetailServiceDaoImplMapper.xml
index 18deed3..56d084c 100644
--- a/java110-db/src/main/resources/mapper/acct/AccountBondObjDetailServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/acct/AccountBondObjDetailServiceDaoImplMapper.xml
@@ -11,9 +11,9 @@
<!-- 淇濆瓨淇濊瘉閲戞槑缁嗕俊鎭� add by wuxw 2018-07-03 -->
<insert id="saveAccountBondObjDetailInfo" parameterType="Map">
insert into account_bond_obj_detail(
-bobj_id,obj_id,bond_type,detail_id,receivable_amount,remark,start_time,received_amount,state,end_time
+bobj_id,obj_id,bond_type,detail_id,receivable_amount,remark,start_time,received_amount,state,end_time,obj_name
) values (
-#{bobjId},#{objId},#{bondType},#{detailId},#{receivableAmount},#{remark},#{startTime},#{receivedAmount},#{state},#{endTime}
+#{bobjId},#{objId},#{bondType},#{detailId},#{receivableAmount},#{remark},#{startTime},#{receivedAmount},#{state},#{endTime},#{objName}
)
</insert>
@@ -21,7 +21,9 @@
<!-- 鏌ヨ淇濊瘉閲戞槑缁嗕俊鎭� add by wuxw 2018-07-03 -->
<select id="getAccountBondObjDetailInfo" parameterType="Map" resultType="Map">
- select t.bobj_id,t.bobj_id bobjId,t.create_time,t.create_time createTime,t.obj_id,t.obj_id objId,t.bond_type,t.bond_type bondType,t.detail_id,t.detail_id detailId,t.receivable_amount,t.receivable_amount receivableAmount,t.remark,t.start_time,t.start_time startTime,t.status_cd,t.status_cd statusCd,t.received_amount,t.received_amount receivedAmount,t.state,t.end_time,t.end_time endTime
+ select t.bobj_id,t.bobj_id bobjId,t.create_time,t.create_time createTime,t.obj_id,t.obj_id objId,t.bond_type,t.bond_type bondType,
+ t.detail_id,t.detail_id detailId,t.receivable_amount,t.receivable_amount receivableAmount,t.remark,t.start_time,t.start_time startTime,
+ t.status_cd,t.status_cd statusCd,t.received_amount,t.received_amount receivedAmount,t.state,t.end_time,t.end_time endTime,t.obj_name objName
from account_bond_obj_detail t
where 1 =1
<if test="bobjId !=null and bobjId != ''">
@@ -84,8 +86,11 @@
</if>
<if test="objId !=null and objId != ''">
, t.obj_id= #{objId}
-</if>
-<if test="bondType !=null and bondType != ''">
+</if>
+ <if test="objName !=null and objName != ''">
+ , t.obj_name= #{objName}
+ </if>
+ <if test="bondType !=null and bondType != ''">
, t.bond_type= #{bondType}
</if>
<if test="receivableAmount !=null and receivableAmount != ''">
--
Gitblit v1.8.0