This commit is contained in:
weiz 2024-01-23 11:41:01 +08:00
parent 93473103bf
commit b80a2c4a9d

View File

@ -82,7 +82,7 @@ class FinanceRefundApplyLogic extends BaseLogic
$contract = Contract::field('project_id')->where('id',$params['contract_id'])->findOrEmpty();
Db::startTrans();
try {
FinanceRefundApply::create([
FinanceRefundApply::where('id',$params['id'])->update([
'project_id' => $contract['project_id'],
'contract_id' => $params['contract_id'],
'refund_date' => strtotime($params['refund_date']),