轨迹订单,keywords参数默认传 "" 空字符
This commit is contained in:
parent
df67c27936
commit
500b4be531
@ -8,7 +8,25 @@ namespace SJZY.Track.Application.Dtos.ProvideServices
|
|||||||
{
|
{
|
||||||
public class GetPageTrackOrderInput : PageInfoInput
|
public class GetPageTrackOrderInput : PageInfoInput
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 子系统id
|
||||||
|
/// </summary>
|
||||||
|
public int SubSystemId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 单号
|
||||||
|
/// </summary>
|
||||||
|
public List<string> OrderNos { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 创建时间开始
|
||||||
|
/// </summary>
|
||||||
|
public DateTime? CreateTimeStart { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 创建时间截止
|
||||||
|
/// </summary>
|
||||||
|
public DateTime? createTimeEnd { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -16,6 +34,17 @@ namespace SJZY.Track.Application.Dtos.ProvideServices
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class TrackOrderDto
|
public class TrackOrderDto
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 轨迹订单id
|
||||||
|
/// </summary>
|
||||||
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 订单类型
|
||||||
|
/// </summary>
|
||||||
|
public string OrderType { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
public string OrderNumber { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,8 +15,8 @@ namespace SJZY.Track.Application.Dtos.TrackContents
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 关键字
|
/// 关键字
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Keywords { get; set; }
|
public string Keywords { get; set; } = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
public class GetTrackContentListDto
|
public class GetTrackContentListDto
|
||||||
|
|||||||
@ -65,11 +65,11 @@ namespace SJZY.Track.Application.Dtos.TrackStatus
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 子系统id
|
/// 子系统id
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int SubSystemId { get; set; }
|
public int SubSystemId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 关键字
|
/// 关键字
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Keywords { get; set; }
|
public string Keywords { get; set; } = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,8 +13,8 @@
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 关键字
|
/// 关键字
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Keywords { get; set; }
|
public string Keywords { get; set; } = "";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 轨迹模版id,轨迹映射的查询使用
|
/// 轨迹模版id,轨迹映射的查询使用
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -79,13 +79,15 @@ public class OrderService : ApplicationService
|
|||||||
|
|
||||||
#region 轨迹订单列表
|
#region 轨迹订单列表
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
/// 获取分页的轨迹订单
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="input"></param>
|
/// <param name="input"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpPost("/Order/GetTrackOrderList")]
|
[HttpPost("/Order/GetTrackOrderList")]
|
||||||
public async Task<UnifyPageResultDto<TrackOrderDto>> GetPageTrackOrder(GetPageTrackOrderInput input)
|
public async Task<UnifyPageResultDto<TrackOrderDto>> GetPageTrackOrder(GetPageTrackOrderInput input)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@ -10,6 +10,7 @@ public interface IOrderRepository : IBasicRepository<OrderEntity>
|
|||||||
/// <param name="order"></param>
|
/// <param name="order"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
Task<bool> CreateOrderAsync(OrderEntity order);
|
Task<bool> CreateOrderAsync(OrderEntity order);
|
||||||
|
Task<List<TrackOrderDetailVO>> GetOrderDetails(GetOrderDetailsInputVO input);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据订单号,获取订单模板
|
/// 根据订单号,获取订单模板
|
||||||
@ -19,6 +20,13 @@ public interface IOrderRepository : IBasicRepository<OrderEntity>
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
Task<List<OrderTemplateDto>> GetOrderTemplatesAsync(int orderType, List<string> distinctOrderNumbers);
|
Task<List<OrderTemplateDto>> GetOrderTemplatesAsync(int orderType, List<string> distinctOrderNumbers);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取分页的轨迹订单
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
Task<UnifyPageResultDto<TrackOrderVO>> GetPageTrackOrder(GetPageTrackOrderInputVO input);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 关联订单
|
/// 关联订单
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
18
src/SJZY.Track.Domain/Dtos/Order/GetOrderDetailsInputVO.cs
Normal file
18
src/SJZY.Track.Domain/Dtos/Order/GetOrderDetailsInputVO.cs
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace SJZY.Track.Domain.Dtos.Order
|
||||||
|
{
|
||||||
|
public class GetOrderDetailsInputVO
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public class TrackOrderDetailVO
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
21
src/SJZY.Track.Domain/Dtos/Order/GetPageTrackOrderInputVO.cs
Normal file
21
src/SJZY.Track.Domain/Dtos/Order/GetPageTrackOrderInputVO.cs
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace SJZY.Track.Domain.Dtos.Order
|
||||||
|
{
|
||||||
|
public class GetPageTrackOrderInputVO
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 轨迹订单VO
|
||||||
|
/// </summary>
|
||||||
|
public class TrackOrderVO
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,4 +1,5 @@
|
|||||||
using SJZY.Track.Domain;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
using SJZY.Track.Domain;
|
||||||
using SJZY.Track.Domain.Aggregates.OrderAggregate;
|
using SJZY.Track.Domain.Aggregates.OrderAggregate;
|
||||||
using SJZY.Track.Domain.Dtos.Order;
|
using SJZY.Track.Domain.Dtos.Order;
|
||||||
|
|
||||||
@ -57,4 +58,30 @@ public class OrderRepository : BasicRepository<OrderEntity>, IOrderRepository, I
|
|||||||
|
|
||||||
tran.Complete();
|
tran.Complete();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#region 轨迹订单明细
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据轨迹订单id获取轨迹明细列表
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public async Task<List<TrackOrderDetailVO>> GetOrderDetails(GetOrderDetailsInputVO input)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 轨迹订单分页
|
||||||
|
/// <summary>
|
||||||
|
/// 获取分页的轨迹订单
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public async Task<UnifyPageResultDto<TrackOrderVO>> GetPageTrackOrder(GetPageTrackOrderInputVO input)
|
||||||
|
{
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user