From 34a93b4b34e056ac7c20891efe5630245dc9766c Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期五, 09 六月 2023 16:57:25 +0800 Subject: [PATCH] #出库修改完成数量变更修改工作数量 --- src/main/java/com/zy/asrs/mapper/RowLastnoMapper.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/RowLastnoMapper.java b/src/main/java/com/zy/asrs/mapper/RowLastnoMapper.java index 1a1ca80..f683f26 100644 --- a/src/main/java/com/zy/asrs/mapper/RowLastnoMapper.java +++ b/src/main/java/com/zy/asrs/mapper/RowLastnoMapper.java @@ -3,6 +3,8 @@ import com.baomidou.mybatisplus.mapper.BaseMapper; import com.zy.asrs.entity.RowLastno; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; +import org.apache.ibatis.annotations.Update; import org.springframework.stereotype.Repository; @Mapper @@ -11,4 +13,9 @@ RowLastno findBySection(Integer row); + @Update("update asr_row_lastno set wrk_mk = 1 where whs_type = 1") + void updateInitWrkMk(); + + @Update("update asr_row_lastno set wrk_mk = 1 where whs_type = #{whs}") + void updateNextWrkMk(@Param("whs") int i); } -- Gitblit v1.9.1