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 0db2f61a
authored
Nov 17, 2023
by
huangjinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:甘特图标签返回优化
1 parent
b08c0e1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
project-order/src/main/java/com/dituhui/pea/order/entity/OrderInfoEntity.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/EngineerGanttServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/entity/OrderInfoEntity.java
View file @
0db2f61
...
...
@@ -87,7 +87,7 @@ public class OrderInfoEntity {
private
String
source
;
@Column
(
name
=
"bean_priority"
,
length
=
10
)
private
String
beanPriority
;
private
String
beanPriority
=
"0"
;
@Column
(
name
=
"bean_tags"
,
length
=
200
)
private
String
beanTags
;
...
...
project-order/src/main/java/com/dituhui/pea/order/service/impl/EngineerGanttServiceImpl.java
View file @
0db2f61
...
...
@@ -246,7 +246,7 @@ public class EngineerGanttServiceImpl implements EngineerGanttService {
private
String
getTags
(
OrderInfoEntity
order
)
{
List
<
String
>
tagList
=
new
ArrayList
();
if
(
StringUtils
.
isNotBlank
(
order
.
getBeanTags
()))
{
tagList
=
Arrays
.
asList
(
order
.
getBeanTags
().
split
(
","
));
tagList
=
Arrays
.
stream
(
order
.
getBeanTags
().
split
(
","
)).
collect
(
Collectors
.
toList
(
));
}
if
(
order
.
getIsCutoff
()
==
1
)
{
tagList
.
add
(
OrderPeaTagsEnum
.
cutoff
.
getTag
());
...
...
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