修复时间错误
This commit is contained in:
parent
43c749f480
commit
1027436c93
@ -35,7 +35,7 @@ class OpurchaseGoodsOfferController extends BaseApiController
|
||||
->each(function ($item) {
|
||||
$item['name']=date('Y-m-d', $item['create_time']).' 报价清单';
|
||||
$item['class_arr']=[];
|
||||
$goods_id=Db::name('opurchase_goods_offer')->whereDay('create_time',$item['name'])->where('supplier_id', $item['supplier_id'])->limit(3)->column('goods_id');
|
||||
$goods_id=Db::name('opurchase_goods_offer')->whereDay('create_time',date('Y-m-d', $item['create_time']))->where('supplier_id', $item['supplier_id'])->limit(3)->column('goods_id');
|
||||
if($goods_id){
|
||||
$class=Goods::where('id','in',$goods_id)->column('class');
|
||||
if($class){
|
||||
|
Loading…
x
Reference in New Issue
Block a user