This commit is contained in:
mkm 2023-08-07 18:13:26 +08:00
parent e538c820ee
commit 54c36784bf

View File

@ -167,7 +167,6 @@ class ContractLogic extends BaseLogic
$model = Contract::where(['party_b' => $data['party_b']])->find(); $model = Contract::where(['party_b' => $data['party_b']])->find();
if (empty($model)) { if (empty($model)) {
$model = new Contract(); $model = new Contract();
$model->party_b = $data['party_b'];
$model->contract_no = time(); $model->contract_no = time();
$model->create_time = time(); $model->create_time = time();
} }