保存进度!
This commit is contained in:
parent
3bedccd4a4
commit
76c7ae3ca8
@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.9</maven.compiler.source>
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
<maven.compiler.target>1.9</maven.compiler.target>
|
||||||
<spring.version>5.3.24</spring.version>
|
<spring.version>5.3.24</spring.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ package com.cpic.xim.web.controllers.archievement;
|
|||||||
|
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping( "/archievement" )
|
@RequestMapping( "/archievement" )
|
||||||
@ -21,5 +22,21 @@ public class ArchievementQueryController
|
|||||||
public void queryCallerArchievement()
|
public void queryCallerArchievement()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@RequestMapping( "/query_department_archievement.do" )
|
||||||
|
@ResponseBody
|
||||||
|
public DepartmentArchievementQueryResult queryDepartmentArchievement()
|
||||||
|
{
|
||||||
|
DepartmentArchievementQueryResult result = new DepartmentArchievementQueryResult();
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
void genTestDepartmentData( DepartmentArchievementQueryResult data )
|
||||||
|
{
|
||||||
|
data.setTotalArchievement( 12000000 );
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
|
||||||
|
package com.cpic.xim.web.controllers.archievement;
|
||||||
|
|
||||||
|
public class CallerArchievementQueryResult
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,119 @@
|
|||||||
|
/*
|
||||||
|
* @Author: Kane
|
||||||
|
* @Date: 2023-03-16 09:32:53
|
||||||
|
* @LastEditors: Kane
|
||||||
|
* @FilePath: /desktop_archievement_backend/src/main/java/com/cpic/xim/web/controllers/archievement/DepartmentArchievementQueryResult.java
|
||||||
|
* @Description:
|
||||||
|
*
|
||||||
|
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package com.cpic.xim.web.controllers.archievement;
|
||||||
|
|
||||||
|
import java.util.Vector;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询部门业绩返回结果。
|
||||||
|
* MensualArchievementList 每月业绩,要保证数据是按照月份排序。
|
||||||
|
*/
|
||||||
|
public class DepartmentArchievementQueryResult
|
||||||
|
{
|
||||||
|
DepartmentArchievementQueryResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
public int getTotalArchievement()
|
||||||
|
{
|
||||||
|
return totalArchievement;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTotalArchievement( int totalArchievement )
|
||||||
|
{
|
||||||
|
this.totalArchievement = totalArchievement;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Vector<String> getMensualArchievementList()
|
||||||
|
{
|
||||||
|
return mensualArchievementList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMensualArchievementList( Vector<String> mensualArchievementList )
|
||||||
|
{
|
||||||
|
this.mensualArchievementList = mensualArchievementList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getInsuranceRenewalRate()
|
||||||
|
{
|
||||||
|
return insuranceRenewalRate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setInsuranceRenewalRate( String insuranceRenewalRate )
|
||||||
|
{
|
||||||
|
this.insuranceRenewalRate = insuranceRenewalRate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAttachingRate()
|
||||||
|
{
|
||||||
|
return attachingRate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAttachingRate( String attachingRate )
|
||||||
|
{
|
||||||
|
this.attachingRate = attachingRate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Vector<String> getLeadingRewardGainers()
|
||||||
|
{
|
||||||
|
return leadingRewardGainers;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLeadingRewardGainers( Vector<String> leadingRewardGainers )
|
||||||
|
{
|
||||||
|
this.leadingRewardGainers = leadingRewardGainers;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Vector<String> getAdvanceRewardGainers()
|
||||||
|
{
|
||||||
|
return advanceRewardGainers;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAdvanceRewardGainers( Vector<String> advanceRewardGainers )
|
||||||
|
{
|
||||||
|
this.advanceRewardGainers = advanceRewardGainers;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Vector<String> getBackwardList()
|
||||||
|
{
|
||||||
|
return backwardList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBackwardList( Vector<String> backwardList )
|
||||||
|
{
|
||||||
|
this.backwardList = backwardList;
|
||||||
|
}
|
||||||
|
|
||||||
|
@JsonProperty( "total_archievement" )
|
||||||
|
private int totalArchievement; // 总业绩
|
||||||
|
|
||||||
|
// 每月业绩列表
|
||||||
|
// 要保证数据是按照月份排序。
|
||||||
|
@JsonProperty( "mensual_archievement_list" )
|
||||||
|
private Vector<String> mensualArchievementList;
|
||||||
|
|
||||||
|
@JsonProperty( "insurance_renewal_rate" )
|
||||||
|
private String insuranceRenewalRate; // 续保率
|
||||||
|
|
||||||
|
@JsonProperty( "attaching_rate" )
|
||||||
|
private String attachingRate; // 车非渗透率
|
||||||
|
|
||||||
|
@JsonProperty( "leading_reward_gainers" )
|
||||||
|
private Vector<String> leadingRewardGainers; // 领跑奖
|
||||||
|
|
||||||
|
@JsonProperty( "advance_reward_gainers" )
|
||||||
|
private Vector<String> advanceRewardGainers; // 飞跃奖
|
||||||
|
|
||||||
|
@JsonProperty( "backward_list" )
|
||||||
|
private Vector<String> backwardList; // 消七灭六坐席
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user