Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
黄奎
Education
Commits
c3aa9798
Commit
c3aa9798
authored
3 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
18ac5b63
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
RB_Customer_TaskDetails_Extend.cs
...odel/ViewModel/Customer/RB_Customer_TaskDetails_Extend.cs
+5
-0
B2BCustomerController.cs
Edu.WebApi/Controllers/Customer/B2BCustomerController.cs
+7
-1
No files found.
Edu.Model/ViewModel/Customer/RB_Customer_TaskDetails_Extend.cs
View file @
c3aa9798
...
...
@@ -19,5 +19,10 @@ namespace Edu.Model.ViewModel.Customer
/// 关联目标名称
/// </summary>
public
string
TargetName
{
get
;
set
;
}
/// <summary>
/// 目标值数组
/// </summary>
public
List
<
string
>
TargetIdList
{
get
;
set
;
}
}
}
This diff is collapsed.
Click to expand it.
Edu.WebApi/Controllers/Customer/B2BCustomerController.cs
View file @
c3aa9798
...
...
@@ -219,12 +219,18 @@ namespace Edu.WebApi.Controllers.Customer
foreach
(
var
jItem
in
jarray
)
{
JObject
jobj
=
JObject
.
Parse
(
jItem
.
ToString
());
var
targetIdList
=
jobj
.
GetStringValue
(
"TargetIdList"
);
List
<
string
>
targetIds
=
new
List
<
string
>();
if
(!
string
.
IsNullOrEmpty
(
targetIdList
))
{
targetIds
=
JsonHelper
.
DeserializeObject
<
List
<
string
>>(
targetIdList
);
}
model
.
DetailsList
.
Add
(
new
RB_Customer_TaskDetails_Extend
()
{
DetailId
=
jobj
.
GetInt
(
"DetailId"
),
TaskId
=
jobj
.
GetInt
(
"TaskId"
),
TaskType
=
(
TaskTypeEnum
)
jobj
.
GetInt
(
"TaskType"
),
TargetId
=
jobj
.
GetStringValue
(
"TargetId"
),
TargetId
=
string
.
Join
(
","
,
targetIds
),
TaskFinishType
=
jobj
.
GetInt
(
"TaskTypeEnum"
),
TaskFinishValue
=
jobj
.
GetDecimal
(
"TaskFinishValue"
),
});
...
...
This diff is collapsed.
Click to expand it.
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