string insideid = CommonClass.Request.GetRequest("InnerID", "");
string key = CommonClass.Request.Getquest, string result = "";
> result = StockOutApp(innerid);
);
}
else if (key = result = PaymentStatement(innerid);
;
}
#region 結算單資訊
public string PaymentState 嘗試
{
se_ProjectMain where InnerID='" _innerid "'";
DataTable dt = SqlShift.G •5); {
StringBuilder();
json.Append(""innerid":"" dt.Rows json.Append(","finalclient" :"" dt.Rows[0]["pFinalClient"].ToString() """);
ToString() """);
json.Append(","workinghours":" return "{" json.ToString().Trim(',') "}" ;
}
else
{
返回字符串.空;
}
}
catch (異常)
{
AppLog.Write(" 項目獲取異常![異常訊息:" ex.Message "]", AppLog.LogMessageType.Info);
return string.Empty
public string GetWorkingHours(string _innerid)
{
嘗試
{
WorkingHour、wHours_Days,其中wProjectID='" _innerid "'";
DataTable dt = SqlShift.GetDataTable(sql);
if (!CommonClass.DTRow.CheckDtIsEmpty(dt))
StringBuilder json = new StringBuilder();
, 🎜> {
json.Append(""innerid":"dt.Rows[0]["In nerID "].ToString() """);
json.Append(","description":"" dt.Rows json.Append(","description":"" dt.Rows json.Append(","工作時間":"" dt .Rows[0]["wWorkingHour"].ToString() """);
" "");
json.Append("}, return "[" json.ToString().Trim(',') "]";
🎜 > else
{
返回字符串.空;
}
}
catch (Exception ex)
{
AppLog.Write("項目獲取異常![異常資訊: " ex.Message "]", AppLog.LogMessageType.Info);
return string.Emp);
#endregion