Esempio n. 1
0
 /// <summary>
 /// 根据lmshop_CompanyFundReceiptInvoice表的receiptId字段返回数据
 /// </summary>
 /// <param name="receiptId">receiptId</param>
 /// <returns></returns>
 public List <CompanyFundReceiptInvoiceInfo> Getlmshop_CompanyFundReceiptInvoiceByReceiptID(Guid receiptId)
 {
     return(_companyFundReceiptInvoiceDao.Getlmshop_CompanyFundReceiptInvoiceByReceiptID(receiptId));
 }
Esempio n. 2
0
        public List <InvoiceRelationInfo> GetInvoiceRelationInfos(Guid receiptId)
        {
            var dataSource = _companyFundReceiptInvoice.Getlmshop_CompanyFundReceiptInvoiceByReceiptID(receiptId);

            return(dataSource.Select(ent => new InvoiceRelationInfo(ent.InvoiceId, ent.ReceiptID, ent.InvoiceNo, ent.InvoiceCode, (DateTime)ent.BillingDate, ent.NoTaxAmount, ent.Tax, ent.TaxAmount, ent.Remark, false)).ToList());
        }