first commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
namespace app\model;
|
||||
|
||||
use app\model\Reimbursement as ReimbursementList;
|
||||
use think\facade\Db;
|
||||
use think\Model;
|
||||
|
||||
class Reimbursement extends Model
|
||||
{
|
||||
//详情
|
||||
// public function detail($id)
|
||||
// {
|
||||
// $detail = Db::name('reimbursement')->where(['id' => $id])->find();
|
||||
// if (!empty($detail)) {
|
||||
// // $detail['order'] = 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;
|
||||
// }
|
||||
|
||||
// public function editdetailitem($id)
|
||||
// {
|
||||
// $reimbursementLists = ReimbursementList::where('id', $id)
|
||||
// ->order('times', 'desc')
|
||||
// ->select();
|
||||
|
||||
// return json(["code" => 0, "data" => $reimbursementLists]);
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user