修改更新商品库存
This commit is contained in:
parent
a02787636f
commit
ee6eed9261
@ -97,19 +97,19 @@ class getProductCommand extends HyperfCommand
|
|||||||
|
|
||||||
if (empty($item['drugCode'])) {
|
if (empty($item['drugCode'])) {
|
||||||
Db::rollBack();
|
Db::rollBack();
|
||||||
$this->line("商品更新失败,缺少平台药品编码" . json_encode($item, JSON_UNESCAPED_UNICODE));
|
// $this->line("商品更新失败,缺少平台药品编码" . json_encode($item, JSON_UNESCAPED_UNICODE));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($item['thirdDrugCode'])) {
|
if (empty($item['thirdDrugCode'])) {
|
||||||
Db::rollBack();
|
Db::rollBack();
|
||||||
$this->line("商品更新失败,缺少第三方药房药品编码" . json_encode($item, JSON_UNESCAPED_UNICODE));
|
// $this->line("商品更新失败,缺少第三方药房药品编码" . json_encode($item, JSON_UNESCAPED_UNICODE));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($item['drugPrice'])) {
|
if (empty($item['drugPrice'])) {
|
||||||
Db::rollBack();
|
Db::rollBack();
|
||||||
$this->line("商品更新失败,缺少药品价格" . json_encode($item, JSON_UNESCAPED_UNICODE));
|
// $this->line("商品更新失败,缺少药品价格" . json_encode($item, JSON_UNESCAPED_UNICODE));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user