Commit 39e89673 authored by yaobaizheng's avatar yaobaizheng

合伙招商api

parent 601b115f
......@@ -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;
......
......@@ -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();
......
......@@ -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 &gt;= 1 and ppi.status &lt;=8 then 1
when ppi.status &gt;= 9 and ppi.status &lt;=14 then 2
when ppi.status = 15 then 3
else 0 end) stage,
(case when ppi.status &gt;= 1 and ppi.status &lt;=8 then '审核中'
when ppi.status &gt;= 9 and ppi.status &lt;=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 &gt;= 1 and ppi.status &lt;=8 then 1
when ppi.status &gt;= 9 and ppi.status &lt;=14 then 2
when ppi.status = 15 then 3
else 0 end) stage,
(case when ppi.status &gt;= 1 and ppi.status &lt;=8 then '审核中'
when ppi.status &gt;= 9 and ppi.status &lt;=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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment