| | |
| | | public string HStageNote; |
| | | public int HPMGoodsID; |
| | | public string HPMGoodsName; |
| | | public int HIsKey; |
| | | public bool HIsKey; |
| | | public double HRate; |
| | | public int HEmpID; |
| | | public string HEmpName; |
| | |
| | | public int RowID; |
| | | public int HEmployeeID; |
| | | public string HEmployeeName; |
| | | public int HIsPM; |
| | | public bool HIsPM; |
| | | public double HRate; |
| | | public double HPlanAvgMoney; |
| | | public double HPlanCountMoney; |
| | |
| | | string HStageNote = oSub.HStageNote; |
| | | int HPMGoodsID = oSub.HPMGoodsID; |
| | | string HRelationGoods = oSub.HPMGoodsName; |
| | | int HIsKey = oSub.HIsKey; |
| | | int HIsKey = oSub.HIsKey?1:0; |
| | | double HRate = oSub.HRate; |
| | | int HEmpID = oSub.HEmpID; |
| | | int HCheckEmpID = oSub.HCheckEmpID; |
| | |
| | | int HEntryID = i; |
| | | string HRemark = oSub.HRemarkSub; |
| | | int HEmpID = oSub.HEmployeeID; |
| | | int HIsPM = oSub.HIsPM; |
| | | int HIsPM = oSub.HIsPM?1:0; |
| | | double HRate = oSub.HRate; |
| | | double HPlanAvgMoney = oSub.HPlanAvgMoney; |
| | | double HPlanCountMoney = oSub.HPlanCountMoney; |
| | |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from PM_ProjectBillMain order by HProNumber ", "PM_ProjectBillMain"); |
| | | ds = oCN.RunProcReturn("select * from PM_ProjectBillMain order by HBillNo ", "PM_ProjectBillMain"); |
| | | } |
| | | else |
| | | { |
| | | string sql1 = "select * from PM_ProjectBillMain where 1 = 1 "; |
| | | string sql = sql1 + sWhere + " order by HProNumber "; |
| | | string sql = sql1 + sWhere + " order by HBillNo "; |
| | | ds = oCN.RunProcReturn(sql, "PM_ProjectBillMain"); |
| | | } |
| | | |
| | |
| | | return objJsonResult; |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn("exec h_p_PM_ProjectReportBill_EditInit " + HInterID, "h_p_PM_ProjectReportBill_EditInit"); |
| | | ds = oCN.RunProcReturn("exec h_p_PM_ProjectBill_EditInit " + HInterID, "h_p_PM_ProjectBill_EditInit"); |
| | | tableList.Add(ds.Tables[0]); |
| | | tableList.Add(ds.Tables[1]); |
| | | tableList.Add(ds.Tables[2]); |