You've already forked qlg.tsgz.moe
							
							Merge branch 'test'
# Conflicts: # hyhproject/admin/controller/LogSysData.php # hyhproject/admin/model/CashDraws.php # hyhproject/admin/view/log_sys_data/log_sys_data.js # hyhproject/admin/view/log_sys_data/log_sys_data2.js # hyhproject/common/model/SysSummary.php
This commit is contained in:
		| @@ -186,8 +186,11 @@ class CashDraws extends Base{ | ||||
| //    			$orders['collectionGatheringSum'] += abs($v['payable']); | ||||
| //    		} | ||||
|     	} | ||||
|     	$data = Db::name('cash_draws')->whereTime('createTime',[$date,date('Y-m-d',strtotime('+1 day',strtotime($date)))]) | ||||
|             ->where("cashSatus", '=', 1)->select(); | ||||
|     	$data = Db::name('cash_draws')->whereIn('cashId', | ||||
|             Db::name('log_moneys') | ||||
|                 ->whereTime('createTime',[$date,date('Y-m-d',strtotime('+1 day',strtotime($date)))]) | ||||
|                 ->where('dataSrc', '=', 3)->column('dataId') | ||||
|         )->select(); | ||||
|     	foreach ($data as $item){ | ||||
|             $m->setTable('shops'); | ||||
|             $shopUserId = $m->getField(['shopId'=>$item['targetId']],'userId'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user