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
57a0f095
Commit
57a0f095
authored
Jun 26, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登记妥投失败信息:“查询登记妥投失败信息”的删除,仓库确认后 妥投失败信息不能删除。删除操作不能直接删除,在提示框中二次确认删除操作
parent
acba13e7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
17 deletions
+41
-17
DeliveredFailedInfoEntity.java
...com/yxproject/start/entity/DeliveredFailedInfoEntity.java
+41
-17
No files found.
src/main/java/com/yxproject/start/entity/DeliveredFailedInfoEntity.java
View file @
57a0f095
package
com
.
yxproject
.
start
.
entity
;
package
com
.
yxproject
.
start
.
entity
;
import
javax.persistence.*
;
import
javax.persistence.*
;
import
java.
sql.Tim
e
;
import
java.
util.Dat
e
;
import
java.util.Objects
;
import
java.util.Objects
;
/**
/**
* @auther zhangyusheng
* @auther zhangyusheng
* 2019/
4/17 9:42
* 2019/
6/26 10:19
*/
*/
@Entity
@Entity
@Table
(
name
=
"DELIVERED_FAILED_INFO"
,
schema
=
"YINGXIN"
,
catalog
=
""
)
@Table
(
name
=
"DELIVERED_FAILED_INFO"
,
schema
=
"YINGXIN"
,
catalog
=
""
)
public
class
DeliveredFailedInfoEntity
{
public
class
DeliveredFailedInfoEntity
{
private
long
id
;
private
long
id
;
private
String
waybillNumber
;
private
String
waybillNumber
;
private
Tim
e
backDate
;
private
Dat
e
backDate
;
private
long
backReason
;
private
long
backReason
;
private
String
note
;
private
String
note
;
private
String
registerName
;
private
String
registerName
;
private
String
cardId
;
private
String
cardId
;
private
Date
receiveDate
;
private
String
receiveName
;
@Id
@Id
@Column
(
name
=
"ID"
)
@Column
(
name
=
"ID"
)
...
@@ -41,11 +43,11 @@ public class DeliveredFailedInfoEntity {
...
@@ -41,11 +43,11 @@ public class DeliveredFailedInfoEntity {
@Basic
@Basic
@Column
(
name
=
"BACK_DATE"
)
@Column
(
name
=
"BACK_DATE"
)
public
Tim
e
getBackDate
()
{
public
Dat
e
getBackDate
()
{
return
backDate
;
return
backDate
;
}
}
public
void
setBackDate
(
Tim
e
backDate
)
{
public
void
setBackDate
(
Dat
e
backDate
)
{
this
.
backDate
=
backDate
;
this
.
backDate
=
backDate
;
}
}
...
@@ -69,15 +71,6 @@ public class DeliveredFailedInfoEntity {
...
@@ -69,15 +71,6 @@ public class DeliveredFailedInfoEntity {
this
.
registerName
=
registerName
;
this
.
registerName
=
registerName
;
}
}
@Basic
@Column
(
name
=
"BACK_REASON"
)
public
long
getBackReason
()
{
return
backReason
;
}
public
void
setBackReason
(
long
backReason
)
{
this
.
backReason
=
backReason
;
}
@Basic
@Basic
@Column
(
name
=
"CARD_ID"
)
@Column
(
name
=
"CARD_ID"
)
public
String
getCardId
()
{
public
String
getCardId
()
{
...
@@ -88,6 +81,35 @@ public class DeliveredFailedInfoEntity {
...
@@ -88,6 +81,35 @@ public class DeliveredFailedInfoEntity {
this
.
cardId
=
cardId
;
this
.
cardId
=
cardId
;
}
}
@Basic
@Column
(
name
=
"RECEIVE_DATE"
)
public
Date
getReceiveDate
()
{
return
receiveDate
;
}
public
void
setReceiveDate
(
Date
receiveDate
)
{
this
.
receiveDate
=
receiveDate
;
}
@Basic
@Column
(
name
=
"RECEIVE_NAME"
)
public
String
getReceiveName
()
{
return
receiveName
;
}
public
void
setReceiveName
(
String
receiveName
)
{
this
.
receiveName
=
receiveName
;
}
@Basic
@Column
(
name
=
"BACK_REASON"
)
public
long
getBackReason
()
{
return
backReason
;
}
public
void
setBackReason
(
long
backReason
)
{
this
.
backReason
=
backReason
;
}
@Override
@Override
public
boolean
equals
(
Object
o
)
{
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
return
true
;
if
(
this
==
o
)
return
true
;
...
@@ -97,13 +119,15 @@ public class DeliveredFailedInfoEntity {
...
@@ -97,13 +119,15 @@ public class DeliveredFailedInfoEntity {
Objects
.
equals
(
waybillNumber
,
that
.
waybillNumber
)
&&
Objects
.
equals
(
waybillNumber
,
that
.
waybillNumber
)
&&
Objects
.
equals
(
backDate
,
that
.
backDate
)
&&
Objects
.
equals
(
backDate
,
that
.
backDate
)
&&
Objects
.
equals
(
note
,
that
.
note
)
&&
Objects
.
equals
(
note
,
that
.
note
)
&&
Objects
.
equals
(
backReason
,
that
.
backReason
)
&&
Objects
.
equals
(
registerName
,
that
.
registerName
)
&&
Objects
.
equals
(
cardId
,
that
.
cardId
)
&&
Objects
.
equals
(
cardId
,
that
.
cardId
)
&&
Objects
.
equals
(
registerName
,
that
.
registerName
);
Objects
.
equals
(
receiveDate
,
that
.
receiveDate
)
&&
Objects
.
equals
(
backReason
,
that
.
backReason
)
&&
Objects
.
equals
(
receiveName
,
that
.
receiveName
);
}
}
@Override
@Override
public
int
hashCode
()
{
public
int
hashCode
()
{
return
Objects
.
hash
(
id
,
cardId
,
backReason
,
waybillNumber
,
backDate
,
note
,
register
Name
);
return
Objects
.
hash
(
id
,
waybillNumber
,
backDate
,
backReason
,
note
,
registerName
,
cardId
,
receiveDate
,
receive
Name
);
}
}
}
}
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