保存进度!
This commit is contained in:
parent
9483b49a20
commit
090a551066
@ -61,6 +61,7 @@ public class DepartmentArchievement
|
||||
* @return
|
||||
* @throws IOException
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public static DepartmentArchievement getDepartmentArchievement( String departmentCode )
|
||||
throws IOException
|
||||
{
|
||||
|
@ -30,9 +30,6 @@ public class CallerRankingList
|
||||
private static String userName = "desktop_archievement_admin";
|
||||
private static String password = "Cpic123456";
|
||||
|
||||
// 配置文件路径
|
||||
private static String configFilePath = "mybatis/mybatis-config.xml";
|
||||
|
||||
private CallerRankingList( String departmentCode, String year, String month,
|
||||
ArrayList<CallerRankingItem> attachingRateRankingList,
|
||||
ArrayList<CallerRankingItem> renewalRateRankingList)
|
||||
@ -44,15 +41,16 @@ public class CallerRankingList
|
||||
this.renewalRateRankingList = renewalRateRankingList;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public static CallerRankingList getCallerRankingList2( String departmentCode, String year,
|
||||
String month ) throws IOException
|
||||
{
|
||||
CallerRankingList rankingList = null;
|
||||
|
||||
String monthRegx = "(0[1-9])|(1[0-2])";
|
||||
String yearRegx = "202[0-9]";
|
||||
// String monthRegx = "(0[1-9])|(1[0-2])";
|
||||
// String yearRegx = "202[0-9]";
|
||||
|
||||
SqlSession session = MybatisUtils.getSqlSession(yearRegx);
|
||||
SqlSession session = MybatisUtils.getSqlSession();
|
||||
RankingListMapper mapper = session.getMapper(RankingListMapper.class);
|
||||
HashMap<String,Object> params = new HashMap<>(5);
|
||||
|
||||
@ -61,7 +59,7 @@ public class CallerRankingList
|
||||
ArrayList<CallerRankingItem> attachingRateRankingList = (ArrayList<CallerRankingItem>)params.get("a_attaching_ranking_list");
|
||||
ArrayList<CallerRankingItem> renewalRateList = (ArrayList<CallerRankingItem>)params.get("a_renewal_ranking_list");
|
||||
|
||||
rankingList = new CallerRankingList(departmentCode, yearRegx, monthRegx, attachingRateRankingList, renewalRateList);
|
||||
rankingList = new CallerRankingList(departmentCode, year, month, attachingRateRankingList, renewalRateList);
|
||||
|
||||
return rankingList;
|
||||
}
|
||||
@ -85,8 +83,8 @@ public class CallerRankingList
|
||||
String sql = """
|
||||
{call telsale_archievement_pkg.caller_arch_ranking_list(?,?,?,?,?)}
|
||||
""";
|
||||
String monthRegx = "(0[1-9])|(1[0-2])";
|
||||
String yearRegx = "20[0-2][0-0]";
|
||||
// String monthRegx = "(0[1-9])|(1[0-2])";
|
||||
// String yearRegx = "20[0-2][0-0]";
|
||||
|
||||
ArrayList<CallerRankingItem> attachingRateRankingList = new ArrayList<>();
|
||||
ArrayList<CallerRankingItem> renewalRateRankingList = new ArrayList<>();
|
||||
|
@ -11,7 +11,6 @@ package com.cpic.xim.web.controllers.account;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.CrossOrigin;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
@ -11,6 +11,7 @@ package com.cpic.xim.web.controllers.caller;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
@SuppressWarnings("all")
|
||||
public class QueryCallerRequest
|
||||
{
|
||||
public QueryCallerRequest() {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user