mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
完善
This commit is contained in:
@@ -302,6 +302,17 @@ public class EmpSalaryEntity extends OrgCommonEntity implements SalaryItemData {
|
||||
@Comment("出生日期")
|
||||
private LocalDate birthday;
|
||||
|
||||
|
||||
@Comment("身份证签发机关")
|
||||
private String issueAuthority;
|
||||
|
||||
@Comment("有效期限")
|
||||
private LocalDate validPeriod;
|
||||
|
||||
@Comment("是否永久有效")
|
||||
private Boolean permanent;
|
||||
|
||||
|
||||
/** 批次数据冗余 */
|
||||
@Comment("批次年月")
|
||||
private LocalDate batchYearMonth;
|
||||
@@ -396,6 +407,10 @@ public class EmpSalaryEntity extends OrgCommonEntity implements SalaryItemData {
|
||||
this.workAge = salaryEntity.workAge;
|
||||
this.age = salaryEntity.age;
|
||||
this.birthday = salaryEntity.birthday;
|
||||
|
||||
this.issueAuthority = salaryEntity.issueAuthority;
|
||||
this.validPeriod = salaryEntity.validPeriod;
|
||||
this.permanent = salaryEntity.permanent;
|
||||
}
|
||||
|
||||
public void updateItems(EmpSalaryEntity salaryEntity) {
|
||||
@@ -699,6 +714,10 @@ public class EmpSalaryEntity extends OrgCommonEntity implements SalaryItemData {
|
||||
|
||||
map.put("birthday", this.birthday);
|
||||
|
||||
map.put("issueAuthority", this.issueAuthority);
|
||||
map.put("validPeriod", this.validPeriod);
|
||||
map.put("permanent", this.permanent);
|
||||
|
||||
map.put("batchYearMonth", this.batchYearMonth);
|
||||
|
||||
map.put("batchNo", this.batchNo);
|
||||
|
||||
@@ -135,4 +135,15 @@ public class CreateEmployeeDto extends OrgCommonDto {
|
||||
private String empStatus;
|
||||
|
||||
|
||||
|
||||
@Comment("身份证签发机关")
|
||||
private String issueAuthority;
|
||||
|
||||
@Comment("有效期限")
|
||||
private LocalDate validPeriod;
|
||||
|
||||
@Comment("是否永久有效")
|
||||
private Boolean permanent;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -144,6 +144,16 @@ public class EmployeeCalculateDto extends OrgCommonDto {
|
||||
@Comment("出生日期")
|
||||
private LocalDate birthday;
|
||||
|
||||
|
||||
@Comment("身份证签发机关")
|
||||
private String issueAuthority;
|
||||
|
||||
@Comment("有效期限")
|
||||
private LocalDate validPeriod;
|
||||
|
||||
@Comment("是否永久有效")
|
||||
private Boolean permanent;
|
||||
|
||||
public Map<String, Object> toCtxMap() {
|
||||
|
||||
HashMap<String, Object> map = new HashMap<>();
|
||||
@@ -192,6 +202,11 @@ public class EmployeeCalculateDto extends OrgCommonDto {
|
||||
map.put("empName", this.getName());
|
||||
map.put("empCode", this.getCode());
|
||||
|
||||
|
||||
map.put("issueAuthority", this.issueAuthority);
|
||||
map.put("validPeriod", this.validPeriod);
|
||||
map.put("permanent", this.permanent);
|
||||
|
||||
Try.run(() -> map.put("departmentId", this.getDepartment().getId()));
|
||||
Try.run(() -> map.put("departmentCode", this.getDepartment().getCode()));
|
||||
Try.run(() -> map.put("departmentName", this.getDepartment().getName()));
|
||||
|
||||
@@ -181,4 +181,14 @@ public class EmployeeDto extends OrgCommonDto {
|
||||
|
||||
@Comment("出生日期")
|
||||
private LocalDate birthday;
|
||||
|
||||
|
||||
@Comment("身份证签发机关")
|
||||
private String issueAuthority;
|
||||
|
||||
@Comment("有效期限")
|
||||
private LocalDate validPeriod;
|
||||
|
||||
@Comment("是否永久有效")
|
||||
private Boolean permanent;
|
||||
}
|
||||
|
||||
@@ -141,5 +141,13 @@ public class UpdateEmployeeDto extends OrgCommonDto {
|
||||
private String empStatus;
|
||||
|
||||
|
||||
@Comment("身份证签发机关")
|
||||
private String issueAuthority;
|
||||
|
||||
@Comment("有效期限")
|
||||
private LocalDate validPeriod;
|
||||
|
||||
@Comment("是否永久有效")
|
||||
private Boolean permanent;
|
||||
|
||||
}
|
||||
|
||||
@@ -170,6 +170,16 @@ public class EmployeeEntity extends OrgCommonEntity {
|
||||
@Comment("出生日期")
|
||||
private LocalDate birthday;
|
||||
|
||||
@Comment("身份证签发机关")
|
||||
private String issueAuthority;
|
||||
|
||||
@Comment("有效期限")
|
||||
private LocalDate validPeriod;
|
||||
|
||||
@Comment("是否永久有效")
|
||||
private Boolean permanent;
|
||||
|
||||
|
||||
@Override
|
||||
public void prePersist() {
|
||||
super.prePersist();
|
||||
|
||||
@@ -17,4 +17,8 @@ public class CreateMeterDto extends OrgCommonDto {
|
||||
|
||||
@Comment("安装位置")
|
||||
private String location;
|
||||
|
||||
|
||||
@Comment("ybiot设备id")
|
||||
private String ybiotDeviceId;
|
||||
}
|
||||
|
||||
@@ -19,4 +19,8 @@ public class MeterDto extends OrgCommonDto {
|
||||
|
||||
@Comment("安装位置")
|
||||
private String location;
|
||||
|
||||
|
||||
@Comment("ybiot设备id")
|
||||
private String ybiotDeviceId;
|
||||
}
|
||||
|
||||
@@ -14,4 +14,8 @@ public class UpdateMeterDto extends OrgCommonDto {
|
||||
private Double initValue;
|
||||
@Comment("安装位置")
|
||||
private String location;
|
||||
|
||||
|
||||
@Comment("ybiot设备id")
|
||||
private String ybiotDeviceId;
|
||||
}
|
||||
|
||||
@@ -14,12 +14,15 @@ public class MeterEntity extends OrgCommonEntity {
|
||||
@Comment("类型")
|
||||
private String type;
|
||||
|
||||
|
||||
@Comment("初始值")
|
||||
private Double initValue;
|
||||
|
||||
|
||||
|
||||
@Comment("安装位置")
|
||||
private String location;
|
||||
|
||||
@Comment("ybiot设备id")
|
||||
private String ybiotDeviceId;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -34,4 +34,6 @@ public class OcrEntity extends CommonEntity {
|
||||
private String ak;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -334,6 +334,10 @@ aliyun:
|
||||
code: oss-rg-china-mainland
|
||||
endpoint : oss-rg-china-mainland.aliyuncs.com
|
||||
internal-endpoint: 不支持
|
||||
OCR:
|
||||
ak: "LTAI5tQEJePBCd85weQT6z6Q"
|
||||
sk: "wjEePyMe6mvSsF1fCG3KG8IbxcYoag"
|
||||
endpoint: "ocr-api.cn-hangzhou.aliyuncs.com"
|
||||
dust:
|
||||
url: "http://dust.0531yun.cn/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user