コード例 #1
0
 public Guid Step(Guid Token, int ProductId, int StowageFactorId, float StowageFactor, int QuantityId, float Quantity, int ToleranceId, int Terms, int LoadingConditionId, int UnLoadingConditionId, int LoadPortId, int LoadTerminalId, float LoadingRate, int DischargePortId, int DischargeTerminalId, float UnLoadingRate, DateTime StartLaycan, DateTime EndLaycan, int UpdatedId)
 {
     CheckIf.IsNull(ProductId, "Requerid Product");
     CheckIf.IsNull(StowageFactorId, "Requerid Stowage Factor");
     CheckIf.IsNull(QuantityId, "Requerid Quantity");
     CheckIf.IsNull(ToleranceId, "Requerid Tolerance");
     CheckIf.IsNull(Terms, "Requerid Terms");
     CheckIf.IsNull(LoadingConditionId, "Requerid Loading Condition");
     CheckIf.IsNull(UnLoadingConditionId, "Requerid UnLoading Condition");
     CheckIf.IsNull(LoadPortId, "Requerid Load Port");
     CheckIf.IsNull(LoadTerminalId, "Requerid Load Terminal");
     CheckIf.IsNull(LoadingRate, "Requerid LoadingRate");
     CheckIf.IsNull(DischargePortId, "Requerid Discharge Port");
     CheckIf.IsNull(DischargeTerminalId, "Requerid Discharge Terminal");
     CheckIf.IsNull(UnLoadingRate, "Requerid UnLoading Rate");
     CheckIf.IsNull(StartLaycan, "Requerid Start Laycan");
     CheckIf.IsNull(EndLaycan, "Requerid End Laycan");
     return(Database.CurrentCnn.As <IRequest>().DB_SearchVessel_Step1(Token, ProductId
                                                                      , StowageFactorId
                                                                      , StowageFactor
                                                                      , QuantityId
                                                                      , Quantity
                                                                      , ToleranceId
                                                                      , Terms
                                                                      , LoadingConditionId
                                                                      , UnLoadingConditionId
                                                                      , LoadPortId
                                                                      , LoadTerminalId
                                                                      , LoadingRate
                                                                      , DischargePortId
                                                                      , DischargeTerminalId
                                                                      , UnLoadingRate
                                                                      , StartLaycan
                                                                      , EndLaycan
                                                                      , UpdatedId));
 }
コード例 #2
0
 public dynamic GetRequest(Guid Token, int UpdatedId, int?VesselId)
 {
     CheckIf.IsNull(Token, "Requerid Token");
     return(Database.CurrentCnn.As <IRequest>().DB_SearchVessel_Get(Token, UpdatedId, VesselId));
 }
コード例 #3
0
 public List <dynamic> Step2(Guid Token, String Status, bool Continue, int UpdatedId)
 {
     CheckIf.IsNull(Token, "Requerid Token");
     return(Database.CurrentCnn.As <IRequest>().DB_SearchVessel_Step2(Token, Status, Continue, UpdatedId));
 }
コード例 #4
0
 public List <dynamic> ChangeStatusRequest(Guid Token, string Status, int UpdatedId)
 {
     CheckIf.IsNull(Token, "Requerid Token");
     CheckIf.IsNull(Status, "Requerid Status");
     return(Database.CurrentCnn.As <IRequest>().DB_ChangeStatusRequest_Save(Token, Status, UpdatedId));
 }