Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
yunxin
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
f367b68f
authored
May 20, 2019
by
PRY5YKGJ82EZEPX\Administrator
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
更新联营物料上传
parent
83329291
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
app/Jobs/JopExportGoodsComList.php
doc/v2.0.md
app/Jobs/JopExportGoodsComList.php
View file @
f367b68f
...
...
@@ -21,7 +21,7 @@ class JopExportGoodsComList extends Job implements ShouldQueue
{
use
InteractsWithQueue
,
SerializesModels
;
private
$id
;
const
limit
=
10
00
;
//分页条数
const
limit
=
8
00
;
//分页条数
public
function
__construct
(
$id
)
{
$this
->
id
=
$id
;
...
...
@@ -111,7 +111,7 @@ class JopExportGoodsComList extends Job implements ShouldQueue
$s
[
'limit'
]
=
self
::
limit
;
G
(
"d"
);
$searchArr
=
$ServerEsModel
->
searchSku
(
$s
);
echo
"查询es耗时:"
.
G
(
'd'
,
'e'
)
.
"<br/>"
;
//
echo "查询es耗时:".G('d','e')."<br/>";
if
(
$searchArr
[
'error_code'
]
>
0
){
$UploadLogModel
->
UpdateLogArr
(
$this
->
id
,
'1003:没有数据'
,
3
,
$log
);
...
...
@@ -124,7 +124,7 @@ class JopExportGoodsComList extends Job implements ShouldQueue
G
(
"f"
);
//print_r($micData);
$res
=
$ServerMicModel
->
synchronization
(
$micData
,
2
);
echo
"查询基石耗时:"
.
G
(
'f'
,
'h'
)
.
"<br/>"
;
//
echo "查询基石耗时:".G('f','h')."<br/>";
if
(
$res
[
'code'
]
>
0
){
$UploadLogModel
->
UpdateLogArr
(
$this
->
id
,
'1004:没有数据'
,
3
,
$log
);
return
true
;
...
...
@@ -156,7 +156,7 @@ class JopExportGoodsComList extends Job implements ShouldQueue
$Url
=
$UploadFileModel
->
SaveDownFile
(
$filename
);
fclose
(
$x
);
unlink
(
$filePath
);
echo
"总耗时:"
.
G
(
'a'
,
'c'
);
//
echo "总耗时:".G('a','c');
if
(
!
$Url
){
$UploadLogModel
->
UpdateLogArr
(
$this
->
id
,
'导出失败'
,
3
,
$log
);
return
true
;
...
...
doc/v2.0.md
View file @
f367b68f
...
...
@@ -57,9 +57,9 @@
-- 添加联营供应商信息
ALTER TABLE
`lie_supplier_account`
ADD COLUMN
`supplier_name`
varchar(64) NOT NULL AFTER
`supplier_
self_
id`
,
ADD COLUMN
`supplier_code`
varchar(16) NOT NULL DEFAULT '' COMMENT '自营供应商编码' AFTER
`supplier_
self_
name`
,
ADD COLUMN
`supplier_com_id`
smallint(5) UNSIGNED NOT NULL DEFAULT 0 COMMENT '联营供应商id' AFTER
`supplier_
self_
code`
,
ADD COLUMN
`supplier_name`
varchar(64) NOT NULL AFTER
`supplier_id`
,
ADD COLUMN
`supplier_code`
varchar(16) NOT NULL DEFAULT '' COMMENT '自营供应商编码' AFTER
`supplier_name`
,
ADD COLUMN
`supplier_com_id`
smallint(5) UNSIGNED NOT NULL DEFAULT 0 COMMENT '联营供应商id' AFTER
`supplier_code`
,
ADD COLUMN
`supplier_com_name`
varchar(64) NOT NULL DEFAULT '' COMMENT '联营供应商名称' AFTER
`supplier_com_id`
,
ADD COLUMN
`supplier_com_code`
varchar(16) NOT NULL DEFAULT '' COMMENT '联营供应商编码' AFTER
`supplier_com_name`
;
...
...
@@ -72,7 +72,7 @@ ALTER TABLE `lie_upload_log`
MODIFY COLUMN
`type`
tinyint(1) UNSIGNED NOT NULL DEFAULT 0 COMMENT '1:订单导出 2:退货导出 3:入库导出 4:自营商品导出 5:联营商品导出 6:批量导入联营物料 7:批量修改联营物料' AFTER
`id`
,
ADD COLUMN
`create_name`
varchar(32) NOT NULL DEFAULT '' COMMENT '创建人名称' AFTER
`create_uid`
;
原因:添加联营账号
原因:添加联营
数据上传
账号
...
...
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