| | |
| | | public string HPicNo; |
| | | public string HWorkTask; |
| | | public string HProjectNote; |
| | | public string HContacts; |
| | | public string HContactNumber; |
| | | |
| | | } |
| | | #endregion |
| | |
| | | string HPicNo = mainList[0].HPicNo; |
| | | string HWorkTask = mainList[0].HWorkTask; |
| | | string HProjectNote = mainList[0].HProjectNote; |
| | | string HContacts = mainList[0].HContacts; |
| | | string HContactNumber = mainList[0].HContactNumber; |
| | | if (OperationType == 2) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from PM_ProjectBillMain where HBillNo ='" + HBillNo + "'", "PM_ProjectBillMain"); |
| | |
| | | { |
| | | string sql = "insert into PM_ProjectBillMain" + |
| | | "(HYear,HPeriod,HBillType,HBillSubType,HInterID,HDate,HBillNo,HBillStatus,HRemark,HMaker,HMakeDate,HProNumber,HProName,HCusID,HBeginDate,HEndDate,HSumMoney," + |
| | | "HProMoney,HWorkMoney,HOtherMoney,HProType,HPMEmpID,HWorkEmpID,HDepEmpID,HConWorkDays,HDepDays,HLastMoney,HPayCusID,HOrgID,HMaterID,HProjectClassID,HBuildComp,HBuildAddress,HWorkNo,HReDate,HPicNo,HWorkTask,HProjectNote) " + |
| | | "HProMoney,HWorkMoney,HOtherMoney,HProType,HPMEmpID,HWorkEmpID,HDepEmpID,HConWorkDays,HDepDays,HLastMoney,HPayCusID,HOrgID,HMaterID,HProjectClassID,HBuildComp,HBuildAddress,HWorkNo,HReDate,HPicNo,HWorkTask,HProjectNote,HContacts,HContactNumber) " + |
| | | "values(" + |
| | | "" + HYear + |
| | | "," + HPeriod + |
| | |
| | | "','" + HPicNo + |
| | | "','" + HWorkTask + |
| | | "','" + HProjectNote + |
| | | "','" + HContacts + |
| | | "','" + HContactNumber + |
| | | "')"; |
| | | |
| | | //涓昏〃 |
| | |
| | | "',HPicNo = '" + HPicNo + |
| | | "',HWorkTask = '" + HWorkTask + |
| | | "',HProjectNote ='" + HProjectNote + |
| | | "',HContacts ='" + HContacts + |
| | | "',HContactNumber ='" + HContactNumber + |
| | | "' where HInterID = " + HInterID; |
| | | |
| | | oCN.RunProc(sql); |