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
f1d2ae06
Commit
f1d2ae06
authored
Sep 24, 2019
by
liuxinben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
从制证库生成任务单,当制证类型为0时改为8
parent
8a250a21
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
GroupNoMapper.java
src/main/java/com/yxproject/start/mapper/GroupNoMapper.java
+1
-1
TaskListServiceImpl.java
...com/yxproject/start/service/impl/TaskListServiceImpl.java
+6
-1
No files found.
src/main/java/com/yxproject/start/mapper/GroupNoMapper.java
View file @
f1d2ae06
...
...
@@ -79,7 +79,7 @@ public interface GroupNoMapper {
"on PROD_GROUP_RELATION_T.group_no =PROD_GROUP_T.group_no \n"
+
"left join CARD_TYPE_DIC \n"
+
"on decode(substr(ORIGINAL_NO,3,2),'99',6,substr(ORIGINAL_NO,21,1)) = CARD_TYPE_DIC.CARD_TYPE_ID \n"
+
"where PROD_GROUP_T.group_no in (
#
{groupNo}) "
)
"where PROD_GROUP_T.group_no in (
$
{groupNo}) "
)
public
List
<
Map
<
String
,
Object
>>
selectGroupAtPRODUByGroupNo
(
@Param
(
"groupNo"
)
String
groupNo
);
/**
...
...
src/main/java/com/yxproject/start/service/impl/TaskListServiceImpl.java
View file @
f1d2ae06
...
...
@@ -733,7 +733,12 @@ public class TaskListServiceImpl implements TaskListService {
if
(
list
.
size
()>
0
){
Map
<
String
,
Object
>
stringObjectMap
=
list
.
get
(
0
);
TaskEntity
taskEntity
=
new
TaskEntity
();
taskEntity
.
setCardType
(
Long
.
valueOf
(
stringObjectMap
.
get
(
"CARD_TYPE_ID"
)
+
""
));
String
cardType
=
String
.
valueOf
(
stringObjectMap
.
get
(
"CARD_TYPE_ID"
));
if
(
cardType
.
equals
(
String
.
valueOf
(
0
))){
taskEntity
.
setCardType
(
Long
.
valueOf
(
8
));
}
else
{
taskEntity
.
setCardType
(
Long
.
valueOf
(
stringObjectMap
.
get
(
"CARD_TYPE_ID"
)
+
""
));
}
taskEntity
.
setCountyCode
(
stringObjectMap
.
get
(
"COUNTY_CODE"
)
+
""
);
taskEntity
.
setSubmitName
(
submitName
);
taskEntity
.
setTaskStateId
(
Long
.
valueOf
(
process
));
...
...
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