Commit c8960ab5 authored by 赵啸非's avatar 赵啸非

添加窗口人员查询

parent 13157e9e
package com.mortals.xhx.module.window.model; package com.mortals.xhx.module.window.model;
import java.util.List;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.ArrayList; import java.util.ArrayList;
...@@ -9,80 +10,92 @@ import com.fasterxml.jackson.annotation.JsonFormat; ...@@ -9,80 +10,92 @@ import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel; import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.window.model.vo.WindowWorkmanPerformVo; import com.mortals.xhx.module.window.model.vo.WindowWorkmanPerformVo;
import com.mortals.xhx.module.window.model.WindowWorkmanPerformDetailEntity;
import lombok.Data; import lombok.Data;
/** /**
* 窗口人员考核汇总登记实体对象 * 窗口人员考核汇总登记实体对象
* *
* @author zxfei * @author zxfei
* @date 2024-01-17 * @date 2024-01-27
*/ */
@Data @Data
public class WindowWorkmanPerformEntity extends WindowWorkmanPerformVo { public class WindowWorkmanPerformEntity extends WindowWorkmanPerformVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 考核年度 * 考核年度
*/ */
private Integer year; private Integer year;
/** /**
* 考核月份 * 考核月份
*/ */
private Integer month; private Integer month;
/** /**
* 窗口ID * 窗口ID
*/ */
private Long windowId; private Long windowId;
/** /**
* 窗口名称 * 窗口名称
*/ */
private String windowName; private String windowName;
/** /**
* 窗口负责人id * 窗口负责人id
*/ */
private Long ownerId; private Long ownerId;
/** /**
* 窗口负责人名称 * 窗口负责人名称
*/ */
private String ownerName; private String ownerName;
/** /**
* 所属部门id * 所属部门id
*/ */
private Long deptId; private Long deptId;
/** /**
* 所属部门名称 * 所属部门名称
*/ */
private String deptName; private String deptName;
/** /**
* 所属大厅 * 所属大厅
*/ */
private Long salaId; private Long salaId;
/** /**
* 所属大厅名称 * 所属大厅名称
*/ */
private String salaName; private String salaName;
/** /**
* 备注 * 备注
*/ */
private String remark; private String remark;
/** /**
* 附件名称 * 附件名称
*/ */
private String annex; private String annex;
/** /**
* 附件地址 * 附件地址
*/ */
private String annexUrl; private String annexUrl;
/** /**
* 填报时间 * 填报时间
*/ */
private Date fillDate; private Date fillDate;
/** /**
* 填报状态0暂存1提交 * 填报状态0暂存1提交
*/ */
private Integer fillStatus; private Integer fillStatus;
/**
* 窗口人员考核汇总明细信息
*/
private List<WindowWorkmanPerformDetailEntity> windowWorkmanPerformDetailList=new ArrayList<>();;
public List<WindowWorkmanPerformDetailEntity> getWindowWorkmanPerformDetailList(){
return windowWorkmanPerformDetailList;
}
public void setWindowWorkmanPerformDetailList(List<WindowWorkmanPerformDetailEntity> windowWorkmanPerformDetailList){
this.windowWorkmanPerformDetailList = windowWorkmanPerformDetailList;
}
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -90,27 +103,27 @@ public class WindowWorkmanPerformEntity extends WindowWorkmanPerformVo { ...@@ -90,27 +103,27 @@ public class WindowWorkmanPerformEntity extends WindowWorkmanPerformVo {
if (obj instanceof WindowWorkmanPerformEntity) { if (obj instanceof WindowWorkmanPerformEntity) {
WindowWorkmanPerformEntity tmp = (WindowWorkmanPerformEntity) obj; WindowWorkmanPerformEntity tmp = (WindowWorkmanPerformEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
} }
public void initAttrValue(){ public void initAttrValue(){
this.year = DateUtil.year(new Date()); this.year = DateUtil.year(new Date());
this.month = DateUtil.month(new Date())+1; this.month = DateUtil.month(new Date())+1;
this.windowId = null; this.windowId = null;
this.windowName = ""; this.windowName = "";
this.ownerId = null; this.ownerId = null;
this.ownerName = ""; this.ownerName = "";
this.deptId = null; this.deptId = null;
this.deptName = ""; this.deptName = "";
this.salaId = null; this.salaId = null;
this.salaName = ""; this.salaName = "";
this.remark = ""; this.remark = "";
this.annex = ""; this.annex = "";
this.annexUrl = ""; this.annexUrl = "";
this.fillDate = new Date(); this.fillDate = new Date();
this.fillStatus = 0; this.fillStatus = 0;
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment