更新到账信息
This commit is contained in:
parent
747fe3a718
commit
10750f1628
|
@ -178,6 +178,13 @@ class FinanceIncome extends ApiController
|
|||
->where(['i.inid'=>$id,'i.status'=>1])
|
||||
->order('i.enter_time desc')
|
||||
->select();
|
||||
if($detail['file_ids'] !=''){
|
||||
$fileArray = Db::name('File')->where('id','in',$detail['file_ids'])->select();
|
||||
$detail['fileArray'] = $fileArray;
|
||||
}
|
||||
foreach($detail['income'] as $k=>$v) {
|
||||
$detail['income'][$k]['enter_time'] = date('Y-m-d H:i:s', $v['enter_time']);
|
||||
}
|
||||
$detail['fileArray'] = [];
|
||||
if($detail['file_ids'] !=''){
|
||||
$fileArray = Db::name('File')->where('id','in',$detail['file_ids'])->select();
|
||||
|
|
Loading…
Reference in New Issue