1显示最新一条物流信息和展示完整物流轨迹 2优化订单48小时或72小时过滤逻辑
This commit is contained in:
1 parent
f3fa093709
commit
db6774dbda
12 files changed
+749
-33
No files matched your search
@@ -0,0 +1,75 @@
|
||||
using AllBase.Model.MvvmBaseClasses;
|
||||
using NaiBa.Util.Extension;
|
||||
using NaiBa.Util.Helper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.DBModel
|
||||
{
|
||||
public class oms_wei_ewaybill_path : PropertyNotifyObject
|
||||
{
|
||||
public long id { get; set; }
|
||||
public long? shop_id { get; set; }
|
||||
public long? order_id { get; set; }
|
||||
public string ewaybill_order_id { get; set; }
|
||||
public string waybill_id { get; set; }
|
||||
public long update_time
|
||||
{
|
||||
get { return this.GetValue(x => x.update_time); }
|
||||
set
|
||||
{
|
||||
this.SetValue(x => x.update_time, value);
|
||||
this.UpdateTimeStr = BaseClass.StampToDateTime(value.ParseToInt()).ToString("yyyy-MM-dd HH:mm:ss");
|
||||
}
|
||||
}
|
||||
public string UpdateTimeStr
|
||||
{
|
||||
get { return this.GetValue(x => x.UpdateTimeStr); }
|
||||
set { this.SetValue(x => x.UpdateTimeStr, value); }
|
||||
}
|
||||
|
||||
//0待揽件 1揽收 2运输中 3派件 4入柜 5签收 6退回 7转寄 8异常 9出柜 99其他未知
|
||||
public int status
|
||||
{
|
||||
get { return this.GetValue(x => x.status); }
|
||||
set
|
||||
{
|
||||
this.SetValue(x => x.status, value);
|
||||
try
|
||||
{
|
||||
StatusStr = ((oms_wei_ewaybill_path_status_emum)value).ParseToString();
|
||||
}
|
||||
catch
|
||||
{
|
||||
StatusStr = "其他未知";
|
||||
}
|
||||
}
|
||||
}
|
||||
public string StatusStr
|
||||
{
|
||||
get { return this.GetValue(x => x.StatusStr); }
|
||||
set { this.SetValue(x => x.StatusStr, value); }
|
||||
}
|
||||
public string node_desc { get; set; }
|
||||
public DateTime create_time { get; set; }
|
||||
}
|
||||
|
||||
public enum oms_wei_ewaybill_path_status_emum
|
||||
{
|
||||
待揽件 = 0,
|
||||
揽收 = 1,
|
||||
运输中 = 2,
|
||||
派件 = 3,
|
||||
入柜 = 4,
|
||||
签收 = 5,
|
||||
退回 = 6,
|
||||
转寄 = 7,
|
||||
异常 = 8,
|
||||
出柜 = 9,
|
||||
其他未知 = 99
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user