IntelligentRecognition/ah-jjsp-service/.svn/pristine/d6/d62e44f60f640a3bf20c89f0769...

83 lines
1.8 KiB
Plaintext

package com.sercurityControl.proteam.mapper;
import com.sercurityControl.proteam.domain.ClassData;
import com.sercurityControl.proteam.domain.UserCheck;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @author bonus
* @data 2023/4/17 13:22
* @description 人员分配
*/
@Repository(value = "AllocationMapper")
public interface AllocationMapper {
/**
* 查询人员分配
*
* @param entity 条件
* @return 集合
*/
List<UserCheck> getList(UserCheck entity);
/**
* 查询今日任务
*
* @param entity 条件
* @return 集合
*/
List<ClassData> getClass(ClassData entity);
/**
* 任务移除
*
* @param entity 条件
* @return 条数
*/
Integer delData(UserCheck entity);
Integer delTypeData(UserCheck entity);
/**
* 添加任务
*
* @param classId 条件 checkUser
* @return 条数
*/
Integer insertData(@Param("classId")String classId, @Param("checkUser")String checkUser);
/**
*
* @param classId
* @param userId
* @param qualityUser
*/
void insertNewData(@Param("classId")String classId, @Param("checkUser")String checkUser,@Param("qualityUser") String qualityUser);
/**
* 查询今日任务
*
* @param entity 条件
* @return 集合
*/
List<ClassData> getClassData(ClassData entity);
/**
* @param userId
* @param type
* @param value
*/
Integer updateUserInformation( @Param("userId")String userId, @Param("type")String type, @Param("value") String value);
/**
* 删除全部
* @param entity
* @return
*/
Integer delAll(UserCheck entity);
}