|
|
@@ -88,11 +88,13 @@ class MoneyBuy extends Model {
|
|
|
// 结算状态 默认0 所有 1未结算 2已结算 -1无效
|
|
|
$set_status = $_POST['set_status']?:0;
|
|
|
if($set_status == 1){//未结算注单
|
|
|
+ $moneyBuySpxWhere[] = ['status','=',1];
|
|
|
$moneyBuySpxWhere[] = ['settle_status','=',1];
|
|
|
$moneyBuySpxWhere[] = ['roll_ratify','>',-1];
|
|
|
$moneyBuySpxWhere[] = ['roll_ratify','<',2];
|
|
|
}
|
|
|
if($set_status == 2){//已结算注单
|
|
|
+ $moneyBuySpxWhere[] = ['status','=',1];
|
|
|
$moneyBuySpxWhere[] = ['settle_status','>',1];
|
|
|
$moneyBuySpxWhere[] = ['roll_ratify','>',-1];
|
|
|
$moneyBuySpxWhere[] = ['roll_ratify','<',2];
|