From bc78aadb3d883a06b962e1a6c228b7ec8811ec1a Mon Sep 17 00:00:00 2001 From: "shiqian.wang" Date: Wed, 28 Aug 2024 17:55:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=9F=E6=A0=BC=E5=BC=8F=E3=80=81?= =?UTF-8?q?=E4=BA=BA=E6=B0=91=E5=B8=81=E6=8D=A2=E6=88=90=E8=8B=B1=E6=96=87?= =?UTF-8?q?=E7=AE=80=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ICSSoft.FromERP/SK/YERP_002.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ICSSoft.FromERP/SK/YERP_002.cs b/ICSSoft.FromERP/SK/YERP_002.cs index 402d3dd..a95aa74 100644 --- a/ICSSoft.FromERP/SK/YERP_002.cs +++ b/ICSSoft.FromERP/SK/YERP_002.cs @@ -110,7 +110,8 @@ namespace ICSSoft.FromERP var beginPeriod = "2023-07-01";// Dates.AddMonths(-1).AddDays(-Dates.Day + 1).ToString("yyyy-MM-dd");//"2023-06-01"; var endPeriod = "2023-08-01";// Dates.AddDays(-Dates.Day + 1).ToString("yyyy-MM-dd");//"2023-07-01"; string sqls = @" -select b.cSOCode P_ORDER_NUM,cBusType BIZ_TYP,cSTName SL_TYP,cSBVCode INVC_NO,dDate INVC_DE,cDLCode DO_NO,cCusCode CUST_CD,cCusName CUST_NM,cexch_name CUR,iExchRate ER, +select b.cSOCode P_ORDER_NUM,cBusType BIZ_TYP,cSTName SL_TYP,cSBVCode INVC_NO,convert(nvarchar(10),dDate,111) INVC_DE,cDLCode DO_NO,cCusCode CUST_CD,cCusName CUST_NM, +case when cexch_name = '人民币' then 'CNY' else cexch_name end CUR,iExchRate ER, cDepName SL_TEAM, cPsn_Name SL_PIC,cWhCode WH, b.cInvCode INVT_CD, c.cInvAddCode INVT_ACD, c.cInvName INVT_NM, c.cInvStd STDD_MDL, b.iQuantity QTY, b.iQuotedPrice STMT, iTaxUnitPrice PRTX_UPRC, iUnitPrice FRTX_UPRC, iMoney FRTX_AMT,b.iTaxRate TXRTO, iTax TX_AMT,iSum PRTX_AMT, KL DISRTO1,KL2 DISRTO2, iDisCount DIS_AMT,cMaker CRTR, cChecker REVR,a.csscode STTL_TYP_CD, a.cSCCode DLVR_TYP_CD, d.cSCName DLVR_TYP, cSSName STTL_TYP,