Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lzzzzl
/
liexin_scm_service
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
ed8dbff7
authored
May 22, 2020
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复更改供应商的问题
parent
e5f9cb05
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
4 deletions
.gitmodules
app/Http/Model/SupplierModel.php
common
scm_wms_common
storage/laravels.json
storage/laravels.pid
.gitmodules
View file @
ed8dbff7
[submodule "common"]
path = common
url = ssh://git@119.23.72.7:22611/yyc/Common.git
[submodule "scm_wms_common"]
path = scm_wms_common
url = ssh://git@119.23.72.7:22611/ymx/scm_wms_common.git
app/Http/Model/SupplierModel.php
View file @
ed8dbff7
...
...
@@ -78,8 +78,12 @@ class SupplierModel extends Model
*/
public
function
updateSupplierInfo
(
$arr
)
{
if
(
!
empty
(
$arr
[
'erp_supplier_sn'
]))
{
$this
->
supSn2Redis
(
$arr
[
'erp_supplier_sn'
],
$arr
[
'supplier_id'
]);
$this
->
supId2Redis
(
$arr
[
'supplier_id'
],
json_encode
(
$arr
));
//先去找出supplier_id
$supplierId
=
$this
->
where
(
'erp_supplier_id'
,
$arr
[
'erp_supplier_id'
])
->
value
(
'supplier_id'
);
if
(
$supplierId
)
{
$this
->
supSn2Redis
(
$arr
[
'erp_supplier_sn'
],
$supplierId
);
$this
->
supId2Redis
(
$supplierId
,
json_encode
(
$arr
));
}
}
return
$this
->
where
(
'erp_supplier_id'
,
'='
,
$arr
)
->
update
(
$arr
);
}
...
...
common
@
a2ccb5e4
Subproject commit a2ccb5e4c01af94885bf8280f5e69802a0070150
scm_wms_common
@
c096853c
Subproject commit c096853cde4ffc9ab95ac49577aa03617c6f8fee
storage/laravels.json
View file @
ed8dbff7
This diff is collapsed.
Click to expand it.
storage/laravels.pid
View file @
ed8dbff7
33613
\ No newline at end of file
15272
\ No newline at end of file
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