Commit c5ddd870 by 杨树贤

描述问题

parent 8c164915
......@@ -30,7 +30,9 @@ class SupplierAttachmentService
$attachment['type_name'] = array_get(config('fixed.FileNameMapping'), $attachment['field_name']);
unset($attachment['validity_period']);
$attachmentId = $attachment['attachment_id'];
$attachment['description'] = empty($attachment['description']) ? '' : $attachment['description'];
if (empty($attachment['description'])) {
unset($attachment['description']);
}
$attachmentModel = new SupplierAttachmentsModel();
if (empty($attachmentId)) {
$attachment['create_uid'] = request()->user->userId;
......
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