|
|
|
@ -205,7 +205,7 @@ class SubSpendController extends ThinkController
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
protected function editOrderIscheck($ids,$oldval,$newval){
|
|
|
|
|
$dbres = D(self::model_name)->where("id in ({$ids}) and is_check = '{$oldval}'")->select();
|
|
|
|
|
$dbres = M("spend","tab_",SUBSITE_DB)->where("id in ({$ids}) and is_check = '{$oldval}'")->select();
|
|
|
|
|
if(empty($dbres)) return false;
|
|
|
|
|
|
|
|
|
|
$changeIds = implode(",",array_column($dbres,"id"));
|
|
|
|
|