Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
cfld-know-partner
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
cfld-backend
cfld-know-partner
Commits
39e89673
Commit
39e89673
authored
Nov 02, 2023
by
yaobaizheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合伙招商api
parent
601b115f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
3 deletions
+34
-3
PartnerProjectInfoListVO.java
...n/java/com/partner/admin/VO/PartnerProjectInfoListVO.java
+14
-0
PartnerProjectInfoServiceImpl.java
...ner/admin/service/impl/PartnerProjectInfoServiceImpl.java
+0
-1
PartnerProjectInfoMapper.xml
src/main/resources/mapper/PartnerProjectInfoMapper.xml
+20
-2
No files found.
src/main/java/com/partner/admin/VO/PartnerProjectInfoListVO.java
View file @
39e89673
...
...
@@ -77,6 +77,20 @@ public class PartnerProjectInfoListVO implements Serializable {
@ApiModelProperty
(
value
=
"0-项目查重确认 1-确认项目所属 2-确认佣金比例"
)
private
String
todoStatusDescription
=
""
;
/**
* 0-其他;1审核中;2推进中;3-分配中
*/
@ApiModelProperty
(
value
=
"0-其他;1审核中;2推进中;3-分配中"
)
private
Integer
stage
=
0
;
/**
* 0-项目查重确认 1-确认项目所属 2-确认佣金比例
*/
@ApiModelProperty
(
value
=
"0-其他;1审核中;2推进中;3-分配中"
)
private
String
stageDescription
=
""
;
@ApiModelProperty
(
value
=
"更新时间"
)
private
Date
updateTime
;
...
...
src/main/java/com/partner/admin/service/impl/PartnerProjectInfoServiceImpl.java
View file @
39e89673
...
...
@@ -119,7 +119,6 @@ public class PartnerProjectInfoServiceImpl extends ServiceImpl<PartnerProjectInf
partnerProjectInfoVO
.
getPartnerProjectInfo
().
setTodoStatusDescription
(
PartnerProjectToDoEnum
.
TODOSTATUS_1
.
getMessage
());
partnerProjectInfoVO
.
getPartnerProjectInfo
().
setUpdateTime
(
new
Date
());
this
.
saveOrUpdate
(
partnerProjectInfoVO
.
getPartnerProjectInfo
());
System
.
out
.
println
(
"确认当前接口是否调用!!!!!!!!!!!!!!"
);
Integer
projectId
=
partnerProjectInfoVO
.
getPartnerProjectInfo
().
getId
();
...
...
src/main/resources/mapper/PartnerProjectInfoMapper.xml
View file @
39e89673
...
...
@@ -87,7 +87,16 @@
</select>
<select
id=
"getPartnerProjectListInfoVO"
parameterType=
"Integer"
resultType=
"com.partner.admin.VO.PartnerProjectInfoListVO"
>
select ppi.id,ppi.investment_subject,ppi.status,ppi.status_description,ppi.todo_status,
select ppi.id,ppi.investment_subject,ppi.status,ppi.status_description,
(case when ppi.status
>
= 1 and ppi.status
<
=8 then 1
when ppi.status
>
= 9 and ppi.status
<
=14 then 2
when ppi.status = 15 then 3
else 0 end) stage,
(case when ppi.status
>
= 1 and ppi.status
<
=8 then '审核中'
when ppi.status
>
= 9 and ppi.status
<
=14 then '推进中'
when ppi.status = 15 then '分配中'
else '其他' end) stage_description,
ppi.todo_status,ppi.todo_status_description,
pi.project_name,autt.org_name investment_promotion_company,ui.phone,ppi.update_time from partner_project_info ppi
left join project_info pi on ppi.project_id = pi.id
left join audit_user_tree_table autt on pi.creator = autt.user_name_en
...
...
@@ -97,7 +106,16 @@
</select>
<select
id=
"getToDoListInfoVO"
parameterType=
"Integer"
resultType=
"com.partner.admin.VO.PartnerProjectInfoListVO"
>
select ppi.id,ppi.investment_subject,ppi.status,ppi.status_description,ppi.todo_status,
select ppi.id,ppi.investment_subject,ppi.status,ppi.status_description,
(case when ppi.status
>
= 1 and ppi.status
<
=8 then 1
when ppi.status
>
= 9 and ppi.status
<
=14 then 2
when ppi.status = 15 then 3
else 0 end) stage,
(case when ppi.status
>
= 1 and ppi.status
<
=8 then '审核中'
when ppi.status
>
= 9 and ppi.status
<
=14 then '推进中'
when ppi.status = 15 then '分配中'
else '其他' end) stage_description,
ppi.todo_status,ppi.todo_status_description,
pi.project_name,autt.org_name investment_promotion_company,ui.phone from partner_project_info ppi
left join project_info pi on ppi.project_id = pi.id
left join audit_user_tree_table autt on pi.creator = autt.user_name_en
...
...
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