diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index eccd40bbe..0b2b62e69 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -239,7 +239,7 @@ class DownloadController extends BaseController { $queryPromote = $this->getQueryPromote($levelPromote); $loginPromote = $this->getLoginPromote(); - $map1['chain'] = ['like','%'.PID.'/'.'%']; + $map1['chain'] = ['like','%'.'/'.PID.'/'.'%']; $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { @@ -508,7 +508,7 @@ class DownloadController extends BaseController { * @author sunke */ public function testresource_data_export() { - $map1['chain'] = ['like','%'.PID.'/'.'%']; + $map1['chain'] = ['like','%'.'/'.PID.'/'.'%']; $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { @@ -574,7 +574,7 @@ class DownloadController extends BaseController { * @author sunke */ public function testresourcelists_data_export() { - $map1['chain'] = ['like','%'.PID.'/'.'%']; + $map1['chain'] = ['like','%'.'/'.PID.'/'.'%']; $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { @@ -644,7 +644,7 @@ class DownloadController extends BaseController { * @author sunke */ public function supportNumberList_data_export() { - $map1['chain'] = ['like','%'.PID.'/'.'%']; + $map1['chain'] = ['like','%'.'/'.PID.'/'.'%']; $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { @@ -710,7 +710,7 @@ class DownloadController extends BaseController { $gameId = I('game_id', 0); $serverId = I('server_id', 0); - $map1['chain'] = ['like','%'.PID.'/'.'%']; + $map1['chain'] = ['like','%'.'/'.PID.'/'.'%']; $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { @@ -800,7 +800,7 @@ class DownloadController extends BaseController { */ public function regist_data_export() { - $map1['chain'] = ['like','%'.PID.'/'.'%']; + $map1['chain'] = ['like','%'.'/'.PID.'/'.'%']; $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { @@ -877,11 +877,11 @@ class DownloadController extends BaseController { public function children_data_export() { $promoteType = intval(I('promote_type', 0)); $loginer = $this->getLoginPromote(); - $map1['chain'] = ['like','%'.PID.'/'.'%']; + $map1['chain'] = ['like','%'.'/'.PID.'/'.'%']; $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { - $map['promote_id'] = PID; + $map['id'] = PID; }else { foreach ($rs as $rsKey => $rsValue) { $id = $rsValue['id']; @@ -889,7 +889,7 @@ class DownloadController extends BaseController { } $childPromoteIds = rtrim($childPromoteIds, ','); $childPromoteIds .= ',' . PID; - $map['promote_id'] = ['in', $childPromoteIds]; + $map['id'] = ['in', $childPromoteIds]; } if ($promoteType == 0) { @@ -942,7 +942,7 @@ class DownloadController extends BaseController { * @author sunke */ public function coinrecord_data_export() { - $map1['chain'] = ['like','%'.PID.'/'.'%']; + $map1['chain'] = ['like','%'.'/'.PID.'/'.'%']; $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { @@ -1105,7 +1105,7 @@ class DownloadController extends BaseController { * @author sunke */ public function mycoin_data_export() { - $map1['chain'] = ['like','%'.PID.'/'.'%']; + $map1['chain'] = ['like','%'.'/'.PID.'/'.'%']; $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { @@ -1167,7 +1167,7 @@ class DownloadController extends BaseController { */ public function recharge_data_export() { - $map1['chain'] = ['like','%'.PID.'/'.'%']; + $map1['chain'] = ['like','%'.'/'.PID.'/'.'%']; $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { @@ -1259,7 +1259,7 @@ class DownloadController extends BaseController { $promoteId = I('promote_id', 0); $sdkVersion = I('sdk_version', 0); $headmanPromoteId = I('headman_promote_id', 0); - $map1['chain'] = ['like','%'.PID.'/'.'%']; + $map1['chain'] = ['like','%'.'/'.PID.'/'.'%']; $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { @@ -1436,7 +1436,7 @@ class DownloadController extends BaseController { $headmanPromoteId = I('headman_promote_id', 0); $playTime = I('play_time', ''); $promote = $this->getLoginPromote(); - $map1['chain'] = ['like','%'.PID.'/'.'%']; + $map1['chain'] = ['like','%'.'/'.PID.'/'.'%']; $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { @@ -1558,7 +1558,7 @@ class DownloadController extends BaseController { $begtime = I('begtime',''); $endtime = I('endtime',''); // $childPromoteIds = getAllChildPromoteList(3); - $map1['chain'] = ['like','%'.PID.'/'.'%']; + $map1['chain'] = ['like','%'.'/'.PID.'/'.'%']; $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { diff --git a/Application/Home/View/default/Finance/index.html b/Application/Home/View/default/Finance/index.html index 18355e200..c4a45b5f3 100644 --- a/Application/Home/View/default/Finance/index.html +++ b/Application/Home/View/default/Finance/index.html @@ -77,8 +77,10 @@
+ 导出 + {$_page}
diff --git a/Application/Home/View/default/Finance/settlementDtl.html b/Application/Home/View/default/Finance/settlementDtl.html index cf036df7d..0aa88a1bf 100644 --- a/Application/Home/View/default/Finance/settlementDtl.html +++ b/Application/Home/View/default/Finance/settlementDtl.html @@ -155,7 +155,9 @@
+ 导出 + {$_page}
diff --git a/Application/Home/View/default/Finance/withdrawDtl.html b/Application/Home/View/default/Finance/withdrawDtl.html index 1e4d13e17..7f8058f07 100644 --- a/Application/Home/View/default/Finance/withdrawDtl.html +++ b/Application/Home/View/default/Finance/withdrawDtl.html @@ -188,7 +188,9 @@
+ 导出 + {$_page}
diff --git a/Application/Home/View/default/Finance/withdrawRecord.html b/Application/Home/View/default/Finance/withdrawRecord.html index 819bfe48a..99c9b9863 100644 --- a/Application/Home/View/default/Finance/withdrawRecord.html +++ b/Application/Home/View/default/Finance/withdrawRecord.html @@ -182,7 +182,9 @@
+ 导出 + {$_page}
diff --git a/Application/Home/View/default/Promote/children.html b/Application/Home/View/default/Promote/children.html index 3b9634435..9ed97547c 100644 --- a/Application/Home/View/default/Promote/children.html +++ b/Application/Home/View/default/Promote/children.html @@ -123,7 +123,9 @@
+ 导出 + {$pagination}
diff --git a/Application/Home/View/default/Promote/mychlid.html b/Application/Home/View/default/Promote/mychlid.html index d24c87db3..500e943fd 100644 --- a/Application/Home/View/default/Promote/mychlid.html +++ b/Application/Home/View/default/Promote/mychlid.html @@ -113,7 +113,9 @@ 'p'=>I('p'), 'account'=>I('account'),'xlsname'=>'管理中心_'.get_pro_grade_name(PRO_GRADE,1),'row'=>I('request.row') ))}" >导出--> + 导出 + {$_page} diff --git a/Application/Home/View/default/PromoteCoin/myCoin.html b/Application/Home/View/default/PromoteCoin/myCoin.html index bcd58b1ac..35982709d 100644 --- a/Application/Home/View/default/PromoteCoin/myCoin.html +++ b/Application/Home/View/default/PromoteCoin/myCoin.html @@ -193,7 +193,9 @@
+ 导出 + {$_page}
diff --git a/Application/Home/View/default/PromoteCoin/record.html b/Application/Home/View/default/PromoteCoin/record.html index dac1ecf8f..73000b475 100644 --- a/Application/Home/View/default/PromoteCoin/record.html +++ b/Application/Home/View/default/PromoteCoin/record.html @@ -103,7 +103,9 @@
+ 导出 + {$pagination}
diff --git a/Application/Home/View/default/Query/achievement.html b/Application/Home/View/default/Query/achievement.html index 274fda383..93daeb065 100644 --- a/Application/Home/View/default/Query/achievement.html +++ b/Application/Home/View/default/Query/achievement.html @@ -129,7 +129,9 @@
+ 导出 + {$pagination}
diff --git a/Application/Home/View/default/Query/arpu.html b/Application/Home/View/default/Query/arpu.html index 1eadcaa99..d3b454963 100644 --- a/Application/Home/View/default/Query/arpu.html +++ b/Application/Home/View/default/Query/arpu.html @@ -207,7 +207,9 @@
+ 导出 +
diff --git a/Application/Home/View/default/Query/dailySummary.html b/Application/Home/View/default/Query/dailySummary.html index 84ea5e672..be57f8819 100644 --- a/Application/Home/View/default/Query/dailySummary.html +++ b/Application/Home/View/default/Query/dailySummary.html @@ -239,7 +239,9 @@
-

导出

+ +

导出

+
diff --git a/Application/Home/View/default/Query/recharge.html b/Application/Home/View/default/Query/recharge.html index 209a1b325..7d5ac8a96 100644 --- a/Application/Home/View/default/Query/recharge.html +++ b/Application/Home/View/default/Query/recharge.html @@ -220,7 +220,9 @@
+ 导出 + {$_page}
diff --git a/Application/Home/View/default/Query/register.html b/Application/Home/View/default/Query/register.html index 94698cfc3..2dc1dcc45 100644 --- a/Application/Home/View/default/Query/register.html +++ b/Application/Home/View/default/Query/register.html @@ -134,7 +134,9 @@
+ 导出 + {$_page}
diff --git a/Application/Home/View/default/Query/summary.html b/Application/Home/View/default/Query/summary.html index 88045dcab..5ac05367a 100644 --- a/Application/Home/View/default/Query/summary.html +++ b/Application/Home/View/default/Query/summary.html @@ -208,7 +208,9 @@
+ 导出 + {$_page}
diff --git a/Application/Home/View/default/Query/userRecharges.html b/Application/Home/View/default/Query/userRecharges.html index 799f6decf..6c8573ea3 100644 --- a/Application/Home/View/default/Query/userRecharges.html +++ b/Application/Home/View/default/Query/userRecharges.html @@ -108,7 +108,9 @@
+ 导出 + {$pagination}
diff --git a/Application/Home/View/default/Query/userRoles.html b/Application/Home/View/default/Query/userRoles.html index 65ac3682c..96b45335d 100644 --- a/Application/Home/View/default/Query/userRoles.html +++ b/Application/Home/View/default/Query/userRoles.html @@ -107,7 +107,9 @@
+ 导出 + {$pagination}
diff --git a/Application/Home/View/default/TestResource/index.html b/Application/Home/View/default/TestResource/index.html index a00db2337..4ec91c265 100644 --- a/Application/Home/View/default/TestResource/index.html +++ b/Application/Home/View/default/TestResource/index.html @@ -292,7 +292,9 @@
+ 导出 + {$_page}
diff --git a/Application/Home/View/default/TestResource/lists.html b/Application/Home/View/default/TestResource/lists.html index 6f5977857..88b7086ac 100644 --- a/Application/Home/View/default/TestResource/lists.html +++ b/Application/Home/View/default/TestResource/lists.html @@ -156,7 +156,9 @@
+ 导出 + {$_page}
diff --git a/Application/Home/View/default/TestResource/supportNumberList.html b/Application/Home/View/default/TestResource/supportNumberList.html index dec993184..7c782e673 100644 --- a/Application/Home/View/default/TestResource/supportNumberList.html +++ b/Application/Home/View/default/TestResource/supportNumberList.html @@ -178,7 +178,9 @@
+ 导出 + {$_page}