Commit 7bde1394 authored by 龚小红's avatar 龚小红

Merge branch 'Feature/20220914-gxh' into 'master'

1.增加约面日历和非一面面访信息维护

See merge request !32
parents 29d2eb54 1fbab9a0
......@@ -1054,7 +1054,7 @@ public class Work implements Authorization {
HashMap<String,Object> params = new HashMap<>();
String list[] = {"01","02","03","04"};
params.put("custSourceList",list);//客户来源
params.put("custType",1); //1:全部客户;2:新客户;3:老客户
params.put("custType",3); //1:全部客户;2:新客户;3:老客户
params.put("id",4);
params.put("limitGoalFlag",0);
params.put("taskUsable",0); //0:任务状态关闭;1:任务状态开启
......@@ -1066,14 +1066,14 @@ public class Work implements Authorization {
Response listRes = network.getResponse(BasicConfig.WORK_taskConfList);
int custType = listRes.jsonPath().getInt("data[0].custType");
int custSourceList = listRes.jsonPath().getInt("data[0].custSourceList.size()");
Assert.assertEquals(custType,1,network.message(BasicConfig.WORK_taskConfList,"修改任务配置失败",listRes.body().asString()));
Assert.assertEquals(custType,3,network.message(BasicConfig.WORK_taskConfList,"修改任务配置失败",listRes.body().asString()));
Assert.assertEquals(custSourceList,4,network.message(BasicConfig.WORK_taskConfList,"修改任务配置失败",listRes.body().asString()));
//恢复默认配置
params.clear();
String acqList[] = {"01","02","03","04","05","06","07","08","09"};
params.put("custSourceList",acqList);//客户来源:
params.put("custType",3); //1:全部客户;2:新客户;3:老客户
params.put("custType",1); //1:全部客户;2:新客户;3:老客户
params.put("id",4);
params.put("limitGoalFlag",0);
params.put("taskUsable",1); //0:任务状态关闭;1:任务状态开启
......
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