Commit d3bd307b by 杨树贤

Merge branch 'ysx-协议相关改动-20250811' into Dev

parents d43b3261 30b9eb1e
Showing with 1 additions and 1 deletions
......@@ -96,7 +96,7 @@ class SyncSupplierService
$message['signatures'] = '';
//去判断是否有云芯协议
$signatures = SupplierAttachmentsModel::where('supplier_id', $supplier['supplier_id'])
->where('field_name', 'yunxin_agreement')->orderBy('id', 'desc')->first();
->where('field_name', 'yunxin_agreement')->orderBy('attachment_id', 'desc')->first();
if (!empty($signatures)) {
$signatures = $signatures->toArray();
$message['isSignatures'] = 1;
......
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