package com.newfiber.api.pc.dao; import com.baomidou.mybatisplus.mapper.BaseMapper; import com.newfiber.api.pc.model.entity.TaskState; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; @Repository public interface TaskStateMapper extends BaseMapper<TaskState> { int updateTaskState(@Param("taskId") Long taskId, @Param("user")String user, @Param("state")int state); int deleteByTaskId(@Param("taskId") Long taskId); TaskState selectByTaskIdAndUserName(@Param("taskId") Long taskId, @Param("userName")String nextUser); int updateByTaskId(@Param("taskId") Long taskId); }