master
ELF 4 years ago
parent f0a8b6bc3b
commit 34691d6baa

@ -195,7 +195,7 @@
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script> <script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript"> <script type="text/javascript">
//导航高亮 //导航高亮
highlight_subnav("{:U('PromoteLimitRule/records')}"); highlight_subnav("{:U('Market/rebindRecords')}");
$(".select_gallery").select2(); $(".select_gallery").select2();
$(function(){ $(function(){

@ -164,7 +164,7 @@
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
//导航高亮 //导航高亮
highlight_subnav("{:U('PromoteLimitRule/records')}"); highlight_subnav("{:U('Market/rebindRecords')}");
$(function(){ $(function(){
//搜索功能 //搜索功能
$("#search").click(function(){ $("#search").click(function(){

@ -53,7 +53,7 @@ class MarketService
} }
$count = M('spend', 'tab_')->where($map)->count(); $count = M('spend', 'tab_')->where($map)->count();
$limit = 50; $limit = 500;
$pageCount = ceil($count/$limit); $pageCount = ceil($count/$limit);
for ($page = 0; $page <= $pageCount; $page ++) { for ($page = 0; $page <= $pageCount; $page ++) {
M('spend', 'tab_')->where($map)->limit($limit)->save(['market_admin_id' => $toId]); M('spend', 'tab_')->where($map)->limit($limit)->save(['market_admin_id' => $toId]);
@ -71,7 +71,7 @@ class MarketService
} }
$count = M('deposit', 'tab_')->where($map)->count(); $count = M('deposit', 'tab_')->where($map)->count();
$limit = 50; $limit = 500;
$pageCount = ceil($count/$limit); $pageCount = ceil($count/$limit);
for ($page = 0; $page <= $pageCount; $page ++) { for ($page = 0; $page <= $pageCount; $page ++) {
M('deposit', 'tab_')->where($map)->limit($limit)->save(['market_admin_id' => $toId]); M('deposit', 'tab_')->where($map)->limit($limit)->save(['market_admin_id' => $toId]);

Loading…
Cancel
Save