Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
haoban3.0
haoban-manage3.0
Commits
a196b705
Commit
a196b705
authored
Mar 18, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
316cd204
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
20 deletions
+55
-20
AuditDTO.java
...src/main/java/com/gic/haoban/manage/api/dto/AuditDTO.java
+49
-18
AuditApiServiceImpl.java
.../manage/service/service/out/impl/AuditApiServiceImpl.java
+6
-2
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/AuditDTO.java
View file @
a196b705
...
...
@@ -4,13 +4,13 @@ import java.io.Serializable;
import
java.util.Date
;
public
class
AuditDTO
implements
Serializable
{
private
Integer
auditId
;
private
String
auditId
;
private
Integer
auditType
;
private
String
commitName
;
private
Integer
commitStaffId
;
private
String
commitStaffId
;
private
String
commitStaffName
;
...
...
@@ -20,6 +20,10 @@ public class AuditDTO implements Serializable {
private
String
changeField
;
private
String
oldValue
;
private
String
newValue
;
private
Date
commitTime
;
private
String
enterpriseId
;
...
...
@@ -30,18 +34,20 @@ public class AuditDTO implements Serializable {
private
String
auditReason
;
private
String
oldValu
e
;
private
Date
createTim
e
;
private
String
newValue
;
private
Date
updateTime
;
private
Integer
statusFlag
;
private
static
final
long
serialVersionUID
=
1L
;
public
Integer
getAuditId
()
{
public
String
getAuditId
()
{
return
auditId
;
}
public
void
setAuditId
(
Integer
auditId
)
{
this
.
auditId
=
auditId
;
public
void
setAuditId
(
String
auditId
)
{
this
.
auditId
=
auditId
==
null
?
null
:
auditId
.
trim
()
;
}
public
Integer
getAuditType
()
{
...
...
@@ -60,12 +66,12 @@ public class AuditDTO implements Serializable {
this
.
commitName
=
commitName
==
null
?
null
:
commitName
.
trim
();
}
public
Integer
getCommitStaffId
()
{
public
String
getCommitStaffId
()
{
return
commitStaffId
;
}
public
void
setCommitStaffId
(
Integer
commitStaffId
)
{
this
.
commitStaffId
=
commitStaffId
;
public
void
setCommitStaffId
(
String
commitStaffId
)
{
this
.
commitStaffId
=
commitStaffId
==
null
?
null
:
commitStaffId
.
trim
()
;
}
public
String
getCommitStaffName
()
{
...
...
@@ -100,6 +106,22 @@ public class AuditDTO implements Serializable {
this
.
changeField
=
changeField
==
null
?
null
:
changeField
.
trim
();
}
public
String
getOldValue
()
{
return
oldValue
;
}
public
void
setOldValue
(
String
oldValue
)
{
this
.
oldValue
=
oldValue
==
null
?
null
:
oldValue
.
trim
();
}
public
String
getNewValue
()
{
return
newValue
;
}
public
void
setNewValue
(
String
newValue
)
{
this
.
newValue
=
newValue
==
null
?
null
:
newValue
.
trim
();
}
public
Date
getCommitTime
()
{
return
commitTime
;
}
...
...
@@ -140,19 +162,27 @@ public class AuditDTO implements Serializable {
this
.
auditReason
=
auditReason
==
null
?
null
:
auditReason
.
trim
();
}
public
String
getOldValu
e
()
{
return
oldValu
e
;
public
Date
getCreateTim
e
()
{
return
createTim
e
;
}
public
void
set
OldValue
(
String
oldValu
e
)
{
this
.
oldValue
=
oldValue
==
null
?
null
:
oldValue
.
trim
()
;
public
void
set
CreateTime
(
Date
createTim
e
)
{
this
.
createTime
=
createTime
;
}
public
String
getNewValu
e
()
{
return
newValu
e
;
public
Date
getUpdateTim
e
()
{
return
updateTim
e
;
}
public
void
setNewValue
(
String
newValue
)
{
this
.
newValue
=
newValue
==
null
?
null
:
newValue
.
trim
();
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
public
Integer
getStatusFlag
()
{
return
statusFlag
;
}
public
void
setStatusFlag
(
Integer
statusFlag
)
{
this
.
statusFlag
=
statusFlag
;
}
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/AuditApiServiceImpl.java
View file @
a196b705
...
...
@@ -41,7 +41,11 @@ public class AuditApiServiceImpl implements AuditApiService{
}
@Override
public
void
refuse
(
String
auditId
,
String
auditReason
)
{
// TODO Auto-generated method stub
TabHaobanAudit
tab
=
new
TabHaobanAudit
();
tab
.
setAuditId
(
auditId
);
tab
.
setAuditStatus
(
0
);
tab
.
setUpdateTime
(
new
Date
());
tab
.
setAuditReason
(
auditReason
);
auditMapper
.
updateByPrimaryKeySelective
(
tab
);
}
}
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