| | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.zy.acs.manager.manager.entity.StaReserve; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | @Mapper |
| | | @Repository |
| | | public interface StaReserveMapper extends BaseMapper<StaReserve> { |
| | | |
| | | int updateState( |
| | | @Param("taskId") Long taskId |
| | | , @Param("staId") Long staId |
| | | , @Param("type") String type |
| | | , @Param("state") String state |
| | | ); |
| | | |
| | | int updateStateToWaiting( |
| | | @Param("taskId") Long taskId |
| | | , @Param("staId") Long staId |
| | | , @Param("type") String type |
| | | , @Param("state") String state |
| | | , @Param("extendMs") Long extendMs |
| | | ); |
| | | |
| | | int updateStateBackToWaiting( |
| | | @Param("taskId") Long taskId |
| | | , @Param("staId") Long staId |
| | | , @Param("type") String type |
| | | , @Param("state") String state |
| | | , @Param("extendMs") Long extendMs |
| | | ); |
| | | |
| | | } |