@ -199,7 +199,8 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" ,[ZNOTE4]\n" +
" ,[ZNOTE5]\n" +
" ,[STATE]\n" +
" ,[REMARK])\n" +
" ,[REMARK]" +
" ,[KOEIN] )\n" +
" VALUES\n" +
" ( '{0}' ,\n" +
" '{1}' , \n" +
@ -222,7 +223,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" '{18}' , \n" +
" '{19}' , \n" +
" {20} , \n" +
" '{21}' ) \n";
" '{21}' , '{22}' ) \n";
sql = string.Format(sql,
taskid,
@ -246,7 +247,8 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
itm.Type,
itm.OutPutAmt,
"0",
billnum
billnum,
"CNY"
);
_buffer.AppendLine(sql);
@ -612,7 +612,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" '红旗' Client,\n" +
" 'Z34' CODE,\n" +
" '10' SaleCode,\n" +
" '100113' ClientCode,\n" +
" '100053' ClientCode,\n" +
" BillNum,\n" +
" MaterialCode,\n" +
" SUM( Qty ) Qty,\n" +