first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
namespace app\model;
|
||||
|
||||
use think\facade\Db;
|
||||
use think\Model;
|
||||
|
||||
class ReimbursementCategory extends Model
|
||||
{
|
||||
//详情
|
||||
// public function detail($id)
|
||||
// {
|
||||
// $detail = Db::name('reimbursement')->where(['id' => $id])->find();
|
||||
// if (!empty($detail)) {
|
||||
// // $detail['pid'] = Db::name('ReimbursementOrder')->where('id', $detail['id'])->value('order');
|
||||
// // $detail['status'] = Db::name('ReimbursementOrder')->where('id', $detail['id'])->value('status');
|
||||
// // $detail['lock'] = Db::name('ReimbursementOrder')->where('id', $detail['id'])->value('lock');
|
||||
// }
|
||||
// return $detail;
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user