You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
425 B

1 year ago
using System;
using System.Linq;
using ChangKeTec.Wms.Models.Wms;
using CK.SCP.Models;
namespace ChangKeTec.Wms.Models
{
public class BillHelper
{
public static DateTime? GetBillTime( string billNum)
{
WmsEntities db = EntitiesFactory.CreateWmsInstance();
var bill = db.TB_BILL.FirstOrDefault(p => p.BillNum == billNum);
return bill?.BillTime;
}
}
}