Browse Source

日期格式

Branch_PaiNaWeiSJob
shiqian.wang 2 months ago
parent
commit
f08a60c52a
  1. 2
      ICSSoft.FromERP/SK/YERP_002.cs

2
ICSSoft.FromERP/SK/YERP_002.cs

@ -110,7 +110,7 @@ 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,convert(nvarchar(10),dDate,111) INVC_DE,cDLCode DO_NO,cCusCode CUST_CD,cCusName CUST_NM,
select b.cSOCode P_ORDER_NUM,cBusType BIZ_TYP,cSTName SL_TYP,cSBVCode INVC_NO,convert(nvarchar(10),dDate,112) 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,

Loading…
Cancel
Save