Newer
Older
huludao / src / main / java / com / newfiber / api / pc / dao / TaskUserMapper.java
@新烽开发者 新烽开发者 on 19 Jul 913 bytes init
package com.newfiber.api.pc.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.newfiber.api.pc.model.entity.TaskOrgCount;
import com.newfiber.api.pc.model.entity.TaskUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * taskUser model层
 * 
 * @author luzhan
 */
@Repository
public interface TaskUserMapper extends BaseMapper<TaskUser> {

    List<TaskUser> selectTaskUserList(@Param("collect")List<Long> collect);

    int updateByTaskId(@Param("taskId") Long taskId);

    int updateByTaskId2(@Param("taskId") Long taskId);

    int updateByTaskId3(@Param("taskId") Long taskId);

    List<TaskUser> selectListById(@Param("taskId") Integer taskId, @Param("type")Integer type, @Param("orgType")Integer orgType);

    List<TaskOrgCount> selectOrgCount(@Param("taskId") Integer taskId, @Param("type") Integer type);
}