Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
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
项目统一框架
amos-boot-biz
Commits
95a5cdad
Commit
95a5cdad
authored
Nov 17, 2022
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改城燃管道bug
parent
ea2b3ecc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
InstallNoticeMapper.xml
...ugp-api/src/main/resources/mapper/InstallNoticeMapper.xml
+1
-1
ProjectResourceController.java
.../module/ugp/biz/controller/ProjectResourceController.java
+1
-1
InstallNoticeServiceImpl.java
...module/ugp/biz/service/impl/InstallNoticeServiceImpl.java
+5
-0
OrgServiceImpl.java
...amos/boot/module/ugp/biz/service/impl/OrgServiceImpl.java
+3
-1
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/resources/mapper/InstallNoticeMapper.xml
View file @
95a5cdad
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<if
test=
"constructionUnit != '' and constructionUnit != null"
>
<if
test=
"constructionUnit != '' and constructionUnit != null"
>
and a.construction_unit LIKE concat("%",#{constructionUnit},"%")
and a.construction_unit LIKE concat("%",#{constructionUnit},"%")
</if>
</if>
<if
test=
"ids != null"
>
<if
test=
"ids != null
and ids.size > 0
"
>
and a.project_id in
and a.project_id in
<foreach
collection=
"ids"
item =
"item"
index=
"index"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"ids"
item =
"item"
index=
"index"
open=
"("
separator=
","
close=
")"
>
#{item}
#{item}
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/ProjectResourceController.java
View file @
95a5cdad
...
@@ -293,7 +293,7 @@ public class ProjectResourceController extends BaseController {
...
@@ -293,7 +293,7 @@ public class ProjectResourceController extends BaseController {
@ApiOperation
(
httpMethod
=
"get"
,
value
=
"根据当前登录人获取登录人参与的项目列表"
,
notes
=
"根据当前登录人获取登录人参与的项目列表"
)
@ApiOperation
(
httpMethod
=
"get"
,
value
=
"根据当前登录人获取登录人参与的项目列表"
,
notes
=
"根据当前登录人获取登录人参与的项目列表"
)
public
ResponseModel
<
List
<
Project
>>
selectByUserId
(){
public
ResponseModel
<
List
<
Project
>>
selectByUserId
(){
List
<
Project
>
projectList
=
projectResourceServiceImpl
.
getProjectList
();
List
<
Project
>
projectList
=
projectResourceServiceImpl
.
getProjectList
();
projectList
=
projectList
.
stream
().
filter
(
r
->
r
.
getStatus
().
equals
(
ProjectInitiationEnum
.
流程结束
.
getName
())).
collect
(
Collectors
.
toList
());
projectList
=
projectList
.
stream
().
filter
(
r
->
ProjectInitiationEnum
.
流程结束
.
getName
().
equals
(
r
.
getStatus
())).
collect
(
Collectors
.
toList
());
return
ResponseHelper
.
buildResponse
(
projectList
);
return
ResponseHelper
.
buildResponse
(
projectList
);
}
}
}
}
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/InstallNoticeServiceImpl.java
View file @
95a5cdad
...
@@ -71,6 +71,11 @@ public class InstallNoticeServiceImpl extends BaseService<InstallNoticeDto,Insta
...
@@ -71,6 +71,11 @@ public class InstallNoticeServiceImpl extends BaseService<InstallNoticeDto,Insta
String
id
=
String
.
valueOf
(
project
.
getSequenceNbr
());
String
id
=
String
.
valueOf
(
project
.
getSequenceNbr
());
ids
.
add
(
id
);
ids
.
add
(
id
);
}
}
if
(
ValidationUtil
.
isEmpty
(
ids
)){
return
page
;
}
Page
<
InstallNoticePageDto
>
installNoticePage
=
installNoticeMapper
.
installNoticePage
(
page
,
name
,
constructionUnit
,
ids
);
Page
<
InstallNoticePageDto
>
installNoticePage
=
installNoticeMapper
.
installNoticePage
(
page
,
name
,
constructionUnit
,
ids
);
List
<
InstallNoticePageDto
>
installNoticePageDtos
=
installNoticePage
.
getRecords
();
List
<
InstallNoticePageDto
>
installNoticePageDtos
=
installNoticePage
.
getRecords
();
for
(
InstallNoticePageDto
installNoticePageDto:
installNoticePageDtos
){
for
(
InstallNoticePageDto
installNoticePageDto:
installNoticePageDtos
){
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/OrgServiceImpl.java
View file @
95a5cdad
...
@@ -80,7 +80,9 @@ public class OrgServiceImpl {
...
@@ -80,7 +80,9 @@ public class OrgServiceImpl {
dynamicFormInstance
.
setFormColumnId
(
dynamicFormColumn
.
getSequenceNbr
());
dynamicFormInstance
.
setFormColumnId
(
dynamicFormColumn
.
getSequenceNbr
());
//通过字段名去拿到表单传来的值
//通过字段名去拿到表单传来的值
if
(
"image"
.
equals
(
dynamicFormColumn
.
getFieldCode
())){
if
(
"image"
.
equals
(
dynamicFormColumn
.
getFieldCode
())){
if
(!
ValidationUtil
.
isEmpty
(
jsonObject
.
getJSONArray
(
dynamicFormInstance
.
getFieldCode
()))){
dynamicFormInstance
.
setFieldValue
(
JSON
.
toJSONString
(
jsonObject
.
getJSONArray
(
dynamicFormInstance
.
getFieldCode
())));
dynamicFormInstance
.
setFieldValue
(
JSON
.
toJSONString
(
jsonObject
.
getJSONArray
(
dynamicFormInstance
.
getFieldCode
())));
}
}
else
{
}
else
{
dynamicFormInstance
.
setFieldValue
(
jsonObject
.
getString
(
dynamicFormInstance
.
getFieldCode
()));
dynamicFormInstance
.
setFieldValue
(
jsonObject
.
getString
(
dynamicFormInstance
.
getFieldCode
()));
}
}
...
@@ -270,7 +272,7 @@ public class OrgServiceImpl {
...
@@ -270,7 +272,7 @@ public class OrgServiceImpl {
map
.
put
(
"sequenceNbr"
,
sequenceNbr
);
map
.
put
(
"sequenceNbr"
,
sequenceNbr
);
for
(
DynamicFormInstance
dynamicFormInstance
:
dynamicFormInstanceList
)
{
for
(
DynamicFormInstance
dynamicFormInstance
:
dynamicFormInstanceList
)
{
if
(
"image"
.
equals
(
dynamicFormInstance
.
getFieldCode
())){
if
(
"image"
.
equals
(
dynamicFormInstance
.
getFieldCode
())){
if
(!
ValidationUtil
.
isEmpty
(
dynamicFormInstance
.
getFieldValue
())){
if
(!
ValidationUtil
.
isEmpty
(
dynamicFormInstance
.
getFieldValue
())
||
!
"null"
.
equals
(
dynamicFormInstance
.
getFieldValue
())
){
map
.
put
(
dynamicFormInstance
.
getFieldCode
(),
JSON
.
parseArray
(
dynamicFormInstance
.
getFieldValue
()));
map
.
put
(
dynamicFormInstance
.
getFieldCode
(),
JSON
.
parseArray
(
dynamicFormInstance
.
getFieldValue
()));
}
}
}
else
{
}
else
{
...
...
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