This commit is contained in:
weiz 2024-01-23 14:43:17 +08:00
parent 60c3a5a569
commit 83744fa99b

View File

@ -63,7 +63,7 @@ class FinancePaymentPlanLogic extends BaseLogic
'foreign_currency_remark' => $params['foreign_currency_remark'] ?? '',
'status' => $params['status'],
'remark' => $params['remark'] ?? '',
'annex' => !empty( $params['annex']) ? $params['annex'] : null,
'annex' => $params['annex'] ? json_encode($params['annex']) : null,
]);
Db::commit();
return true;
@ -105,7 +105,7 @@ class FinancePaymentPlanLogic extends BaseLogic
'foreign_currency_remark' => $params['foreign_currency_remark'] ?? '',
'status' => $params['status'],
'remark' => $params['remark'] ?? '',
'annex' => !empty( $params['annex']) ? $params['annex'] : null,
'annex' => $params['annex'] ? json_encode($params['annex']) : null,
]);
Db::commit();
return true;