Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
base-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
base-platform
Commits
a12b3f17
Commit
a12b3f17
authored
Apr 15, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改构建api文档
parent
6e150ce5
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
960 deletions
+38
-960
base-manager/src/main/java/com/mortals/xhx/module/business/service/impl/BusinessServiceImpl.java
...xhx/module/business/service/impl/BusinessServiceImpl.java
+5
-2
doc/api.md
doc/api.md
+33
-958
No files found.
base-manager/src/main/java/com/mortals/xhx/module/business/service/impl/BusinessServiceImpl.java
View file @
a12b3f17
...
...
@@ -135,8 +135,11 @@ public class BusinessServiceImpl extends AbstractCRUDServiceImpl<BusinessDao, Bu
siteBusinessEntity
.
setCreateUserId
(
context
==
null
?
1L
:
context
.
getUser
()
==
null
?
1L
:
context
.
getUser
().
getId
());
siteBusinessEntity
.
setCreateTime
(
new
Date
());
if
(
siteBusinessEntity
.
getIsBusiness
()
==
IsBusinessEnum
.
二级业务
.
getValue
()
&&
!
ObjectUtils
.
isEmpty
(
siteBusinessEntity
.
getParentId
()))
{
SiteBusinessEntity
tempSiteBusinessEntity
=
siteBusinessService
.
selectOne
(
new
SiteBusinessQuery
().
siteId
(
siteEntity
.
getId
()).
businessId
(
siteBusinessEntity
.
getParentId
()));
if
(
siteBusinessEntity
.
getIsBusiness
()
==
IsBusinessEnum
.
二级业务
.
getValue
()
&&
!
ObjectUtils
.
isEmpty
(
siteBusinessEntity
.
getParentId
()))
{
SiteBusinessEntity
tempSiteBusinessEntity
=
siteBusinessService
.
selectOne
(
new
SiteBusinessQuery
()
.
siteId
(
siteEntity
.
getId
())
.
businessId
(
siteBusinessEntity
.
getParentId
()));
if
(
ObjectUtils
.
isEmpty
(
tempSiteBusinessEntity
))
{
BusinessEntity
parentBusinessEntity
=
this
.
get
(
siteBusinessEntity
.
getParentId
(),
context
);
SiteBusinessEntity
parentSiteBusinessEntity
=
new
SiteBusinessEntity
();
...
...
doc/api.md
View file @
a12b3f17
This diff is collapsed.
Click to expand it.
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