Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
Project
Project
Details
Activity
Releases
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
李丛阳
education
Commits
c841647f
Commit
c841647f
authored
May 16, 2018
by
刘子正
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排课接口 修改
parent
9a97ed2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
BArrangeServiceImpl.java
...t/business/barrange/service/impl/BArrangeServiceImpl.java
+11
-6
No files found.
src/main/java/org/rcisoft/business/barrange/service/impl/BArrangeServiceImpl.java
View file @
c841647f
...
...
@@ -109,7 +109,7 @@ public class BArrangeServiceImpl implements BArrangeService {
* @param json
* @return
*/
//
@Transactional(propagation = Propagation.REQUIRED,isolation = Isolation.DEFAULT)
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
isolation
=
Isolation
.
DEFAULT
)
@Override
public
PersistModel
save
(
String
json
){
BArrange
bArrange
=
new
BArrange
();
...
...
@@ -142,11 +142,16 @@ public class BArrangeServiceImpl implements BArrangeService {
for
(
int
j
=
0
;
j
<
childList2
.
size
()
;
j
++){
JSONObject
agency
=
childList2
.
getJSONObject
(
j
);
BSubAgency
bSubAgency
=
new
BSubAgency
();
bSubAgency
.
setAgencyCode
(
agency
.
getString
(
"agencyCode"
));
bSubAgency
.
setStatus
(
"0"
);
bSubAgency
.
setSubtaskId
(
bSubtask
.
getBusinessId
());
UserUtil
.
setCurrentPersistOperation
(
bSubAgency
);
bSubAgencyList
.
add
(
bSubAgency
);
if
(
agency
.
get
(
"agencyCode"
)
!=
null
){
bSubAgency
.
setAgencyCode
(
agency
.
getString
(
"agencyCode"
));
bSubAgency
.
setStatus
(
"0"
);
bSubAgency
.
setSubtaskId
(
bSubtask
.
getBusinessId
());
UserUtil
.
setCurrentPersistOperation
(
bSubAgency
);
bSubAgencyList
.
add
(
bSubAgency
);
}
else
{
throw
new
ServiceException
(
ResultServiceEnums
.
PARAMETER_ERROR
);
}
}
bArrangeRepository
.
insertBSubAgency
(
bSubAgencyList
);
}
...
...
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