自动化立体仓库 - WMS系统
Junjie
2023-03-17 c1d2d1a884b5d0c610f274709c7c0657e8ea9afc
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);
}