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
265d6704
Commit
265d6704
authored
Mar 07, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
05ea13ac
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
PersonPostApi.java
src/main/java/com/yxproject/start/api/PersonPostApi.java
+2
-1
PersonPostMapper.java
...ain/java/com/yxproject/start/mapper/PersonPostMapper.java
+1
-1
service.js
src/main/resources/static/js/service.js
+1
-1
searchCardMsg.html
...n/resources/static/views/searchCardMsg/searchCardMsg.html
+0
-0
No files found.
src/main/java/com/yxproject/start/api/PersonPostApi.java
View file @
265d6704
...
@@ -98,7 +98,8 @@ public class PersonPostApi {
...
@@ -98,7 +98,8 @@ public class PersonPostApi {
* @param printTime
* @param printTime
* @return
* @return
*/
*/
public
boolean
printPostList
(
@RequestParam
(
"id"
)
int
id
,
@RequestParam
(
"printTime"
)
String
printTime
)
{
@RequestMapping
(
"updatePrintDate"
)
public
boolean
updatePrintDate
(
@RequestParam
(
"id"
)
int
id
,
@RequestParam
(
"printTime"
)
String
printTime
)
{
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
boolean
flag
=
false
;
boolean
flag
=
false
;
try
{
try
{
...
...
src/main/java/com/yxproject/start/mapper/PersonPostMapper.java
View file @
265d6704
...
@@ -58,5 +58,5 @@ public interface PersonPostMapper {
...
@@ -58,5 +58,5 @@ public interface PersonPostMapper {
public
PersonPostEntity
findPostInfoById
(
int
id
);
public
PersonPostEntity
findPostInfoById
(
int
id
);
@Update
(
"update PERSON_POST SET PRINT_DATE=#{printDateTime} where id=#{id}"
)
@Update
(
"update PERSON_POST SET PRINT_DATE=#{printDateTime} where id=#{id}"
)
void
updateIsPrint
(
int
id
,
Date
printDateTime
);
void
updateIsPrint
(
@Param
(
"id"
)
int
id
,
@Param
(
"printDateTime"
)
Date
printDateTime
);
}
}
src/main/resources/static/js/service.js
View file @
265d6704
...
@@ -55,7 +55,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -55,7 +55,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
console
.
log
(
id
)
console
.
log
(
id
)
$http
({
$http
({
method
:
'GET'
,
method
:
'GET'
,
url
:
"../
api/idCard/printPostList
"
+
urlTimeStamp
(),
url
:
"../
personPostApi/updatePrintDate
"
+
urlTimeStamp
(),
params
:
{
params
:
{
id
:
id
,
id
:
id
,
printTime
:
printTime
printTime
:
printTime
...
...
src/main/resources/static/views/searchCardMsg/searchCardMsg.html
View file @
265d6704
This diff is collapsed.
Click to expand it.
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