Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
Aidea
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
sa_aidea
Aidea
Commits
1fde2cd7
Commit
1fde2cd7
authored
Mar 10, 2021
by
谢希宇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://106.14.62.141:8081/sa_aidea/aidea
parents
8e858eb8
ee37555b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
7 deletions
+17
-7
PdaCouponrecordServiceImpl.java
...couponrecord/service/impl/PdaCouponrecordServiceImpl.java
+17
-7
No files found.
aidea-modules/couponrecord-module/src/main/java/com/cftech/couponrecord/service/impl/PdaCouponrecordServiceImpl.java
View file @
1fde2cd7
...
...
@@ -67,7 +67,7 @@ public class PdaCouponrecordServiceImpl implements PdaCouponrecordService {
map
.
put
(
"id"
,
logId
);
map
.
put
(
"resultJson"
,
rtnJson
.
toString
());
map
.
put
(
"status"
,
1
);
couponrecordMapper
.
updatePdaLog
(
map
);
//
couponrecordMapper.updatePdaLog(map);
}
}
else
if
(
info
.
getStatus
().
equals
(
"0"
))
{
rtnJson
.
put
(
"code"
,
500
);
...
...
@@ -77,12 +77,22 @@ public class PdaCouponrecordServiceImpl implements PdaCouponrecordService {
map
.
put
(
"resultJson"
,
rtnJson
.
toString
());
map
.
put
(
"status"
,
1
);
}
else
if
(
info
.
getStatus
().
equals
(
"2"
))
{
rtnJson
.
put
(
"code"
,
201
);
rtnJson
.
put
(
"msg"
,
"检测券已使用!"
);
map
=
new
HashMap
<
String
,
Object
>();
map
.
put
(
"id"
,
logId
);
map
.
put
(
"resultJson"
,
rtnJson
.
toString
());
map
.
put
(
"status"
,
1
);
Map
<
String
,
Object
>
map1
=
couponrecordMapper
.
getHospitalIdByfaNo
(
facilityNo
);
if
(
map1
!=
null
&&
map1
.
size
()
>
0
)
{
rtnJson
.
put
(
"code"
,
201
);
rtnJson
.
put
(
"msg"
,
"检测券已使用!"
);
map
=
new
HashMap
<
String
,
Object
>();
map
.
put
(
"id"
,
logId
);
map
.
put
(
"resultJson"
,
rtnJson
.
toString
());
map
.
put
(
"status"
,
1
);
}
else
{
rtnJson
.
put
(
"code"
,
500
);
rtnJson
.
put
(
"msg"
,
"未找到设备号对应的医院!"
);
map
=
new
HashMap
<
String
,
Object
>();
map
.
put
(
"id"
,
logId
);
map
.
put
(
"resultJson"
,
rtnJson
.
toString
());
map
.
put
(
"status"
,
1
);
}
}
else
{
rtnJson
.
put
(
"code"
,
500
);
rtnJson
.
put
(
"msg"
,
"检测券已过期!"
);
...
...
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