From d01bad0d465d3a00644f8c5521be88c4b13237c3 Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期四, 04 七月 2024 17:28:10 +0800 Subject: [PATCH] add node type --- 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