Commit 57279620 authored by dahai's avatar dahai

修改

parent 91ff86f0
...@@ -6,13 +6,15 @@ import java.util.Objects; ...@@ -6,13 +6,15 @@ import java.util.Objects;
@Entity @Entity
@Table(name = "GROUP_NO", schema = "YINGXIN", catalog = "") @Table(name = "GROUP_NO", schema = "YINGXIN", catalog = "")
public class GroupNoEntity { public class GroupNoEntity {
private String groupNo; private String groupNo;
private Long taskId; private Long taskId;
private Long validCount; private Long validCount;
private Long invalidCount; private Long invalidCount;
private Long specialCardCount; private Long specialCardCount;
private long id;
@Id @Basic
@Column(name = "GROUP_NO") @Column(name = "GROUP_NO")
public String getGroupNo() { public String getGroupNo() {
return groupNo; return groupNo;
...@@ -62,12 +64,23 @@ public class GroupNoEntity { ...@@ -62,12 +64,23 @@ public class GroupNoEntity {
this.specialCardCount = specialCardCount; this.specialCardCount = specialCardCount;
} }
@Id
@Column(name = "ID")
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
@Override @Override
public boolean equals(Object o) { public boolean equals(Object o) {
if (this == o) return true; if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false; if (o == null || getClass() != o.getClass()) return false;
GroupNoEntity that = (GroupNoEntity) o; GroupNoEntity that = (GroupNoEntity) o;
return Objects.equals(groupNo, that.groupNo) && return id == that.id &&
Objects.equals(groupNo, that.groupNo) &&
Objects.equals(taskId, that.taskId) && Objects.equals(taskId, that.taskId) &&
Objects.equals(validCount, that.validCount) && Objects.equals(validCount, that.validCount) &&
Objects.equals(invalidCount, that.invalidCount) && Objects.equals(invalidCount, that.invalidCount) &&
...@@ -76,6 +89,6 @@ public class GroupNoEntity { ...@@ -76,6 +89,6 @@ public class GroupNoEntity {
@Override @Override
public int hashCode() { public int hashCode() {
return Objects.hash(groupNo, taskId, validCount, invalidCount, specialCardCount); return Objects.hash(groupNo, taskId, validCount, invalidCount, specialCardCount, id);
} }
} }
...@@ -7,21 +7,30 @@ import java.util.Objects; ...@@ -7,21 +7,30 @@ import java.util.Objects;
@Entity @Entity
@Table(name = "TASK", schema = "YINGXIN", catalog = "") @Table(name = "TASK", schema = "YINGXIN", catalog = "")
public class TaskEntity { public class TaskEntity {
private long taskId; private long taskId;
private Long cardType; private Long cardType;
private Long oldCardType; private Long oldCardType;
private String countyCode; private String countyCode;
private Time submitDate; private Time submitDate;
private String submitName;
private Time issuedDate; private Time issuedDate;
private String issuedName;
private Time downloadDate; private Time downloadDate;
private String downloadName;
private Time printOutDate; private Time printOutDate;
private String printOutName;
private Time positionDate; private Time positionDate;
private String positionName;
private Time outWorkshopDate; private Time outWorkshopDate;
private String qualityPeopleName; private String outWorkshopName;
private String qualityTestName;
private Time qualityTestDate; private Time qualityTestDate;
private String exceptionInformation; private String exceptionInformation;
private Time outStorageDate; private Time outStorageDate;
private String outStorageName;
private Time inStorageDate; private Time inStorageDate;
private String inStorageName;
private Long taskStateId; private Long taskStateId;
private Long isException; private Long isException;
private Long printerId; private Long printerId;
...@@ -78,6 +87,16 @@ public class TaskEntity { ...@@ -78,6 +87,16 @@ public class TaskEntity {
this.submitDate = submitDate; this.submitDate = submitDate;
} }
@Basic
@Column(name = "SUBMIT_NAME")
public String getSubmitName() {
return submitName;
}
public void setSubmitName(String submitName) {
this.submitName = submitName;
}
@Basic @Basic
@Column(name = "ISSUED_DATE") @Column(name = "ISSUED_DATE")
public Time getIssuedDate() { public Time getIssuedDate() {
...@@ -88,6 +107,16 @@ public class TaskEntity { ...@@ -88,6 +107,16 @@ public class TaskEntity {
this.issuedDate = issuedDate; this.issuedDate = issuedDate;
} }
@Basic
@Column(name = "ISSUED_NAME")
public String getIssuedName() {
return issuedName;
}
public void setIssuedName(String issuedName) {
this.issuedName = issuedName;
}
@Basic @Basic
@Column(name = "DOWNLOAD_DATE") @Column(name = "DOWNLOAD_DATE")
public Time getDownloadDate() { public Time getDownloadDate() {
...@@ -98,6 +127,16 @@ public class TaskEntity { ...@@ -98,6 +127,16 @@ public class TaskEntity {
this.downloadDate = downloadDate; this.downloadDate = downloadDate;
} }
@Basic
@Column(name = "DOWNLOAD_NAME")
public String getDownloadName() {
return downloadName;
}
public void setDownloadName(String downloadName) {
this.downloadName = downloadName;
}
@Basic @Basic
@Column(name = "PRINT_OUT_DATE") @Column(name = "PRINT_OUT_DATE")
public Time getPrintOutDate() { public Time getPrintOutDate() {
...@@ -108,6 +147,16 @@ public class TaskEntity { ...@@ -108,6 +147,16 @@ public class TaskEntity {
this.printOutDate = printOutDate; this.printOutDate = printOutDate;
} }
@Basic
@Column(name = "PRINT_OUT_NAME")
public String getPrintOutName() {
return printOutName;
}
public void setPrintOutName(String printOutName) {
this.printOutName = printOutName;
}
@Basic @Basic
@Column(name = "POSITION_DATE") @Column(name = "POSITION_DATE")
public Time getPositionDate() { public Time getPositionDate() {
...@@ -118,6 +167,16 @@ public class TaskEntity { ...@@ -118,6 +167,16 @@ public class TaskEntity {
this.positionDate = positionDate; this.positionDate = positionDate;
} }
@Basic
@Column(name = "POSITION_NAME")
public String getPositionName() {
return positionName;
}
public void setPositionName(String positionName) {
this.positionName = positionName;
}
@Basic @Basic
@Column(name = "OUT_WORKSHOP_DATE") @Column(name = "OUT_WORKSHOP_DATE")
public Time getOutWorkshopDate() { public Time getOutWorkshopDate() {
...@@ -129,13 +188,23 @@ public class TaskEntity { ...@@ -129,13 +188,23 @@ public class TaskEntity {
} }
@Basic @Basic
@Column(name = "QUALITY_PEOPLE_NAME") @Column(name = "OUT_WORKSHOP_NAME")
public String getQualityPeopleName() { public String getOutWorkshopName() {
return qualityPeopleName; return outWorkshopName;
}
public void setOutWorkshopName(String outWorkshopName) {
this.outWorkshopName = outWorkshopName;
}
@Basic
@Column(name = "QUALITY_TEST_NAME")
public String getQualityTestName() {
return qualityTestName;
} }
public void setQualityPeopleName(String qualityPeopleName) { public void setQualityTestName(String qualityTestName) {
this.qualityPeopleName = qualityPeopleName; this.qualityTestName = qualityTestName;
} }
@Basic @Basic
...@@ -168,6 +237,16 @@ public class TaskEntity { ...@@ -168,6 +237,16 @@ public class TaskEntity {
this.outStorageDate = outStorageDate; this.outStorageDate = outStorageDate;
} }
@Basic
@Column(name = "OUT_STORAGE_NAME")
public String getOutStorageName() {
return outStorageName;
}
public void setOutStorageName(String outStorageName) {
this.outStorageName = outStorageName;
}
@Basic @Basic
@Column(name = "IN_STORAGE_DATE") @Column(name = "IN_STORAGE_DATE")
public Time getInStorageDate() { public Time getInStorageDate() {
...@@ -178,6 +257,16 @@ public class TaskEntity { ...@@ -178,6 +257,16 @@ public class TaskEntity {
this.inStorageDate = inStorageDate; this.inStorageDate = inStorageDate;
} }
@Basic
@Column(name = "IN_STORAGE_NAME")
public String getInStorageName() {
return inStorageName;
}
public void setInStorageName(String inStorageName) {
this.inStorageName = inStorageName;
}
@Basic @Basic
@Column(name = "TASK_STATE_ID") @Column(name = "TASK_STATE_ID")
public Long getTaskStateId() { public Long getTaskStateId() {
...@@ -238,16 +327,24 @@ public class TaskEntity { ...@@ -238,16 +327,24 @@ public class TaskEntity {
Objects.equals(oldCardType, that.oldCardType) && Objects.equals(oldCardType, that.oldCardType) &&
Objects.equals(countyCode, that.countyCode) && Objects.equals(countyCode, that.countyCode) &&
Objects.equals(submitDate, that.submitDate) && Objects.equals(submitDate, that.submitDate) &&
Objects.equals(submitName, that.submitName) &&
Objects.equals(issuedDate, that.issuedDate) && Objects.equals(issuedDate, that.issuedDate) &&
Objects.equals(issuedName, that.issuedName) &&
Objects.equals(downloadDate, that.downloadDate) && Objects.equals(downloadDate, that.downloadDate) &&
Objects.equals(downloadName, that.downloadName) &&
Objects.equals(printOutDate, that.printOutDate) && Objects.equals(printOutDate, that.printOutDate) &&
Objects.equals(printOutName, that.printOutName) &&
Objects.equals(positionDate, that.positionDate) && Objects.equals(positionDate, that.positionDate) &&
Objects.equals(positionName, that.positionName) &&
Objects.equals(outWorkshopDate, that.outWorkshopDate) && Objects.equals(outWorkshopDate, that.outWorkshopDate) &&
Objects.equals(qualityPeopleName, that.qualityPeopleName) && Objects.equals(outWorkshopName, that.outWorkshopName) &&
Objects.equals(qualityTestName, that.qualityTestName) &&
Objects.equals(qualityTestDate, that.qualityTestDate) && Objects.equals(qualityTestDate, that.qualityTestDate) &&
Objects.equals(exceptionInformation, that.exceptionInformation) && Objects.equals(exceptionInformation, that.exceptionInformation) &&
Objects.equals(outStorageDate, that.outStorageDate) && Objects.equals(outStorageDate, that.outStorageDate) &&
Objects.equals(outStorageName, that.outStorageName) &&
Objects.equals(inStorageDate, that.inStorageDate) && Objects.equals(inStorageDate, that.inStorageDate) &&
Objects.equals(inStorageName, that.inStorageName) &&
Objects.equals(taskStateId, that.taskStateId) && Objects.equals(taskStateId, that.taskStateId) &&
Objects.equals(isException, that.isException) && Objects.equals(isException, that.isException) &&
Objects.equals(printerId, that.printerId) && Objects.equals(printerId, that.printerId) &&
...@@ -257,6 +354,6 @@ public class TaskEntity { ...@@ -257,6 +354,6 @@ public class TaskEntity {
@Override @Override
public int hashCode() { public int hashCode() {
return Objects.hash(taskId, cardType, oldCardType, countyCode, submitDate, issuedDate, downloadDate, printOutDate, positionDate, outWorkshopDate, qualityPeopleName, qualityTestDate, exceptionInformation, outStorageDate, inStorageDate, taskStateId, isException, printerId, beginPageNumber, finishPageNumber); return Objects.hash(taskId, cardType, oldCardType, countyCode, submitDate, submitName, issuedDate, issuedName, downloadDate, downloadName, printOutDate, printOutName, positionDate, positionName, outWorkshopDate, outWorkshopName, qualityTestName, qualityTestDate, exceptionInformation, outStorageDate, outStorageName, inStorageDate, inStorageName, taskStateId, isException, printerId, beginPageNumber, finishPageNumber);
} }
} }
...@@ -4,9 +4,9 @@ server: ...@@ -4,9 +4,9 @@ server:
spring: spring:
datasource: datasource:
driver-class-name: oracle.jdbc.driver.OracleDriver driver-class-name: oracle.jdbc.driver.OracleDriver
url: jdbc:oracle:thin:@192.168.1.197:1521:orcl url: jdbc:oracle:thin:@192.168.1.102:1521:yingxin
username: yx username: yingxin
password: yx password: yingxin
servlet: servlet:
multipart: multipart:
enabled: true enabled: true
......
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