From 623397a394196189057db9c1948fe3b24f7fa4e3 Mon Sep 17 00:00:00 2001 From: 刘小明 <liuxm_a@163.com> Date: 星期三, 24 七月 2024 15:34:14 +0800 Subject: [PATCH] 生产线和工站添加启用禁用的校验 --- pms-parent/pms-global/src/main/resources/mapper/PltProParamsMapper.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/PltProParamsMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PltProParamsMapper.xml index 0f9eae0..6cac71e 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PltProParamsMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PltProParamsMapper.xml @@ -21,6 +21,12 @@ from plt_product_params where id = #{id,jdbcType=BIGINT} </select> + <select id="selectParams" parameterType="java.lang.Long" resultMap="BaseResultMap"> + select + <include refid="Base_Column_List" /> + from plt_product_params + where pro_id = #{proId,jdbcType=BIGINT} and deleted !=1 + </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> <!--@mbg.generated--> delete from plt_product_params -- Gitblit v1.8.0