Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oto
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
龚小红
oto
Commits
7bde1394
Commit
7bde1394
authored
Sep 21, 2022
by
龚小红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Feature/20220914-gxh' into 'master'
1.增加约面日历和非一面面访信息维护 See merge request
!32
parents
29d2eb54
1fbab9a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Work.java
src/test/java/com/oto/cases/otoseller/Work.java
+3
-3
No files found.
src/test/java/com/oto/cases/otoseller/Work.java
View file @
7bde1394
...
@@ -1054,7 +1054,7 @@ public class Work implements Authorization {
...
@@ -1054,7 +1054,7 @@ public class Work implements Authorization {
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
String
list
[]
=
{
"01"
,
"02"
,
"03"
,
"04"
};
String
list
[]
=
{
"01"
,
"02"
,
"03"
,
"04"
};
params
.
put
(
"custSourceList"
,
list
);
//客户来源
params
.
put
(
"custSourceList"
,
list
);
//客户来源
params
.
put
(
"custType"
,
1
);
//1:全部客户;2:新客户;3:老客户
params
.
put
(
"custType"
,
3
);
//1:全部客户;2:新客户;3:老客户
params
.
put
(
"id"
,
4
);
params
.
put
(
"id"
,
4
);
params
.
put
(
"limitGoalFlag"
,
0
);
params
.
put
(
"limitGoalFlag"
,
0
);
params
.
put
(
"taskUsable"
,
0
);
//0:任务状态关闭;1:任务状态开启
params
.
put
(
"taskUsable"
,
0
);
//0:任务状态关闭;1:任务状态开启
...
@@ -1066,14 +1066,14 @@ public class Work implements Authorization {
...
@@ -1066,14 +1066,14 @@ public class Work implements Authorization {
Response
listRes
=
network
.
getResponse
(
BasicConfig
.
WORK_taskConfList
);
Response
listRes
=
network
.
getResponse
(
BasicConfig
.
WORK_taskConfList
);
int
custType
=
listRes
.
jsonPath
().
getInt
(
"data[0].custType"
);
int
custType
=
listRes
.
jsonPath
().
getInt
(
"data[0].custType"
);
int
custSourceList
=
listRes
.
jsonPath
().
getInt
(
"data[0].custSourceList.size()"
);
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
()));
Assert
.
assertEquals
(
custSourceList
,
4
,
network
.
message
(
BasicConfig
.
WORK_taskConfList
,
"修改任务配置失败"
,
listRes
.
body
().
asString
()));
//恢复默认配置
//恢复默认配置
params
.
clear
();
params
.
clear
();
String
acqList
[]
=
{
"01"
,
"02"
,
"03"
,
"04"
,
"05"
,
"06"
,
"07"
,
"08"
,
"09"
};
String
acqList
[]
=
{
"01"
,
"02"
,
"03"
,
"04"
,
"05"
,
"06"
,
"07"
,
"08"
,
"09"
};
params
.
put
(
"custSourceList"
,
acqList
);
//客户来源:
params
.
put
(
"custSourceList"
,
acqList
);
//客户来源:
params
.
put
(
"custType"
,
3
);
//1:全部客户;2:新客户;3:老客户
params
.
put
(
"custType"
,
1
);
//1:全部客户;2:新客户;3:老客户
params
.
put
(
"id"
,
4
);
params
.
put
(
"id"
,
4
);
params
.
put
(
"limitGoalFlag"
,
0
);
params
.
put
(
"limitGoalFlag"
,
0
);
params
.
put
(
"taskUsable"
,
1
);
//0:任务状态关闭;1:任务状态开启
params
.
put
(
"taskUsable"
,
1
);
//0:任务状态关闭;1:任务状态开启
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment