m_sqlcommand = sqlcommand;
int nItem = 0;
CString strinformation_source;
CString strsms_phone;
CString strworker;
CString strgoods_source;
CString strmanager_charge;
CString strfac_settle_time;
CString strtype;
CString strfac_settle_charge;
CString strassign_charge;
CString strfirst_man_charge;
CString strsecond_man_charge;
CString straccept_charge;
CString strmemo;
int imanager_charge = 0;
int ifac_settle_charge = 0;
int iassign_charge = 0;
int total_imanager_charge = 0;
int total_ifac_settle_charge = 0;
int total_iassign_charge = 0;
CString total_strmanager_charge;
CString total_strfac_settle_charge;
CString total_strassign_charge;
CADORecordset* pRs = new CADORecordset(((CRepairServiceApp*)AfxGetApp())->g_pDb);
int count = 0;
if(pRs->Open((LPCTSTR)sqlcommand))
{
while(!pRs->IsEof())
|