edit-liche-resign
This commit is contained in:
@@ -89,7 +89,7 @@ class Progressopt{
|
||||
'brand_id>' => 0,
|
||||
"(mobile='{$mobile}' or (ifentrust=1 and json_extract(info_json,'$.entrust_mobile')='{$mobile}'))" => null
|
||||
];
|
||||
$rows = $this->ci->orders_model->select($where,'id asc','','','id,name,payway,money_json,status,s_id,v_id,cor_id,incor_id,srv_ids,jsondata');
|
||||
$rows = $this->ci->orders_model->select($where,'id asc','','','id,name,payway,money_json,status,s_id,v_id,cor_id,incor_id,srv_ids,jsondata,price');
|
||||
$progress_list = [];
|
||||
if($rows){
|
||||
foreach($rows as $order){
|
||||
@@ -128,30 +128,6 @@ class Progressopt{
|
||||
if($opt_row['s_id']!=$order['s_id'] || $opt_row['v_id']!=$order['v_id'] || $opt_row['cor_id']!=$order['cor_id'] || $opt_row['incor_id']!=$order['incor_id'] || $opt_row['payway']!=$order['payway'] || $money_json['price_discount']!=$opt_money_json['price_discount'] ||$opt_row['price'] != $order['price']){
|
||||
$need_resign_car = true; //需要签合同补充协议
|
||||
}
|
||||
if($order['id']==613){
|
||||
$log_data = [
|
||||
'order' => [
|
||||
's_id' => $order['s_id'],
|
||||
'v_id' => $order['v_id'],
|
||||
'cor_id' => $order['cor_id'],
|
||||
'incor_id' => $order['incor_id'],
|
||||
'payway' => $order['payway'],
|
||||
'price_discount' => $money_json['price_discount'],
|
||||
'price' => $order['price'],
|
||||
],
|
||||
'opt_log' => [
|
||||
's_id' => $opt_row['s_id'],
|
||||
'v_id' => $opt_row['v_id'],
|
||||
'cor_id' => $opt_row['cor_id'],
|
||||
'incor_id' => $opt_row['incor_id'],
|
||||
'payway' => $opt_row['payway'],
|
||||
'price_discount' => $opt_money_json['price_discount'],
|
||||
'price' => $opt_row['price'],
|
||||
],
|
||||
'need_resign_car' => $need_resign_car
|
||||
];
|
||||
debug_log(json_encode($log_data,JSON_UNESCAPED_UNICODE));
|
||||
}
|
||||
if($opt_row['srv_ids']!=$order['srv_ids']){
|
||||
$need_resign_agent = true; //需要签服务补充协议
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user