| | |
| | | package com.zy.acs.manager.manager.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.zy.acs.manager.manager.controller.param.StaParam; |
| | | import com.zy.acs.manager.manager.entity.Sta; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface StaMapper extends BaseMapper<Sta> { |
| | | |
| | | int tryReserveIn(@Param("staId") Long staId, @Param("qty") Integer qty); |
| | | |
| | | int releaseReserveIn(@Param("staId") Long staId, @Param("qty") Integer qty); |
| | | |
| | | } |