From 9efe3f1d2ccb7375e5d81df7b5c29723dd99cc89 Mon Sep 17 00:00:00 2001 From: dubin <dubin@163.com> Date: 星期一, 19 五月 2025 17:10:14 +0800 Subject: [PATCH] 代码优化 --- src/main/java/com/zy/asrs/mapper/LocMastMapper.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/LocMastMapper.java b/src/main/java/com/zy/asrs/mapper/LocMastMapper.java index 37d6a8d..39505eb 100644 --- a/src/main/java/com/zy/asrs/mapper/LocMastMapper.java +++ b/src/main/java/com/zy/asrs/mapper/LocMastMapper.java @@ -30,11 +30,13 @@ LocMast queryDemoSourceLoc(@Param("crnNo") Integer crnNo); - LocMast queryDemoLoc(@Param("crnNo") Integer crnNo); + LocMast queryDemoLoc(@Param("crnNo") Integer crnNo,@Param("locType1") short locType1); @Select("select count(*) as count from asr_loc_mast where 1=1 and loc_sts = 'O' and loc_type1 = #{locType1} and crn_no = #{crnNo}") Integer selectEmptyLocCount(@Param("locType1") Short locType1, @Param("crnNo") Integer crnNo); LocMast selectByLocNo(String locNo); + List<LocMast> selectLocByLev(@Param("lev")Integer lev); + } -- Gitblit v1.9.1