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
97c815ea
Commit
97c815ea
authored
Aug 29, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PUSH
parent
07e580c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
FailedCardApi.java
src/main/java/com/yxproject/start/api/FailedCardApi.java
+3
-4
No files found.
src/main/java/com/yxproject/start/api/FailedCardApi.java
View file @
97c815ea
package
com
.
yxproject
.
start
.
api
;
import
com.yxproject.start.entity.FailedCardEntity
;
import
com.yxproject.start.entity.FailedCardReasonDicEntity
;
import
com.yxproject.start.entity.SpecialCardEntity
;
import
com.yxproject.start.entity.TaskEntity
;
...
...
@@ -144,13 +143,13 @@ public class FailedCardApi {
JSONObject
jsonObject
=
(
JSONObject
)
o
;
String
name
=
((
JSONObject
)
o
).
getString
(
"name"
);
String
result
=
failedCardService
.
selectSpecialCard
(
((
JSONObject
)
o
).
getString
(
"cardId"
));
String
result
=
failedCardService
.
selectSpecialCard
(
formateAcceptNo
(((
JSONObject
)
o
).
getString
(
"cardId"
)
));
Map
<
String
,
Object
>
idMap
;
//判断是否是特殊证件
if
(
result
!=
null
&&
result
!=
""
)
{
idMap
=
failedCardService
.
selectDataById
(
jsonObject
.
getString
(
"cardId"
));
idMap
=
failedCardService
.
selectDataById
(
formateAcceptNo
(
jsonObject
.
getString
(
"cardId"
)
));
}
else
{
idMap
=
failedCardService
.
selectCountIdByCardId
(
jsonObject
.
getString
(
"cardId"
));
idMap
=
failedCardService
.
selectCountIdByCardId
(
formateAcceptNo
(
jsonObject
.
getString
(
"cardId"
)
));
}
int
initiator
=
5
;
failedCardService
.
insertFailedCard
(
jsonObject
.
getString
(
"failedCardReasonId"
),
idMap
.
get
(
"ACCEPT_NO"
).
toString
(),
idMap
.
get
(
"TASK_ID"
).
toString
(),
String
.
valueOf
(
initiator
),
jsonObject
.
getString
(
"note"
),
idMap
.
get
(
"WORK_GROUP"
).
toString
(),
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