From 160ed62b3eca5e6b57efd945c95fb5a719bea785 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 06 六月 2023 11:35:37 +0800
Subject: [PATCH] 根据税后求税前金额

---
 ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementpayeeMapper.xml |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementpayeeMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementpayeeMapper.xml
index 5eb8512..40116b7 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementpayeeMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementpayeeMapper.xml
@@ -48,4 +48,24 @@
         </where>
     </select>
 
+
+    <select id="getReimbursementpayeeInfo" resultType="com.ruoyi.project.domain.ServiceReimbursementpayee">
+        SELECT b.personname as personname,b.bankname as bankname,b.bankcardno as bankcardno,b.amount as
+        amount,b.persontype as persontype,b.paiddate as paiddate,b.Remark as remark from service_reimbursement
+        a,service_reimbursementpayee b where a.id=b.RBID and a.del_flag!=1 and b.del_flag!=1
+        <if test="id != null">
+            and a.id = #{id}
+        </if>
+        <if test='username != null and username != ""'>
+            and a.UserName=#{username}
+        </if>
+        <if test='recordstatus != null and recordstatus != ""'>
+            and a.FlowLevel=#{recordstatus}
+        </if>
+        <if test='starttime != null and endtime != ""'>
+            and a.create_time BETWEEN #{starttime} AND #{endtime}
+        </if>
+
+        ORDER BY a.id desc
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3