package com.newfiber.api.pc.dao; import com.baomidou.mybatisplus.mapper.BaseMapper; import com.newfiber.api.pc.model.entity.Task; import com.newfiber.api.pc.model.entity.TaskUserCount; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface TaskMapper extends BaseMapper<com.newfiber.api.pc.model.entity.Task> { com.newfiber.api.pc.model.entity.Task selectTaskById(@Param("userNo")String userNo, @Param("id") Long id); List<com.newfiber.api.pc.model.entity.Task> selectAppTaskList(@Param("type") Integer type, @Param("userNo")String userNo); List<com.newfiber.api.pc.model.entity.Task> selectDutyTaskList(@Param("list")List<Long> list); List<com.newfiber.api.pc.model.entity.Task> selectPcTaskList(@Param("type") Integer type, @Param("userNo")String userNo, @Param("taskName")String taskName); int insertSelective(com.newfiber.api.pc.model.entity.Task record); List<com.newfiber.api.pc.model.entity.Task> pcTasks(@Param("userName")String userName, @Param("type")Integer type, @Param("taskName")String taskName); TaskUserCount selectTaskCount(@Param("taskId")Integer taskId, @Param("orgType")Integer orgType); List<com.newfiber.api.pc.model.entity.Task> selectAllTaskList(); List<Task> selectByDutyUser(@Param("userNo") String userNo); }