|
|
|
@ -16,7 +16,7 @@ class Identity extends BaseModel |
|
|
|
|
|
|
|
|
|
// 定义主键 |
|
|
|
|
protected $pk = 'identity_id'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 追加字段 |
|
|
|
@ -53,7 +53,7 @@ class Identity extends BaseModel |
|
|
|
|
*/ |
|
|
|
|
public function getList(array $where) |
|
|
|
|
{ |
|
|
|
|
return $this->where($where)->select(); |
|
|
|
|
return $this->where($where)->order('month', 'asc')->select(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|