From f7936eff2b2ae92b3a680f09daec1cc391f17732 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期五, 05 七月 2024 16:12:42 +0800
Subject: [PATCH] edit work last list Api

---
 pms-parent/pms-global/src/main/resources/mapper/StaDeviceProductionLogMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/StaDeviceProductionLogMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/StaDeviceProductionLogMapper.xml
index 2388fcf..85978a7 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/StaDeviceProductionLogMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/StaDeviceProductionLogMapper.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_production_log
+        where  equip_no = #{equipNo,jdbcType=VARCHAR}
+        order by id desc
+    </select>
+
     <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
         delete from sta_device_production_log
         where  id = #{id,jdbcType=BIGINT} 

--
Gitblit v1.8.0