From da8419536c33e726b02af85b710465f5d25afdf9 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期一, 19 一月 2026 16:21:05 +0800
Subject: [PATCH] 新增前后端
---
service/src/main/resources/mapper/cwgl/ReceivableBillManagementMapper.xml | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/service/src/main/resources/mapper/cwgl/ReceivableBillManagementMapper.xml b/service/src/main/resources/mapper/cwgl/ReceivableBillManagementMapper.xml
index 188b8b0..50d95fb 100644
--- a/service/src/main/resources/mapper/cwgl/ReceivableBillManagementMapper.xml
+++ b/service/src/main/resources/mapper/cwgl/ReceivableBillManagementMapper.xml
@@ -67,7 +67,16 @@
<if test="billGenerateDate != null "> and thisTab.bill_generate_date = #{billGenerateDate}</if>
<if test="billSendDate != null "> and thisTab.bill_send_date = #{billSendDate}</if>
<if test="billDueDate != null "> and thisTab.bill_due_date = #{billDueDate}</if>
- <if test="status != null and status != ''"> and thisTab.status = #{status}</if>
+ <if test="status != null and status != ''">
+ <choose>
+ <when test="status == -1">
+ and thisTab.status in (0, 1)
+ </when>
+ <when test="status > 0">
+ and thisTab.status = #{status}
+ </when>
+ </choose>
+ </if>
<if test="deleted != null "> and thisTab.deleted = #{deleted}</if>
</sql>
@@ -92,6 +101,11 @@
order by thisTab.id desc
</select>
+ <select id="selectReceivableBillManagementBySystemNo" parameterType="String" resultMap="ReceivableBillManagementResult">
+ <include refid="selectReceivableBillManagementVo"/>
+ where system_no = #{systemNo}
+ </select>
+
<!-- 鏂板 -->
<insert id="insertReceivableBillManagement" parameterType="com.ruoyi.cwgl.domain.ReceivableBillManagement" useGeneratedKeys="true" keyProperty="id">
insert into receivable_bill_management
--
Gitblit v1.8.0