Browse Source

堆高機費用表排序修改和服務類型查詢卡車

Dev
alina 2 years ago
parent
commit
4f65092f41
  1. 4
      EuroTran/EasyBL.WEBAPP/ShowEasy/ONSiteMaintain_QryService.cs
  2. 2
      EuroTran/EasyBL.WEBAPP/ShowEasy/ONSiteMaintain_UpdService.cs
  3. 2
      EuroTran/EasyBL.WEBAPP/ShowEasy/ServiceQSMaintain_UpdService.cs

4
EuroTran/EasyBL.WEBAPP/ShowEasy/ONSiteMaintain_QryService.cs

@ -1414,7 +1414,7 @@ namespace EasyBL.WEBAPP.ShowEasy
new object[] {
JoinType.Left, t1.OrgID == t2.OrgID && t1.ItemType == t2.ArgumentID && t2.ArgumentClassID=="ServiceItem"
} )
.Where((t1, t2) => t1.Effective == "Y" && t1.LangID== sLanguageID && t1.OrgID== sORIGID && t1.ServiceID== sServiceID && t2.ArgumentClassID== "ServiceItem" && t1.ItemType!="02")
.Where((t1, t2) => t1.Effective == "Y" && t1.LangID== sLanguageID && t1.OrgID== sORIGID && t1.ServiceID== sServiceID && t2.ArgumentClassID== "ServiceItem")
.Select((t1, t2) => new ArgumentDTO
{
ArgumentID =t1.Guid,
@ -1749,7 +1749,7 @@ namespace EasyBL.WEBAPP.ShowEasy
//堆高機
var lstServiceCostRules = db.Queryable<SETB_PDT_ServiceCostRules>()
.Where(x => x.QSID == objONSiteItem.Guid)
.OrderBy(x => x.CreateDate)
.OrderBy(x => x.Weight_Min)
.Select(x => new ServiceCostRulesDTO { Guid = x.Guid, Weight_Min = x.Weight_Min, Weight_Max = x.Weight_Max, Price = x.Price, PricingMode = x.PricingMode, Memo = x.Memo, CreateDate = x.CreateDate })
.ToList();

2
EuroTran/EasyBL.WEBAPP/ShowEasy/ONSiteMaintain_UpdService.cs

@ -233,7 +233,7 @@ namespace EasyBL.WEBAPP.ShowEasy
//堆高機
var lstServiceCostRules = db.Queryable<SETB_PDT_ServiceCostRules>()
.WhereIF(!string.IsNullOrEmpty(sPlanID), x => x.QSID == sPlanID)
.OrderBy(x => x.CreateDate)
.OrderBy(x => x.Weight_Min)
.Select(x => new View_PDT_ServiceCostRules { Guid = x.Guid, QSID = x.QSID, Weight_Min = x.Weight_Min, Weight_Max = x.Weight_Max, Price = x.Price, PricingMode = x.PricingMode, Memo = x.Memo, CreateDate = x.CreateDate })
.ToList();

2
EuroTran/EasyBL.WEBAPP/ShowEasy/ServiceQSMaintain_UpdService.cs

@ -65,7 +65,7 @@ namespace EasyBL.WEBAPP.ShowEasy
//堆高機
var lstServiceCostRules = db.Queryable<SETB_PDT_ServiceCostRules>()
.WhereIF(!string.IsNullOrEmpty(sQSID), x => x.QSID == sQSID)
.OrderBy(x => x.CreateDate)
.OrderBy(x => x.Weight_Min)
.Select(x => new View_PDT_ServiceCostRules { Guid = x.Guid, QSID = x.QSID, Weight_Min = x.Weight_Min, Weight_Max = x.Weight_Max, Price = x.Price, PricingMode = x.PricingMode, Memo = x.Memo, CreateDate = x.CreateDate })
.ToList();

Loading…
Cancel
Save