|
@@ -438,13 +438,14 @@ namespace TEAMModelOS.FunctionV4.TimeTrigger
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 每天執行 計算各學生各科錯題庫的數量,記入Redis 執行時間:每日2時1分
|
|
/// 每天執行 計算各學生各科錯題庫的數量,記入Redis 執行時間:每日2時1分
|
|
|
|
+ /// 「新增錯題數」取得方法改由智慧錯題的時間戳記判斷,每日統計錯題數已不需要
|
|
/// </summary>
|
|
/// </summary>
|
|
- [Function("CntStuErrorItems")]
|
|
|
|
- public async Task CntStuErrorItems([TimerTrigger("0 1 2 * * *")] TimerInfo myTimer, ILogger log)
|
|
|
|
- {
|
|
|
|
- var _azureCosmosClient = _azureCosmos.GetCosmosClient();
|
|
|
|
- await ErrorItemsService.cntStuErrorItemsAsync(_azureRedis, _azureCosmosClient, _dingDing);
|
|
|
|
- }
|
|
|
|
|
|
+ //[Function("CntStuErrorItems")]
|
|
|
|
+ //public async Task CntStuErrorItems([TimerTrigger("0 1 2 * * *")] TimerInfo myTimer, ILogger log)
|
|
|
|
+ //{
|
|
|
|
+ // var _azureCosmosClient = _azureCosmos.GetCosmosClient();
|
|
|
|
+ // await ErrorItemsService.cntStuErrorItemsAsync(_azureRedis, _azureCosmosClient, _dingDing);
|
|
|
|
+ //}
|
|
|
|
|
|
public class UnusedLock {
|
|
public class UnusedLock {
|
|
public int field { get; set; }
|
|
public int field { get; set; }
|