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