160 lines
4.2 KiB
Java
Executable File
160 lines
4.2 KiB
Java
Executable File
package com.cm.systemcity.service.usersignout;
|
|
|
|
import com.cm.common.exception.RemoveException;
|
|
import com.cm.common.exception.SaveException;
|
|
import com.cm.common.exception.SearchException;
|
|
import com.cm.common.exception.UpdateException;
|
|
import com.cm.common.pojo.ListPage;
|
|
import com.cm.common.result.SuccessResult;
|
|
import com.cm.common.result.SuccessResultData;
|
|
import com.cm.common.result.SuccessResultList;
|
|
import com.cm.systemcity.pojo.dtos.usersignout.UserSignoutDTO;
|
|
import com.cm.systemcity.pojo.dtos.usersignout.UserSignoutDetailDTO;
|
|
import com.cm.systemcity.pojo.dtos.usersignout.UserUnSignoutDetailDTO;
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import java.io.IOException;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* @ClassName: IUserSignoutService
|
|
* @Description: 人员签退
|
|
* @Author: admin
|
|
* @Date: 2019-07-28 18:01:36
|
|
* @Version: 1.0
|
|
**/
|
|
public interface IUserSignoutService {
|
|
|
|
/**
|
|
* 新增人员签退
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SaveException
|
|
* @throws SearchException
|
|
*/
|
|
SuccessResult saveUserSignout(Map<String, Object> params) throws SaveException, SearchException;
|
|
|
|
/**
|
|
* 新增人员签退
|
|
*
|
|
* @param token
|
|
* @param params
|
|
* @return
|
|
* @throws SaveException
|
|
* @throws SearchException
|
|
*/
|
|
SuccessResult saveUserSignout(String token, Map<String, Object> params) throws SaveException, SearchException;
|
|
|
|
/**
|
|
* 删除人员签退
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws RemoveException
|
|
*/
|
|
SuccessResult removeUserSignout(Map<String, Object> params) throws RemoveException;
|
|
|
|
/**
|
|
* 修改人员签退
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws UpdateException
|
|
*/
|
|
SuccessResult updateUserSignout(Map<String, Object> params) throws UpdateException;
|
|
|
|
/**
|
|
* 全部人员签退列表
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
List<UserSignoutDTO> listUserSignoutAll(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 人员签退详情
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
UserSignoutDTO getUserSignout(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 人员签退分页列表
|
|
*
|
|
* @param page
|
|
* @return
|
|
*/
|
|
SuccessResultList<List<UserSignoutDTO>> listPageUserSignout(ListPage page) throws SearchException;
|
|
|
|
/**
|
|
* 人员签退列表,无分页
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
List<UserSignoutDTO> listUserSignout(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 检查人员是否签退
|
|
*
|
|
* @param token
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
SuccessResultData<String> getCheckUserSignout(String token, Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 签退人员列表详情
|
|
*
|
|
* @param page
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
SuccessResultList<List<UserSignoutDetailDTO>> listPageUserSignoutDetail(ListPage page) throws SearchException;
|
|
|
|
/**
|
|
* 签退人员列表详情导出excel
|
|
*
|
|
* @param response
|
|
* @param params
|
|
* @throws SearchException
|
|
*/
|
|
void listUserSignoutDetailToExcel(HttpServletResponse response, Map<String, Object> params) throws SearchException, IOException;
|
|
|
|
/**
|
|
* 未签退人员详情列表
|
|
*
|
|
* @param page
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
SuccessResultList<List<UserUnSignoutDetailDTO>> listPageUserUnSignoutDetail(ListPage page) throws SearchException;
|
|
|
|
/**
|
|
* 未签退人员详情列表导出Excel
|
|
*
|
|
* @param response
|
|
* @param params
|
|
* @throws SearchException
|
|
*/
|
|
void listUserUnSignoutDetailToExcel(HttpServletResponse response, Map<String, Object> params) throws SearchException, IOException;
|
|
|
|
/**
|
|
* 统计签退次数
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
Integer countUserSignout(Map<String, Object> params) throws SearchException;
|
|
|
|
List<UserSignoutDTO> listUserSignOutByUserIdsAndDay(List<String> userIds, String day);
|
|
}
|