上传附件优化
This commit is contained in:
@@ -47,7 +47,7 @@ class DemandDeal extends Command
|
||||
try {
|
||||
Db::transaction(function () use ($item, $confirmReceiptTimeoutDay) {
|
||||
//未发货的需求不自动确认收货,等待开发者发货交付
|
||||
$ship = OrderShipService::where(['demand_id' => $item->id])->order('id', 'desc')->find();
|
||||
$ship = OrderShipService::getDemandLastShip($item->id);
|
||||
if (!$ship) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user