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
260a66c8
Commit
260a66c8
authored
Mar 12, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
eadfbad2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
6 deletions
+42
-6
DetailReceiptListEntity.java
...a/com/yxproject/start/entity/DetailReceiptListEntity.java
+15
-3
ReceiptListEntity.java
...in/java/com/yxproject/start/entity/ReceiptListEntity.java
+27
-3
No files found.
src/main/java/com/yxproject/start/entity/DetailReceiptListEntity.java
View file @
260a66c8
...
...
@@ -5,7 +5,7 @@ import java.util.Objects;
/**
* @auther zhangyusheng
* 2019/3/12
11:05
* 2019/3/12
21:51
*/
@Entity
@Table
(
name
=
"DETAIL_RECEIPT_LIST"
,
schema
=
"YINGXIN"
,
catalog
=
""
)
...
...
@@ -19,6 +19,7 @@ public class DetailReceiptListEntity {
private
String
note
;
private
String
signGovt
;
private
Long
receiptId
;
private
Long
sex
;
@Id
@Column
(
name
=
"ID"
)
...
...
@@ -110,6 +111,16 @@ public class DetailReceiptListEntity {
this
.
receiptId
=
receiptId
;
}
@Basic
@Column
(
name
=
"SEX"
)
public
Long
getSex
()
{
return
sex
;
}
public
void
setSex
(
Long
sex
)
{
this
.
sex
=
sex
;
}
@Override
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
return
true
;
...
...
@@ -123,11 +134,12 @@ public class DetailReceiptListEntity {
Objects
.
equals
(
cardId
,
that
.
cardId
)
&&
Objects
.
equals
(
note
,
that
.
note
)
&&
Objects
.
equals
(
signGovt
,
that
.
signGovt
)
&&
Objects
.
equals
(
receiptId
,
that
.
receiptId
);
Objects
.
equals
(
receiptId
,
that
.
receiptId
)
&&
Objects
.
equals
(
sex
,
that
.
sex
);
}
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
id
,
uploadNo
,
acceptNo
,
name
,
policeCode
,
cardId
,
note
,
signGovt
,
receiptId
);
return
Objects
.
hash
(
id
,
uploadNo
,
acceptNo
,
name
,
policeCode
,
cardId
,
note
,
signGovt
,
receiptId
,
sex
);
}
}
src/main/java/com/yxproject/start/entity/ReceiptListEntity.java
View file @
260a66c8
...
...
@@ -6,7 +6,7 @@ import java.util.Objects;
/**
* @auther zhangyusheng
* 2019/3/1
0 14:52
* 2019/3/1
2 21:51
*/
@Entity
@Table
(
name
=
"RECEIPT_LIST"
,
schema
=
"YINGXIN"
,
catalog
=
""
)
...
...
@@ -19,6 +19,8 @@ public class ReceiptListEntity {
private
Time
checkDate
;
private
String
checkName
;
private
Long
state
;
private
Long
cardTypeId
;
private
Long
oldCardTypeId
;
@Id
@Column
(
name
=
"ID"
)
...
...
@@ -100,6 +102,26 @@ public class ReceiptListEntity {
this
.
state
=
state
;
}
@Basic
@Column
(
name
=
"CARD_TYPE_ID"
)
public
Long
getCardTypeId
()
{
return
cardTypeId
;
}
public
void
setCardTypeId
(
Long
cardTypeId
)
{
this
.
cardTypeId
=
cardTypeId
;
}
@Basic
@Column
(
name
=
"OLD_CARD_TYPE_ID"
)
public
Long
getOldCardTypeId
()
{
return
oldCardTypeId
;
}
public
void
setOldCardTypeId
(
Long
oldCardTypeId
)
{
this
.
oldCardTypeId
=
oldCardTypeId
;
}
@Override
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
return
true
;
...
...
@@ -112,11 +134,13 @@ public class ReceiptListEntity {
Objects
.
equals
(
finishCount
,
that
.
finishCount
)
&&
Objects
.
equals
(
checkDate
,
that
.
checkDate
)
&&
Objects
.
equals
(
checkName
,
that
.
checkName
)
&&
Objects
.
equals
(
state
,
that
.
state
);
Objects
.
equals
(
state
,
that
.
state
)
&&
Objects
.
equals
(
cardTypeId
,
that
.
cardTypeId
)
&&
Objects
.
equals
(
oldCardTypeId
,
that
.
oldCardTypeId
);
}
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
id
,
qrCode
,
receiptDate
,
policeCode
,
finishCount
,
checkDate
,
checkName
,
state
);
return
Objects
.
hash
(
id
,
qrCode
,
receiptDate
,
policeCode
,
finishCount
,
checkDate
,
checkName
,
state
,
cardTypeId
,
oldCardTypeId
);
}
}
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