|
@@ -186,6 +186,14 @@ class ProfitShareReceiverEntity extends BaseEntity
|
|
|
throw_logic_exception('分账接收方申请记录不存在!');
|
|
throw_logic_exception('分账接收方申请记录不存在!');
|
|
|
}
|
|
}
|
|
|
$saveData = $entity->toArray();
|
|
$saveData = $entity->toArray();
|
|
|
|
|
+ if($saveData['receiver_name'] == $data['receiver_name']
|
|
|
|
|
+ && $saveData['contact_mobile'] == $data['contact_mobile']
|
|
|
|
|
+ && $saveData['acct_type_code'] == $data['acct_type_code']
|
|
|
|
|
+ && $saveData['acct_open_bank_name'] == $data['acct_open_bank_name']
|
|
|
|
|
+ && $saveData['acct_no'] == $data['acct_no']
|
|
|
|
|
+ ) {
|
|
|
|
|
+ throw_logic_exception('分账接收方信息未发生变更!');
|
|
|
|
|
+ }
|
|
|
unset($saveData['id'], $saveData['order_no'], $saveData['create_time'], $saveData['effective_time']);
|
|
unset($saveData['id'], $saveData['order_no'], $saveData['create_time'], $saveData['effective_time']);
|
|
|
$saveData = array_merge($saveData, $data);
|
|
$saveData = array_merge($saveData, $data);
|
|
|
$this->data($saveData);
|
|
$this->data($saveData);
|