1
This commit is contained in:
@@ -95,13 +95,16 @@ namespace GZ_LTHReportForms.ReporyDDWFH
|
||||
string FEndDate = (customFilter["F_EDate"] == null) ? string.Empty : Convert.ToDateTime(
|
||||
customFilter["F_EDate"]).ToString("yyyy-MM-dd");
|
||||
var FZZ = customFilter["F_YWZZ"] as DynamicObject;
|
||||
//纸质合同号
|
||||
string Fcontractnumber = customFilter["F_contractnumber"] == null ? string.Empty :
|
||||
customFilter["F_contractnumber"].ToString();
|
||||
string FSaleOrgId = "";
|
||||
if (FZZ != null)
|
||||
{
|
||||
FSaleOrgId = FZZ["Id"].ToString();
|
||||
}
|
||||
string sql = String.Format(@"/*dialect*/
|
||||
EXEC GZTH_DDWFHMXB '{0}','{1}','{2}'
|
||||
EXEC GZTH_DDWFHMXB '{0}','{1}','{2}','{4}'
|
||||
|
||||
SELECT
|
||||
ROW_NUMBER() OVER (ORDER BY [日期]) AS FIDENTITYID,
|
||||
@@ -110,7 +113,7 @@ namespace GZ_LTHReportForms.ReporyDDWFH
|
||||
FROM GZ_DDWFHMX_TH
|
||||
WHERE [未发货数量] <> 0 AND [未发货数量] <> 0
|
||||
ORDER BY [日期]
|
||||
", FstartDate, FEndDate, FSaleOrgId, tableName);
|
||||
", FstartDate, FEndDate, FSaleOrgId, tableName, Fcontractnumber);
|
||||
DBUtils.Execute(this.Context, sql);
|
||||
}
|
||||
//设置报表合计列
|
||||
|
||||
Reference in New Issue
Block a user