From 11b01181cc89d81fa30cb3b3dcf2ff1e6681f26b Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 12 十一月 2024 19:37:55 +0800
Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/UgRtuProgramMapper.xml | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/UgRtuProgramMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/UgRtuProgramMapper.xml
index b281fdb..9aa7dbd 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/UgRtuProgramMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/UgRtuProgramMapper.xml
@@ -74,6 +74,17 @@
where bd.deleted != 1
order by bd.id DESC
</select>
+ <select id="selectByFileName" parameterType="java.lang.String" resultType="java.lang.Long">
+ select
+ count(*)
+ from ug_rtu_program bd
+ where bd.deleted != 1
+ <trim prefix="and" suffixOverrides="and">
+ <if test="programFileName != null and programFileName != ''">
+ bd.hex_file_name = #{programFileName ,jdbcType=VARCHAR}
+ </if>
+ </trim>
+ </select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
<!--@mbg.generated-->
--
Gitblit v1.8.0