mirror of
https://gitee.com/technical-laohu/mpay_v2_webman.git
synced 2026-04-25 19:44:27 +08:00
更新统一使用 PHPDoc + PSR-19 标准注释
This commit is contained in:
@@ -7,11 +7,15 @@ use app\model\admin\ChannelDailyStat;
|
||||
|
||||
/**
|
||||
* 通道日统计仓库。
|
||||
*
|
||||
* 封装按通道和日期读取日统计记录。
|
||||
*/
|
||||
class ChannelDailyStatRepository extends BaseRepository
|
||||
{
|
||||
/**
|
||||
* 构造函数,注入对应模型。
|
||||
* 构造方法。
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
@@ -20,6 +24,11 @@ class ChannelDailyStatRepository extends BaseRepository
|
||||
|
||||
/**
|
||||
* 根据通道和日期查询统计记录。
|
||||
*
|
||||
* @param int $channelId 渠道ID
|
||||
* @param string $statDate 统计日期
|
||||
* @param array $columns 字段列表
|
||||
* @return ChannelDailyStat|null 统计记录
|
||||
*/
|
||||
public function findByChannelAndDate(int $channelId, string $statDate, array $columns = ['*'])
|
||||
{
|
||||
@@ -31,3 +40,7 @@ class ChannelDailyStatRepository extends BaseRepository
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user