Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
D
data-server
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
licc
data-server
Commits
3272c8d8
Commit
3272c8d8
authored
Apr 26, 2021
by
licc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二维码实现优化
parent
be3afcf0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
AntiFakeServiceImpl.java
...va/cn/wisenergy/service/app/impl/AntiFakeServiceImpl.java
+4
-2
No files found.
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/AntiFakeServiceImpl.java
View file @
3272c8d8
...
...
@@ -141,7 +141,8 @@ public class AntiFakeServiceImpl extends ServiceImpl<AntiFakeMapper, AntiFake> i
return
R
.
error
(
"扫描失败!"
);
}
return
R
.
ok
(
"防伪码号"
+
antiFake
.
getShaValue
()
+
"的产品为非正品,"
+
"第一次扫描时间为:"
+
antiFake
.
getScanTime
()
+
",共扫描过"
+
antiFake
.
getScanNumber
()
+
"池码"
);
"第一次扫描时间为:"
+
DateUtil
.
convertDateToStr
(
antiFake
.
getScanTime
(),
"yyyy-MM-dd HH:mm:ss"
)
+
",共扫描过"
+
antiFake
.
getScanNumber
()
+
"池码"
);
}
antiFake
.
setStatus
(
1
);
...
...
@@ -152,7 +153,8 @@ public class AntiFakeServiceImpl extends ServiceImpl<AntiFakeMapper, AntiFake> i
return
R
.
error
(
"扫描失败!"
);
}
return
R
.
ok
(
"防伪码号"
+
antiFake
.
getShaValue
()
+
"的产品为正品,"
+
"第一次扫描时间为:"
+
antiFake
.
getScanTime
()
+
",共扫描过"
+
antiFake
.
getScanNumber
()
+
"池码"
);
"第一次扫描时间为:"
+
DateUtil
.
convertDateToStr
(
antiFake
.
getScanTime
(),
"yyyy-MM-dd HH:mm:ss"
)
+
",共扫描过"
+
antiFake
.
getScanNumber
()
+
"池码"
);
}
@Override
...
...
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