Commit 72d50cdb by 杨树贤

补充逻辑

parent 334abeab
Showing with 5 additions and 0 deletions
......@@ -16,6 +16,11 @@ class ManualPutawaySkuLog extends Model
public static function addManualPutawaySkuLog($skuId, $supplierCode = '')
{
if (empty($supplierCode)) {
return true;
}
//先判断是否存在
$manualPutawaySkuLog = self::where('sku_id', $skuId)->where('supplier_code', $supplierCode)->first();
if ($manualPutawaySkuLog) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment