From fd1bfa1163d438ec6cabfdd6e01e632d31189c80 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 12 五月 2023 12:34:10 +0800 Subject: [PATCH] 库位规则、混载库位 --- src/main/resources/mapper/LocRuleMapper.xml | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/LocRuleMapper.xml b/src/main/resources/mapper/LocRuleMapper.xml index 02d6fb5..781ad78 100644 --- a/src/main/resources/mapper/LocRuleMapper.xml +++ b/src/main/resources/mapper/LocRuleMapper.xml @@ -24,7 +24,22 @@ <result column="update_by" property="updateBy" /> <result column="update_time" property="updateTime" /> <result column="memo" property="memo" /> + <result column="mixed" property="mixed" /> + <result column="keep_go" property="keepGo" /> </resultMap> + <select id="selectByMatnr" resultMap="BaseResultMap"> + select * from asr_loc_rule + where matnr = #{matnr} + and mixed = 0 + and status = 1 + </select> + + <select id="selectByMixed" resultMap="BaseResultMap"> + select top 1 * from asr_loc_rule + where mixed = #{mixed} + and status = 1 + </select> + </mapper> -- Gitblit v1.9.1