93 lines
1.7 KiB
Java
93 lines
1.7 KiB
Java
|
|
package com.engine.salary.entity.cbs.param;
|
||
|
|
|
||
|
|
import com.engine.salary.common.BaseQueryParam;
|
||
|
|
import com.engine.salary.exception.SalaryRunTimeException;
|
||
|
|
import lombok.AllArgsConstructor;
|
||
|
|
import lombok.Builder;
|
||
|
|
import lombok.Data;
|
||
|
|
import lombok.NoArgsConstructor;
|
||
|
|
|
||
|
|
import java.time.LocalDate;
|
||
|
|
import java.util.Collection;
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
@Data
|
||
|
|
@Builder
|
||
|
|
@NoArgsConstructor
|
||
|
|
@AllArgsConstructor
|
||
|
|
public class SalaryCBSInfoQueryParam extends BaseQueryParam {
|
||
|
|
|
||
|
|
// 主键id")
|
||
|
|
private Collection<Long> ids;
|
||
|
|
|
||
|
|
// cbsId")
|
||
|
|
private Long salaryCbsId;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 工资核算id
|
||
|
|
*/
|
||
|
|
// @JsonIgnore
|
||
|
|
private Long salaryAccountingId;
|
||
|
|
|
||
|
|
// 关键字(姓名)")
|
||
|
|
private String keyword;
|
||
|
|
|
||
|
|
// 姓名")
|
||
|
|
private String username;
|
||
|
|
private Long userId;
|
||
|
|
|
||
|
|
// 个税扣缴义务人的主键id")
|
||
|
|
private Long taxAgentId;
|
||
|
|
|
||
|
|
// 部门id")
|
||
|
|
private List<Long> departmentIds;
|
||
|
|
|
||
|
|
// 分部id
|
||
|
|
private List<Long> subCompanyIds;
|
||
|
|
|
||
|
|
// 岗位id")
|
||
|
|
private List<Long> positionIds;
|
||
|
|
|
||
|
|
// 状态")
|
||
|
|
private String userstatus;
|
||
|
|
|
||
|
|
// 入职日期")
|
||
|
|
private List<LocalDate> hiredate;
|
||
|
|
|
||
|
|
// 推送状态")
|
||
|
|
private String pushStatus;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* true= [已推送]
|
||
|
|
* false= [未推送]
|
||
|
|
*/
|
||
|
|
private Boolean isPushed;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 推送状态
|
||
|
|
*/
|
||
|
|
// @JsonIgnore
|
||
|
|
private Integer pushStatusVal;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 发送状态
|
||
|
|
*/
|
||
|
|
// @JsonIgnore
|
||
|
|
private List<Integer> sendStatuss;
|
||
|
|
|
||
|
|
private String departmentIdStr;
|
||
|
|
|
||
|
|
private String subCompanyIdStr;
|
||
|
|
|
||
|
|
private String gzkkhh;
|
||
|
|
|
||
|
|
|
||
|
|
public static String checkParam(SalaryCBSInfoQueryParam saveParam) {
|
||
|
|
if (saveParam.getSalaryCbsId() == null) {
|
||
|
|
throw new SalaryRunTimeException("cbs推送Id必传");
|
||
|
|
}
|
||
|
|
|
||
|
|
return "";
|
||
|
|
}
|
||
|
|
}
|