Merge branch 'main' of http://123.132.248.154:10000/HC_YFZX/LASAPlatform
commit
aead344637
|
|
@ -1243,6 +1243,10 @@ namespace OpenAuth.App.ServiceApp.DroneDocking
|
|||
for (int j = 0; j < pics.Count; j++)
|
||||
{
|
||||
var pic = pics[j];
|
||||
if (pic.ObjectKey==null||!pic.ObjectKey.EndsWith(".jpeg"))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
var imageStream = _minioService.GetObjectAsStream("", pic.ObjectKey + "");
|
||||
if (imageStream.Result == null)
|
||||
{
|
||||
|
|
@ -1274,7 +1278,7 @@ namespace OpenAuth.App.ServiceApp.DroneDocking
|
|||
// 确保所有 NOT NULL 列都有值
|
||||
cmd.Parameters.AddWithValue("@BSM", pic.Id ?? "");
|
||||
cmd.Parameters.AddWithValue("@DKLX", flightid.dklx ?? "");
|
||||
cmd.Parameters.AddWithValue("@DKBSM", flightid.dkbh ?? "");
|
||||
cmd.Parameters.AddWithValue("@DKBSM", flightid.bsm ?? "");
|
||||
cmd.Parameters.AddWithValue("@ZDKBH", flightid.zdkbh ?? "");
|
||||
cmd.Parameters.AddWithValue("@XZQDM", flightid.xzqdm ?? "");
|
||||
cmd.Parameters.AddWithValue("@FJMC", pic.Name ?? "");
|
||||
|
|
|
|||
|
|
@ -392,7 +392,7 @@ namespace OpenAuth.App.ServiceApp
|
|||
/// <param name="key"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<Response<PageInfo<List<LasaTask>>>> GetTaskPageList(int page, int limit, string key,
|
||||
int? status,string airLineId)
|
||||
int? status, string airLineId)
|
||||
{
|
||||
RefAsync<int> totalCount = 0;
|
||||
using (var db = UnitWork.CreateContext())
|
||||
|
|
@ -2720,6 +2720,17 @@ namespace OpenAuth.App.ServiceApp
|
|||
|
||||
public async Task<Response<bool>> EndAiInspection(string taskid)
|
||||
{
|
||||
var taskTemp = await Repository.ChangeRepository<SugarRepositiry<LasaTask>>()
|
||||
.GetByIdAsync(taskid);
|
||||
if (taskTemp == null)
|
||||
{
|
||||
return new Response<bool>()
|
||||
{
|
||||
Result = true,
|
||||
Message = "任务不存在"
|
||||
};
|
||||
}
|
||||
|
||||
var task = new LasaTask()
|
||||
{
|
||||
Id = taskid,
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"attachment_count": "7",
|
||||
"code": "AirportData",
|
||||
"count": "0",
|
||||
"extension": "db",
|
||||
"hash": "83A747C4E7E4244F54B0D449811DD815FC375AFD3A5EDAA98258250CE91F4A98",
|
||||
"regioncode": "370000",
|
||||
"sign": "8D7440C34D89FF079DAA6FC74BFFDA5A5DE938F57A016E7639327AC0685327A90289DDA94317C3ADC64FFEA88EFF4C1FCA145629EA17FCCA6C42F5A136E817D6",
|
||||
"size": "42568704",
|
||||
"timestamp": "1757491062",
|
||||
"version": "1"
|
||||
}
|
||||
Loading…
Reference in New Issue