Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
472195fa
authored
Jan 10, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化
parent
33a9b215
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
app/Console/Commands/SetSupplierFollowUp.php
app/Http/Services/StatisticsSkuUploadService.php
app/Console/Commands/SetSupplierFollowUp.php
View file @
472195fa
...
@@ -32,7 +32,7 @@ class SetSupplierFollowUp extends Command
...
@@ -32,7 +32,7 @@ class SetSupplierFollowUp extends Command
public
function
handle
()
public
function
handle
()
{
{
$service
=
new
DataService
();
$service
=
new
DataService
();
$service
->
exportSupplierDataForLevel
();
$uploadService
=
new
StatisticsSkuUploadService
();
$uploadService
=
new
StatisticsSkuUploadService
();
$uploadService
->
statisticBrandSkuNum
();
$uploadService
->
statisticBrandSkuNum
();
}
}
...
...
app/Http/Services/StatisticsSkuUploadService.php
View file @
472195fa
...
@@ -56,6 +56,7 @@ class StatisticsSkuUploadService
...
@@ -56,6 +56,7 @@ class StatisticsSkuUploadService
if
(
empty
(
$brandCountMap
))
{
if
(
empty
(
$brandCountMap
))
{
continue
;
continue
;
}
}
dump
(
"完成供应商
$supplierCode
"
.
PHP_EOL
);
$redis
->
hset
(
'half_year_brand_sku_upload_statistics'
,
$supplierCode
,
json_encode
(
$brandCountMap
));
$redis
->
hset
(
'half_year_brand_sku_upload_statistics'
,
$supplierCode
,
json_encode
(
$brandCountMap
));
}
}
}
}
...
...
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