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
2765755a
Commit
2765755a
authored
Aug 03, 2023
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
491d6d2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ProjectMapper.xml
...odule-ugp-api/src/main/resources/mapper/ProjectMapper.xml
+3
-2
ProjectServiceImpl.java
.../boot/module/ugp/biz/service/impl/ProjectServiceImpl.java
+1
-0
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/resources/mapper/ProjectMapper.xml
View file @
2765755a
...
...
@@ -20,10 +20,11 @@
<select
id=
"queryProjectPage"
resultType=
"com.yeejoin.amos.boot.module.ugp.api.dto.ProjectDto"
>
SELECT
pt.*,
pt.*,( SELECT biz_org_name FROM cb_org_usr WHERE sequence_nbr = ru.supervise_dept_id ) AS superviseDept,
( SELECT biz_org_name FROM cb_org_usr WHERE sequence_nbr = ru.inspection_unit_id ) AS inspectionUnit,
( SELECT log.context FROM tz_ugp_initiation_log log WHERE log.instance_id = pt.instance_id ORDER BY log.rec_date DESC LIMIT 1 ) AS context
FROM
tz_ugp_project pt
tz_ugp_project pt
LEFT JOIN tz_ugp_supervise_rule ru ON RIGHT( pt.install_region_code, 6 ) = ru.admin_region_code
<where>
<if
test=
"roleName == '建设单位'"
>
and pt.construction_unit_id = #{companyId}
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/ProjectServiceImpl.java
View file @
2765755a
...
...
@@ -537,6 +537,7 @@ public class ProjectServiceImpl extends BaseService<ProjectDto, Project, Project
}
List
<
ProjectDto
>
projects
=
page
.
getRecords
();
for
(
ProjectDto
projectDto
:
projects
)
{
projectDto
.
setProgressStatus
(
"0"
);
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
if
(!
ObjectUtils
.
isEmpty
(
projectDto
.
getStartDate
()))
{
String
startDate
=
simpleDateFormat
.
format
(
projectDto
.
getStartDate
());
...
...
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