From 202729432866117778bc1c20315a06aa84fee98e Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期五, 09 五月 2025 15:47:47 +0800
Subject: [PATCH] 编号生成
---
ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml
index 2df1b87..ed440f0 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml
@@ -44,6 +44,9 @@
<if test="query.status != null">
and tsr.status = #{query.status}
</if>
+ <if test="query.createBy != null and query.createBy !=''">
+ and tsr.create_by like concat('%', #{query.createBy}, '%')
+ </if>
AND tsr.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
</where>
ORDER BY tsr.create_time DESC
--
Gitblit v1.7.1