自动化立体仓库 - WMS系统
野心家
2023-07-03 0ad8fa5ed0ec519e3a4afbf653d7c3cad5e42d18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.zy.asrs.mapper;
 
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
@Repository
public interface RowLastnoMapper extends BaseMapper<RowLastno> {
 
    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);
}