Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Property
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
liudong1993
Property
Commits
ad1e990a
Commit
ad1e990a
authored
Jan 20, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2bc0e534
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
SuppliesController.cs
Property.WebApi/Controllers/Property/SuppliesController.cs
+3
-3
No files found.
Property.WebApi/Controllers/Property/SuppliesController.cs
View file @
ad1e990a
...
@@ -1132,7 +1132,7 @@ namespace Property.WebApi.Controllers.User
...
@@ -1132,7 +1132,7 @@ namespace Property.WebApi.Controllers.User
x
.
BranchId
,
x
.
BranchId
,
BranchName
=
x
.
BranchId
==-
1
?
"通用"
:
CacheManager
.
User
.
BranchReidsCache
.
GetBranch
(
x
.
BranchId
)?.
BName
??
""
,
BranchName
=
x
.
BranchId
==-
1
?
"通用"
:
CacheManager
.
User
.
BranchReidsCache
.
GetBranch
(
x
.
BranchId
)?.
BName
??
""
,
x
.
Enabled
,
x
.
Enabled
,
WeekdayList
=
x
.
WeekdayList
.
Select
(
x
=>
new
WeekdayList
=
x
.
WeekdayList
.
OrderBy
(
x
=>
x
.
Id
).
Select
(
x
=>
new
{
{
x
.
Id
,
x
.
Id
,
x
.
ApplyforId
,
x
.
ApplyforId
,
...
@@ -1270,13 +1270,13 @@ namespace Property.WebApi.Controllers.User
...
@@ -1270,13 +1270,13 @@ namespace Property.WebApi.Controllers.User
Model
.
Id
,
Model
.
Id
,
Model
.
BranchId
,
Model
.
BranchId
,
BranchName
=
CacheManager
.
User
.
BranchReidsCache
.
GetBranch
(
Model
.
BranchId
)?.
BName
??
""
,
BranchName
=
CacheManager
.
User
.
BranchReidsCache
.
GetBranch
(
Model
.
BranchId
)?.
BName
??
""
,
WeekdayList
=
Model
.
WeekdayList
.
Select
(
x
=>
new
WeekdayList
=
Model
.
WeekdayList
.
OrderBy
(
x
=>
x
.
Id
).
Select
(
x
=>
new
{
{
x
.
Weekday
,
x
.
Weekday
,
x
.
StartTime
,
x
.
StartTime
,
x
.
EndTime
x
.
EndTime
}),
}),
SpecialList
=
Model
.
SpecialList
.
Select
(
x
=>
new
SpecialList
=
Model
.
SpecialList
.
OrderBy
(
x
=>
x
.
Date
).
Select
(
x
=>
new
{
{
Date
=
x
.
Date
.
Value
.
ToString
(
"yyyy-MM-dd"
),
Date
=
x
.
Date
.
Value
.
ToString
(
"yyyy-MM-dd"
),
x
.
StartTime
,
x
.
StartTime
,
...
...
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