Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
57279620
Commit
57279620
authored
Mar 02, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
91ff86f0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
124 additions
and
14 deletions
+124
-14
GroupNoEntity.java
src/main/java/com/yxproject/start/entity/GroupNoEntity.java
+16
-3
TaskEntity.java
src/main/java/com/yxproject/start/entity/TaskEntity.java
+105
-8
application.yml
src/main/resources/application.yml
+3
-3
No files found.
src/main/java/com/yxproject/start/entity/GroupNoEntity.java
View file @
57279620
...
@@ -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
);
}
}
}
}
src/main/java/com/yxproject/start/entity/TaskEntity.java
View file @
57279620
...
@@ -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
setQuality
PeopleName
(
String
qualityPeople
Name
)
{
public
void
setQuality
TestName
(
String
qualityTest
Name
)
{
this
.
quality
PeopleName
=
qualityPeople
Name
;
this
.
quality
TestName
=
qualityTest
Name
;
}
}
@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
,
inStorageDat
e
,
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
,
inStorageNam
e
,
taskStateId
,
isException
,
printerId
,
beginPageNumber
,
finishPageNumber
);
}
}
}
}
src/main/resources/application.yml
View file @
57279620
...
@@ -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.1
97:1521:orcl
url
:
jdbc:oracle:thin:@192.168.1.1
02:1521:yingxin
username
:
y
x
username
:
y
ingxin
password
:
y
x
password
:
y
ingxin
servlet
:
servlet
:
multipart
:
multipart
:
enabled
:
true
enabled
:
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment