正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -30,7 +30,7 @@ class RankDataLog extends Base | @@ -30,7 +30,7 @@ class RankDataLog extends Base | ||
| 30 | 30 | ||
| 31 | public static function addTask($project_id, $api_no, $lang =''){ | 31 | public static function addTask($project_id, $api_no, $lang =''){ |
| 32 | $date = date('Y-m-d'); | 32 | $date = date('Y-m-d'); |
| 33 | - $model = self::where('project_id', $project_id)->where('date', $date)->where('lang', $lang)->first(); | 33 | + $model = self::where('project_id', $project_id)->where('api_no', $api_no)->where('date', $date)->where('lang', $lang)->first(); |
| 34 | if($model){ | 34 | if($model){ |
| 35 | //已达标的 | 35 | //已达标的 |
| 36 | if($model->is_compliance){ | 36 | if($model->is_compliance){ |
-
请 注册 或 登录 后发表评论