From 1416681fe19d6e9feb1538b1f64a2bcd7f53a5fe Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期五, 05 七月 2024 14:00:33 +0800
Subject: [PATCH] add getworklast
---
pms-parent/pms-global/src/main/resources/mapper/StaDeviceLifeMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/pms-parent/pms-global/src/main/resources/mapper/StaDeviceLifeMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/StaDeviceLifeMapper.xml
index dffccc8..d3936f5 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/StaDeviceLifeMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/StaDeviceLifeMapper.xml
@@ -40,6 +40,14 @@
where id = #{id,jdbcType=BIGINT}
</select>
+ <select id="selectByEquipNo" parameterType="java.lang.String" resultMap="BaseResultMap">
+ select
+ <include refid="Base_Column_List" />
+ from sta_device_life
+ where equip_no = #{equipNo,jdbcType=VARCHAR}
+ order by id desc
+ </select>
+
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
delete from sta_device_life
where id = #{id,jdbcType=BIGINT}
--
Gitblit v1.8.0