Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f66a32c3
authored
Aug 01, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
2 parents
d5300495
dc306930
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
project-order/src/main/java/com/dituhui/pea/order/dao/OrderInfoDao.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/BusinessBlockServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/dao/OrderInfoDao.java
View file @
f66a32c
...
...
@@ -9,6 +9,7 @@ import java.util.List;
public
interface
OrderInfoDao
extends
JpaRepository
<
OrderInfoEntity
,
Long
>
{
OrderInfoEntity
getByOrderId
(
String
orderId
);
OrderInfoEntity
getByOrderIdAndDt
(
String
orderId
,
LocalDate
dt
);
List
<
OrderInfoEntity
>
findByOrderId
(
String
orderId
);
...
...
project-order/src/main/java/com/dituhui/pea/order/service/impl/BusinessBlockServiceImpl.java
View file @
f66a32c
...
...
@@ -180,10 +180,12 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
return
Result
.
failure
(
"区块已存在或者裁剪为空"
);
}
String
blockId
=
saasResult
.
getResult
();
String
blockName
=
String
.
format
(
"%s_%s"
,
layerName
,
team
.
getTeamName
());
//区块名称
MapBlockInfo
block
=
new
MapBlockInfo
();
block
.
setBlockId
(
blockId
);
block
.
setBlockName
(
team
.
getTeamName
());
//默认使用team name
;
block
.
setBlockName
(
blockName
)
;
block
.
setBranchId
(
team
.
getBranchId
());
block
.
setGroupId
(
team
.
getGroupId
());
block
.
setTeamId
(
teamId
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment