first commit
This commit is contained in:
19
pgserver/application/model/Income.php
Normal file
19
pgserver/application/model/Income.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace app\model;
|
||||
|
||||
class Income extends Base
|
||||
{
|
||||
|
||||
protected $table = 'pg_income_expenditure_detail';
|
||||
|
||||
public function getIncomeExpenditureDetail($where = [], $field = [], $order = []) {
|
||||
return Income::where($where)->field($field)->order($order)->select();
|
||||
}
|
||||
|
||||
// 更新确认金额相关
|
||||
public function updConfirmAmount($where, $data) {
|
||||
return Income::save($data, $where);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user