取消财务管理数据权限

master
chenzhi 5 years ago
parent 1af6afca3e
commit 4ab8977f06

@ -121,7 +121,7 @@ class FinancePromoteController extends AdminController
} }
private function getJoinPromoteData($map,$istimeselect,$type="spend") private function getJoinPromoteData($map,$istimeselect,$type="spend")
{ {
setPowerPromoteIds($map,"s.promote_id"); // setPowerPromoteIds($map,"s.promote_id");
if ($_REQUEST['promote_id'] != '') { if ($_REQUEST['promote_id'] != '') {
if ($_REQUEST['promote_id'] == 0) { if ($_REQUEST['promote_id'] == 0) {
$map['s.promote_id'] = 0; $map['s.promote_id'] = 0;
@ -277,7 +277,7 @@ class FinancePromoteController extends AdminController
} }
private function promoteUserData($map,$istimeselect,$type="spend") private function promoteUserData($map,$istimeselect,$type="spend")
{ {
setPowerPromoteIds($map,"s.promote_id"); // setPowerPromoteIds($map,"s.promote_id");
if ($_REQUEST['promote_id'] != '') { if ($_REQUEST['promote_id'] != '') {
if ($_REQUEST['promote_id'] == 0) { if ($_REQUEST['promote_id'] == 0) {
$map['s.promote_id'] = 0; $map['s.promote_id'] = 0;

Loading…
Cancel
Save