更新2
This commit is contained in:
parent
e538c820ee
commit
54c36784bf
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user