2022-04-12 10:11:53 +08:00
|
|
|
package com.engine.salary.entity.salaryBill.param;
|
|
|
|
|
|
|
|
|
|
import com.engine.salary.exception.SalaryRunTimeException;
|
|
|
|
|
import lombok.AllArgsConstructor;
|
|
|
|
|
import lombok.Builder;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
|
|
|
|
|
|
import java.util.Collection;
|
2022-11-25 10:53:23 +08:00
|
|
|
import java.util.List;
|
2022-04-12 10:11:53 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @Description: 工资单撤回参数
|
|
|
|
|
* @Author: wangxiangzhong
|
|
|
|
|
* @Date: 2021/12/13 16:18
|
|
|
|
|
*/
|
|
|
|
|
@Data
|
|
|
|
|
@Builder
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
//@ApiModel("工资单撤回参数")
|
|
|
|
|
public class SalarySendWithdrawParam {
|
|
|
|
|
|
|
|
|
|
// @ApiModelProperty("主键id")
|
|
|
|
|
private Collection<Long> ids;
|
|
|
|
|
|
|
|
|
|
// @ApiModelProperty("工资单发放Id")
|
|
|
|
|
private Long salarySendId;
|
|
|
|
|
|
2022-11-25 10:53:23 +08:00
|
|
|
private List<Long> salarySendRangeIds;
|
|
|
|
|
|
2022-04-12 10:11:53 +08:00
|
|
|
public static String checkParam(SalarySendWithdrawParam param, Long employeeId, String tenantKey) {
|
|
|
|
|
if (param.getSalarySendId() == null) {
|
|
|
|
|
throw new SalaryRunTimeException("工资单发放Id必传");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
}
|