Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
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
黄奎
mall.oytour.com
Commits
cd2e2207
Commit
cd2e2207
authored
Dec 16, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e0c61598
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
CuiPingModule.cs
Mall.WindowsService/Module/CuiPingModule.cs
+4
-4
No files found.
Mall.WindowsService/Module/CuiPingModule.cs
View file @
cd2e2207
...
...
@@ -219,13 +219,13 @@ namespace Mall.WindowsService.Module
if
(
brandEnterpriseList
!=
null
&&
brandEnterpriseList
.
Any
())
{
model
.
BrandNum
=
brandEnterpriseList
?.
Where
(
x
=>
x
.
CreateDate
.
ToString
(
"yyyy-MM-dd"
)
==
dateTime
.
ToString
(
"yyyy-MM-dd"
)
)?.
Count
()
??
0
;
model
.
BrandNum
=
brandEnterpriseList
?.
Where
(
x
=>
x
.
CreateDate
.
ToString
(
"yyyy-MM-dd"
)
==
selectDateStr
)?.
Count
()
??
0
;
model
.
BrandTotalNum
=
brandEnterpriseList
?.
Count
()
??
0
;
}
var
enterpriseList
=
enterpriseServicesRepository
.
GetEnterpriseServicesBriefListRepository
(
new
RB_EnterpriseServices_Extend
{
MallBaseId
=
miniProgramModel
.
MallBaseId
,
TenantId
=
miniProgramModel
.
TenantId
??
0
},
endTime
:
selectDateStr
);
if
(
enterpriseList
!=
null
&&
enterpriseList
.
Any
())
{
model
.
EnterpriseNum
=
enterpriseList
?.
Where
(
x
=>
x
.
CreateDate
.
ToString
(
"yyyy-MM-dd"
)
==
dateTime
.
ToString
(
"yyyy-MM-dd"
)
)?.
Count
()
??
0
;
model
.
EnterpriseNum
=
enterpriseList
?.
Where
(
x
=>
x
.
CreateDate
.
ToString
(
"yyyy-MM-dd"
)
==
selectDateStr
)?.
Count
()
??
0
;
model
.
EnterpriseTotalNum
=
enterpriseList
?.
Count
()
??
0
;
}
...
...
@@ -233,13 +233,13 @@ namespace Mall.WindowsService.Module
var
buildingCarrierList
=
building_CarrierRepository
.
GetBuildingCarrierBriefListRepository
(
new
RB_Building_Carrier_Extend
{
MallBaseId
=
miniProgramModel
.
MallBaseId
,
TenantId
=
miniProgramModel
.
TenantId
??
0
},
endTime
:
selectDateStr
);
if
(
buildingCarrierList
!=
null
&&
buildingCarrierList
.
Any
())
{
model
.
CarrierNum
=
buildingCarrierList
?.
Where
(
x
=>
x
.
CreateDate
.
ToString
(
"yyyy-MM-dd"
)
==
dateTime
.
ToString
(
"yyyy-MM-dd"
)
)?.
Count
()
??
0
;
model
.
CarrierNum
=
buildingCarrierList
?.
Where
(
x
=>
x
.
CreateDate
.
ToString
(
"yyyy-MM-dd"
)
==
selectDateStr
)?.
Count
()
??
0
;
model
.
CarrierTotalNum
=
buildingCarrierList
?.
Count
()
??
0
;
}
var
buildingList
=
buildingRepository
.
GetBuildingBriefRepository
(
new
RB_Building_Extend
{
MallBaseId
=
miniProgramModel
.
MallBaseId
,
TenantId
=
miniProgramModel
.
TenantId
??
0
},
endTime
:
selectDateStr
);
if
(
buildingList
!=
null
&&
buildingList
.
Any
())
{
model
.
BuildingCarrierNum
=
buildingList
?.
Where
(
x
=>
x
.
CreateDate
.
ToString
(
"yyyy-MM-dd"
)
==
dateTime
.
ToString
(
"yyyy-MM-dd"
)
)?.
Count
()
??
0
;
model
.
BuildingCarrierNum
=
buildingList
?.
Where
(
x
=>
x
.
CreateDate
.
ToString
(
"yyyy-MM-dd"
)
==
selectDateStr
)?.
Count
()
??
0
;
model
.
BuildingCarrierTotalNum
=
buildingList
?.
Count
()
??
0
;
}
#
endregion
...
...
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