Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
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
youjj
cloud-platform
Commits
506d77cb
Commit
506d77cb
authored
Aug 26, 2019
by
libin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
companybase
parent
ef09f214
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
BranchCompanyStockApplyInfoBiz.java
.../platform/vehicle/biz/BranchCompanyStockApplyInfoBiz.java
+1
-1
BranchCompanyStockRightBiz.java
...xxfc/platform/vehicle/biz/BranchCompanyStockRightBiz.java
+8
-0
bootstrap.yml
...ehicle/xx-vehicle-server/src/main/resources/bootstrap.yml
+1
-1
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/BranchCompanyStockApplyInfoBiz.java
View file @
506d77cb
...
@@ -32,7 +32,7 @@ public class BranchCompanyStockApplyInfoBiz extends BaseBiz<BranchCompanyStockAp
...
@@ -32,7 +32,7 @@ public class BranchCompanyStockApplyInfoBiz extends BaseBiz<BranchCompanyStockAp
* @param applyVo
* @param applyVo
*/
*/
public
void
apply
(
BranchCompanyStockApplyVo
applyVo
)
{
public
void
apply
(
BranchCompanyStockApplyVo
applyVo
)
{
BranchCompanyStockRight
stockInfo
=
branchCompanyStockRightBiz
.
selectById
(
applyVo
.
getCompanyId
());
BranchCompanyStockRight
stockInfo
=
branchCompanyStockRightBiz
.
selectBy
Company
Id
(
applyVo
.
getCompanyId
());
if
(
stockInfo
==
null
)
{
if
(
stockInfo
==
null
)
{
throw
new
BaseException
(
ResCode
.
BRANCH_COMPANY_STOCK_UNEXIST
.
getDesc
(),
ResCode
.
BRANCH_COMPANY_STOCK_UNEXIST
.
getCode
());
throw
new
BaseException
(
ResCode
.
BRANCH_COMPANY_STOCK_UNEXIST
.
getDesc
(),
ResCode
.
BRANCH_COMPANY_STOCK_UNEXIST
.
getCode
());
}
}
...
...
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/BranchCompanyStockRightBiz.java
View file @
506d77cb
...
@@ -189,4 +189,12 @@ public class BranchCompanyStockRightBiz extends BaseBiz<BranchCompanyStockRightM
...
@@ -189,4 +189,12 @@ public class BranchCompanyStockRightBiz extends BaseBiz<BranchCompanyStockRightM
dataPage
.
setData
(
stockRights
);
dataPage
.
setData
(
stockRights
);
return
dataPage
;
return
dataPage
;
}
}
public
BranchCompanyStockRight
selectByCompanyId
(
Integer
companyId
)
{
BranchCompanyStockRight
branchCompanyStockRight
=
new
BranchCompanyStockRight
();
branchCompanyStockRight
.
setCompanyBaseId
(
companyId
);
branchCompanyStockRight
.
setIsDel
(
0
);
BranchCompanyStockRight
result
=
mapper
.
selectOne
(
branchCompanyStockRight
);
return
result
;
}
}
}
xx-vehicle/xx-vehicle-server/src/main/resources/bootstrap.yml
View file @
506d77cb
...
@@ -23,7 +23,7 @@ spring:
...
@@ -23,7 +23,7 @@ spring:
cloud
:
cloud
:
nacos
:
nacos
:
config
:
config
:
server-addr
:
127.0.0.1:8848
,10.1.37.166:8848
server-addr
:
127.0.0.1:8848
#共用配置,暂定一个
#共用配置,暂定一个
shared-dataids
:
common-dev.yaml,mongodb-log-dev.yaml
shared-dataids
:
common-dev.yaml,mongodb-log-dev.yaml
...
...
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