public IEnumerable <Wterah> GetWterahListByShipFmWhseShipToWhse( GetWterahListByShipFmWhseShipToWhseRequestApi getWterahListByShipFmWhseShipToWhseRequestApiRequestApi) { var where = new StringBuilder(); where.Append($"wterah.cono = {this.wterahRepository.Cono}"); if (!string.IsNullOrEmpty(getWterahListByShipFmWhseShipToWhseRequestApiRequestApi.shipfmwhse)) { where.AppendFormatWithEscape(" AND wterah.shipfmwhse = '{0}'", getWterahListByShipFmWhseShipToWhseRequestApiRequestApi.shipfmwhse); } if (!string.IsNullOrEmpty(getWterahListByShipFmWhseShipToWhseRequestApiRequestApi.shiptowhse)) { where.AppendFormatWithEscape(" AND wterah.shiptowhse = '{0}'", getWterahListByShipFmWhseShipToWhseRequestApiRequestApi.shiptowhse); } return(this.wterahRepository.GetList( where.ToString(), getWterahListByShipFmWhseShipToWhseRequestApiRequestApi.batchsize, getWterahListByShipFmWhseShipToWhseRequestApiRequestApi.fldlist)); }
public IEnumerable <Wterah> GetWterahListByShipFmWhseShipToWhse(GetWterahListByShipFmWhseShipToWhseRequestApi getWterahListByShipFmWhseShipToWhseRequestApi) { return(this.wterahService.GetWterahListByShipFmWhseShipToWhse(getWterahListByShipFmWhseShipToWhseRequestApi)); }