Commit 87b0a059 authored by 龚小红's avatar 龚小红

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

parent 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",3); //1:全部客户;2:新客户;3:老客户
params.put("custType",2); //1:全部客户;2:新客户;3:老客户
params.put("id",4);
params.put("limitGoalFlag",0);
params.put("taskUsable",0); //0:任务状态关闭;1:任务状态开启
......@@ -1066,7 +1066,7 @@ 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,3,network.message(BasicConfig.WORK_taskConfList,"修改任务配置失败",listRes.body().asString()));
Assert.assertEquals(custType,2,network.message(BasicConfig.WORK_taskConfList,"修改任务配置失败",listRes.body().asString()));
Assert.assertEquals(custSourceList,4,network.message(BasicConfig.WORK_taskConfList,"修改任务配置失败",listRes.body().asString()));
//恢复默认配置
......
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