37 lines
1.3 KiB
C#
37 lines
1.3 KiB
C#
using Repository.BaseRepository.Interface;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Repository.BackendRepository.Interface
|
|
{
|
|
public interface IBackendRepository : IBaseRepository
|
|
{
|
|
void InsertOperatorLog(Dictionary<string, object> dict, string Table_name);
|
|
|
|
/// <summary>
|
|
/// 手動加入資料至背景派送
|
|
/// </summary>
|
|
/// <param name="building_ip"></param>
|
|
/// <param name="building_guid"></param>
|
|
/// <param name="target_table"></param>
|
|
/// <param name="mode"></param>
|
|
/// <param name="parameter"></param>
|
|
/// <returns></returns>
|
|
Task ManualInsertBackgroundServiceTask(string building_ip, string building_guid, string target_table, string mode, List<Dictionary<string, object>> parameter = null);
|
|
|
|
/// <summary>
|
|
/// 手動加入檔案背至景派送
|
|
/// </summary>
|
|
/// <param name="building_ip"></param>
|
|
/// <param name="building_guid"></param>
|
|
/// <param name="target_table"></param>
|
|
/// <param name="fileInfos"></param>
|
|
/// <returns></returns>
|
|
Task ManualInsertFileBackgroundServiceTask(string building_ip, string building_guid, string target_table, List<Models.FileInfo> fileInfos);
|
|
|
|
Task<string> GetDbAllString();
|
|
}
|
|
}
|