diff --git a/connor_ldy/JD_BOPInfoToMediDatabase.cxx b/connor_ldy/JD_BOPInfoToMediDatabase.cxx index 186d98d..f4d6ae0 100644 --- a/connor_ldy/JD_BOPInfoToMediDatabase.cxx +++ b/connor_ldy/JD_BOPInfoToMediDatabase.cxx @@ -85,7 +85,6 @@ string getGuid() { return buffer; } - vector getFlowStartsYH(int num, tag_t* c_line_tags) { vector starts; for (int i = 0; i < num; i++) { @@ -193,70 +192,6 @@ bool UploadUsingSystemFTP(string server, string username, string password, strin } } -/* -bool UploadUsingPowerShell() { - std::string server = "ftp://192.168.120.92:22/"; - std::string username = "ftp1"; - std::string password = "Jd@tc00"; - std::string local_file = "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2\\WD00000644_ceshiwen.docx"; - std::string remote_path = "DocumentRevision/MS WordX/WD00000644-10/WD00000644_ceshiwen.docx"; - - // 构建 PowerShell 命令 - std::string ps_command = - "$client = New-Object System.Net.WebClient;\n" - "$client.Credentials = New-Object System.Net.NetworkCredential('" + username + "', '" + password + "');\n" - "$client.UploadFile('" + server + remote_path + "', '" + local_file + "');"; - - // 将命令写入临时文件 - char temp_path[MAX_PATH]; - GetTempPathA(MAX_PATH, temp_path); - std::string ps_file = std::string(temp_path) + "ftp_upload.ps1"; - - std::ofstream ps_script(ps_file); - if (!ps_script) { - WriteLog("无法创建 PowerShell 脚本\n"); - return false; - } - - ps_script << ps_command; - ps_script.close(); - - // 执行 PowerShell 命令 - std::string command = "powershell -ExecutionPolicy Bypass -File \"" + ps_file + "\""; - - WriteLog("执行 PowerShell 命令\n"); - - STARTUPINFOA si = { sizeof(si) }; - PROCESS_INFORMATION pi; - si.dwFlags = STARTF_USESHOWWINDOW; - si.wShowWindow = SW_HIDE; - - if (CreateProcessA(NULL, (LPSTR)command.c_str(), NULL, NULL, FALSE, - CREATE_NO_WINDOW, NULL, NULL, &si, &pi)) { - WaitForSingleObject(pi.hProcess, 60000); - - DWORD exit_code; - GetExitCodeProcess(pi.hProcess, &exit_code); - - CloseHandle(pi.hProcess); - CloseHandle(pi.hThread); - - DeleteFileA(ps_file.c_str()); - - if (exit_code == 0) { - WriteLog("PowerShell 上传成功!\n"); - return true; - } - else { - WriteLog("PowerShell 上传失败,退出代码: %d\n", exit_code); - return false; - } - } - - DeleteFileA(ps_file.c_str()); - return false; -}*/ - void readGXFlow(tag_t gxLine, vector& all_line_info, map& line_info, MaxFlowInfo max_info) { FlowInfo flow_info; tag_t* successors, * Mfg0predecessors; @@ -844,7 +779,7 @@ void insertGyGxBom(string xmlUid, bool &showError, ado ado0, tag_t gy_line, tag_ map::iterator child_it; for (child_it = child_level1.begin(); child_it != child_level1.end(); child_it++) { - char* type = NULL; + char* occ_type = NULL; bool isContinue = false; string childColumnStr = ""; string childSelectStr = ""; @@ -857,7 +792,7 @@ void insertGyGxBom(string xmlUid, bool &showError, ado ado0, tag_t gy_line, tag_ string clone_id = child_it->second.clone_id; string primay_key = ""; FlowInfo flow_info = line_info[clone_id]; - ITKCALL(ifail = AOM_ask_value_string(rev, "object_type", &type)); + ITKCALL(ifail = AOM_ask_value_string(line, "bl_occ_type", &occ_type)); for (int j = 0; j < childNameVec.size(); j++) { string columnName = childNameVec[j]; @@ -865,14 +800,14 @@ void insertGyGxBom(string xmlUid, bool &showError, ado ado0, tag_t gy_line, tag_ string tempValue = " "; bool isInt = false; - if (strcmp(columnName.c_str(), "_FILTERTYPE") == 0) { + if (strcmp(columnName.c_str(), "_bl_occ_type") == 0) { if (strcmp(propertyName.c_str(), "ALL") == 0) { continue; } else { vectortypeVec; Split(propertyName, ";", typeVec); - if (hasElement(typeVec, type) == 0) { + if (hasElement(typeVec, occ_type) == 0) { continue; } else { @@ -1015,7 +950,7 @@ void insertGyGxBom(string xmlUid, bool &showError, ado ado0, tag_t gy_line, tag_ //if (!resultSql) { // WriteLog("数据库语句插入失败\n"); //} - DOFREE(type); + DOFREE(occ_type); } } @@ -1023,7 +958,7 @@ void insertGyGxBom(string xmlUid, bool &showError, ado ado0, tag_t gy_line, tag_ void insertGxGb(string xmlUid, bool& showError, ado ado0, map child_level1, map gx_cloneid_key, map> gx_gbs_bom, map& gx_gb_key) { WriteLog("记录工序工步关系表数据库\n"); int ifail = 0; - char* gx_type = NULL; + char* gx_occ_type = NULL; vector updateVec; vector selectVec; vector insertVec; @@ -1054,7 +989,7 @@ void insertGxGb(string xmlUid, bool& showError, ado ado0, map chi map::iterator child_it; for (child_it = child_level1.begin(); child_it != child_level1.end(); child_it++) { bool isGxContinue = false; - char* type = NULL; + char* gb_occ_type = NULL; string sqlStr = "insert into "; string updateStr = "update "; string selectStr = "select * from "; @@ -1065,7 +1000,7 @@ void insertGxGb(string xmlUid, bool& showError, ado ado0, map chi tag_t gx_item = child_it->second.item; tag_t gx_rev = child_it->second.rev; vector gbs = gx_gbs_bom[gx_clone_id]; - ITKCALL(ifail = AOM_ask_value_string(gx_rev, "object_type", &gx_type)); + ITKCALL(ifail = AOM_ask_value_string(gx_line, "bl_occ_type", &gx_occ_type)); sqlStr = sqlStr.append(tableName).append("("); selectStr = selectStr.append(tableName).append(" "); @@ -1086,14 +1021,14 @@ void insertGxGb(string xmlUid, bool& showError, ado ado0, map chi string propertyName = parentValueVec[j]; string tempValue = " "; string updateValue = ""; - if (strcmp(columnName.c_str(), "_FILTERTYPE") == 0) { + if (strcmp(columnName.c_str(), "_bl_occ_type") == 0) { if (strcmp(propertyName.c_str(), "ALL") == 0) { continue; } else { vectortypeVec; Split(propertyName, ";", typeVec); - if (hasElement(typeVec, gx_type) == 0) { + if (hasElement(typeVec, gx_occ_type) == 0) { continue; } else { @@ -1207,20 +1142,20 @@ void insertGxGb(string xmlUid, bool& showError, ado ado0, map chi string childValueStr = ""; string gb_puid = "";; string primay_key = ""; - ITKCALL(ifail = AOM_ask_value_string(gb_item, "object_type", &type)); + ITKCALL(ifail = AOM_ask_value_string(gb_line, "bl_occ_type", &gb_occ_type)); for (int j = 0; j < childNameVec.size(); j++) { string columnName = childNameVec[j]; string propertyName = childValueVec[j]; string tempValue = " "; - if (strcmp(columnName.c_str(), "_FILTERTYPE") == 0) { + if (strcmp(columnName.c_str(), "_bl_occ_type") == 0) { if (strcmp(propertyName.c_str(), "ALL") == 0) { continue; } else { vectortypeVec; Split(propertyName, ";", typeVec); - if (hasElement(typeVec, type) == 0) { + if (hasElement(typeVec, gb_occ_type) == 0) { continue; } else { @@ -1335,9 +1270,9 @@ void insertGxGb(string xmlUid, bool& showError, ado ado0, map chi //} } } - DOFREE(type); + DOFREE(gb_occ_type); } - DOFREE(gx_type); + DOFREE(gx_occ_type); //更新数据库 //for (int i = 0; i < updateVec.size(); i++) { // int outputColumn = 0, outputValueCount = 0; @@ -1378,7 +1313,7 @@ void insertGxGb(string xmlUid, bool& showError, ado ado0, map chi void insertGyGxProp(string xmlUid, bool& showError, ado ado0, tag_t gy_line, tag_t gy_item, tag_t gy_rev, map child_level1, map gx_cloneid_key) { WriteLog("记录工艺路线-工序属性表数据库\n"); int ifail = 0; - char* type = NULL; + char* occ_type = NULL; // string sqlStr = "insert into "; string updateStr = "update "; @@ -1530,20 +1465,20 @@ void insertGyGxProp(string xmlUid, bool& showError, ado ado0, tag_t gy_line, tag tag_t item = child_it->second.item; tag_t rev = child_it->second.rev; string clone_id = child_it->second.clone_id; - ITKCALL(ifail = AOM_ask_value_string(rev, "object_type", &type)); + ITKCALL(ifail = AOM_ask_value_string(line, "bl_occ_type", &occ_type)); for (int j = 0; j < childNameVec.size(); j++) { string columnName = childNameVec[j]; string propertyName = childValueVec[j]; string tempValue = " "; - if (strcmp(columnName.c_str(), "_FILTERTYPE") == 0) { + if (strcmp(columnName.c_str(), "_bl_occ_type") == 0) { if (strcmp(propertyName.c_str(), "ALL") == 0) { continue; } else { vectortypeVec; Split(propertyName, ";", typeVec); - if (hasElement(typeVec, type) == 0) { + if (hasElement(typeVec, occ_type) == 0) { continue; } else { @@ -1657,7 +1592,7 @@ void insertGyGxProp(string xmlUid, bool& showError, ado ado0, tag_t gy_line, tag int result = ado0.ado_QuerySQLNoInputParam(sendChar2); bool resultSql = ado0.executeInsert(sendChar2, sendChar, result); } - DOFREE(type); + DOFREE(occ_type); //更新数据库 /*for (int i = 0; i < updateVec.size(); i++) { @@ -1691,7 +1626,7 @@ void insertGyGxProp(string xmlUid, bool& showError, ado ado0, tag_t gy_line, tag void insertGyGxGywj(string xmlUid, string ftp_ip, string ftp_port, string username, string pwd, bool& showError, ado ado0, tag_t gy_line, tag_t gy_item, tag_t gy_rev, map child_level1, map> level1_level2, map child_level2) { WriteLog("记录工序工艺文件数据库\n"); int ifail = 0; - char* type = NULL; + char* occ_type = NULL; // string sqlStr = "insert into "; string updateStr = "update "; @@ -1853,20 +1788,20 @@ void insertGyGxGywj(string xmlUid, string ftp_ip, string ftp_port, string userna string clone_id = child_it->second.clone_id; vector level2_vec = level1_level2[clone_id]; int level2_cnt = level2_vec.size(); - ITKCALL(ifail = AOM_ask_value_string(rev, "object_type", &type)); + ITKCALL(ifail = AOM_ask_value_string(line, "bl_occ_type", &occ_type)); for (int j = 0; j < childNameVec.size(); j++) { string columnName = childNameVec[j]; string propertyName = childValueVec[j]; string tempValue = " "; - if (strcmp(columnName.c_str(), "_FILTERTYPE") == 0) { + if (strcmp(columnName.c_str(), "_bl_occ_type") == 0) { if (strcmp(propertyName.c_str(), "ALL") == 0) { continue; } else { vectortypeVec; Split(propertyName, ";", typeVec); - if (hasElement(typeVec, type) == 0) { + if (hasElement(typeVec, occ_type) == 0) { continue; } else { @@ -1879,7 +1814,6 @@ void insertGyGxGywj(string xmlUid, string ftp_ip, string ftp_port, string userna char* puid = NULL; ITK__convert_tag_to_uid(rev, &puid); tempValue = puid; - childSelectStr = childSelectStr.append(columnName).append("='").append(tempValue).append("' and "); childUpdateSelectStr = childUpdateSelectStr.append(columnName).append("='").append(tempValue).append("' and "); childUpdateWhere = childUpdateWhere.append(columnName).append("='").append(tempValue).append("' and "); @@ -1939,7 +1873,7 @@ void insertGyGxGywj(string xmlUid, string ftp_ip, string ftp_port, string userna continue; } if (level2_cnt > 0) { - char* zy_type = NULL; + char* zy_occ_type = NULL; for (int k = 0; k < level2_cnt; k++) { bool isZyContinue = false; CHILD level2_child = child_level2[level2_vec[k]]; @@ -1952,20 +1886,20 @@ void insertGyGxGywj(string xmlUid, string ftp_ip, string ftp_port, string userna tag_t zy_item = level2_child.item; tag_t zy_rev = level2_child.rev; string zy_clone_id = level2_child.clone_id; - ITKCALL(ifail = AOM_ask_value_string(zy_rev, "object_type", &zy_type)); + ITKCALL(ifail = AOM_ask_value_string(zy_line, "bl_occ_type", &zy_occ_type)); for (int z = 0; z < childLevel2NameVec.size(); z++) { string columnName = childLevel2NameVec[z]; string propertyName = childLevel2ValueVec[z]; - string tempValue = " "; - if (strcmp(columnName.c_str(), "_FILTERTYPE") == 0) { + string tempValue2 = " "; + if (strcmp(columnName.c_str(), "_bl_occ_type") == 0) { if (strcmp(propertyName.c_str(), "ALL") == 0) { continue; } else { vectortypeVec; Split(propertyName, ";", typeVec); - if (hasElement(typeVec, zy_type) == 0) { + if (hasElement(typeVec, zy_occ_type) == 0) { continue; } else { @@ -1977,11 +1911,11 @@ void insertGyGxGywj(string xmlUid, string ftp_ip, string ftp_port, string userna else if (strcmp(columnName.c_str(), "SPUID") == 0) { char* spuid = NULL; ITK__convert_tag_to_uid(zy_rev, &spuid); - tempValue = spuid; - - childLevel2SelectStr = childLevel2SelectStr.append(columnName).append("='").append(tempValue).append("' "); - childLevel2UpdateSelectStr = childLevel2UpdateSelectStr.append(columnName).append("='").append(tempValue).append("' "); - childLevel2UpdateWhere = childLevel2UpdateWhere.append(columnName).append("='").append(tempValue).append("'"); + tempValue2 = spuid; + WriteLog("资源类型:%s,puid:%s\n", zy_occ_type, spuid); + childLevel2SelectStr = childLevel2SelectStr.append(columnName).append("='").append(tempValue2).append("' "); + childLevel2UpdateSelectStr = childLevel2UpdateSelectStr.append(columnName).append("='").append(tempValue2).append("' "); + childLevel2UpdateWhere = childLevel2UpdateWhere.append(columnName).append("='").append(tempValue2).append("'"); DOFREE(spuid); } else if (strcmp(columnName.c_str(), "FILE_PATH") == 0) { @@ -2004,10 +1938,10 @@ void insertGyGxGywj(string xmlUid, string ftp_ip, string ftp_port, string userna { string path = downloadDataset(related_objects[i].secondary, ftp_ip, ftp_port, type_name, idAndRev, username, pwd); WriteLog("文件路径:%s\n", path.c_str()); - if (tempValue.length() > 0) { - tempValue = tempValue.append(";"); + if (tempValue2.length() > 1) { + tempValue2 = tempValue2.append(";"); } - tempValue = tempValue.append(path); + tempValue2 = tempValue2.append(path); } } DOFREE(type_name); @@ -2039,24 +1973,24 @@ void insertGyGxGywj(string xmlUid, string ftp_ip, string ftp_port, string userna } EMH_clear_errors(); if (ifail == 0) { - tempValue = propertyValue; + tempValue2 = propertyValue; } else { showError = true; WriteLog("属性异常:%s\n", propertyName.c_str()); - tempValue = " "; + tempValue2 = " "; } DOFREE(propertyValue); } else { - tempValue = " "; + tempValue2 = " "; } } childLevel2ColumnStr = childLevel2ColumnStr.append(columnName); if (z < childLevel2NameVec.size() - 1) { childLevel2ColumnStr = childLevel2ColumnStr.append(","); } - childLevel2ValueStr = childLevel2ValueStr.append("'").append(tempValue); + childLevel2ValueStr = childLevel2ValueStr.append("'").append(tempValue2); if (z < childLevel2NameVec.size() - 1) { childLevel2ValueStr = childLevel2ValueStr.append("',"); } @@ -2100,10 +2034,10 @@ void insertGyGxGywj(string xmlUid, string ftp_ip, string ftp_port, string userna int result = ado0.ado_QuerySQLNoInputParam(sendChar2); bool resultSql = ado0.executeInsert(sendChar2, sendChar, result); } - DOFREE(zy_type); + DOFREE(zy_occ_type); } } - DOFREE(type); + DOFREE(occ_type); //更新数据库 /*for (int i = 0; i < updateVec.size(); i++) { @@ -2137,7 +2071,7 @@ void insertGyGxGywj(string xmlUid, string ftp_ip, string ftp_port, string userna void insertGyGxGyzy(string xmlUid, bool& showError, ado ado0, tag_t gy_line, tag_t gy_item, tag_t gy_rev, map child_level1, map> level1_level2, map child_level2) { WriteLog("记录工艺资源数据库\n"); int ifail = 0; - char* type = NULL; + char* occ_type = NULL; // string sqlStr = "insert into "; string updateStr = "update "; @@ -2299,20 +2233,20 @@ void insertGyGxGyzy(string xmlUid, bool& showError, ado ado0, tag_t gy_line, tag string clone_id = child_it->second.clone_id; vector level2_vec = level1_level2[clone_id]; int level2_cnt = level2_vec.size(); - ITKCALL(ifail = AOM_ask_value_string(rev, "object_type", &type)); + ITKCALL(ifail = AOM_ask_value_string(line, "bl_occ_type", &occ_type)); for (int j = 0; j < childNameVec.size(); j++) { string columnName = childNameVec[j]; string propertyName = childValueVec[j]; string tempValue = " "; - if (strcmp(columnName.c_str(), "_FILTERTYPE") == 0) { + if (strcmp(columnName.c_str(), "_bl_occ_type") == 0) { if (strcmp(propertyName.c_str(), "ALL") == 0) { continue; } else { vectortypeVec; Split(propertyName, ";", typeVec); - if (hasElement(typeVec, type) == 0) { + if (hasElement(typeVec, occ_type) == 0) { continue; } else { @@ -2385,7 +2319,7 @@ void insertGyGxGyzy(string xmlUid, bool& showError, ado ado0, tag_t gy_line, tag continue; } if (level2_cnt > 0) { - char* zy_type = NULL; + char* zy_occ_type = NULL; for (int k = 0; k < level2_cnt; k++) { bool isZyContinue = false; CHILD level2_child = child_level2[level2_vec[k]]; @@ -2398,20 +2332,21 @@ void insertGyGxGyzy(string xmlUid, bool& showError, ado ado0, tag_t gy_line, tag tag_t zy_item = level2_child.item; tag_t zy_rev = level2_child.rev; string zy_clone_id = level2_child.clone_id; - ITKCALL(ifail = AOM_ask_value_string(zy_rev, "object_type", &zy_type)); + ITKCALL(ifail = AOM_ask_value_string(zy_line, "bl_occ_type", &zy_occ_type)); for (int z = 0; z < childLevel2NameVec.size(); z++) { string columnName = childLevel2NameVec[z]; string propertyName = childLevel2ValueVec[z]; - string tempValue = " "; - if (strcmp(columnName.c_str(), "_FILTERTYPE") == 0) { + string tempValue2 = ""; + if (strcmp(columnName.c_str(), "_bl_occ_type") == 0) { if (strcmp(propertyName.c_str(), "ALL") == 0) { continue; } else { vectortypeVec; Split(propertyName, ";", typeVec); - if (hasElement(typeVec, zy_type) == 0) { + WriteLog("资源类型:%s, val:%s,是否包含:%d\n", zy_occ_type, propertyName.c_str(), hasElement(typeVec, zy_occ_type)); + if (hasElement(typeVec, zy_occ_type) == 0) { continue; } else { @@ -2422,12 +2357,12 @@ void insertGyGxGyzy(string xmlUid, bool& showError, ado ado0, tag_t gy_line, tag } else if (strcmp(columnName.c_str(), "SPUID") == 0) { char* spuid = NULL; - ITK__convert_tag_to_uid(rev, &spuid); - tempValue = spuid; - - childLevel2SelectStr = childLevel2SelectStr.append(columnName).append("='").append(tempValue).append("' "); - childLevel2UpdateSelectStr = childLevel2UpdateSelectStr.append(columnName).append("='").append(tempValue).append("' "); - childLevel2UpdateWhere = childLevel2UpdateWhere.append(columnName).append("='").append(tempValue).append("'"); + ITK__convert_tag_to_uid(zy_rev, &spuid); + tempValue2 = spuid; + WriteLog("资源类型:%s,puid:%s\n", zy_occ_type, spuid); + childLevel2SelectStr = childLevel2SelectStr.append(columnName).append("='").append(tempValue2).append("' "); + childLevel2UpdateSelectStr = childLevel2UpdateSelectStr.append(columnName).append("='").append(tempValue2).append("' "); + childLevel2UpdateWhere = childLevel2UpdateWhere.append(columnName).append("='").append(tempValue2).append("'"); DOFREE(spuid); } else { @@ -2455,24 +2390,24 @@ void insertGyGxGyzy(string xmlUid, bool& showError, ado ado0, tag_t gy_line, tag } EMH_clear_errors(); if (ifail == 0) { - tempValue = propertyValue; + tempValue2 = propertyValue; } else { showError = true; WriteLog("属性异常:%s\n", propertyName.c_str()); - tempValue = " "; + tempValue2 = " "; } DOFREE(propertyValue); } else { - tempValue = " "; + tempValue2 = " "; } } childLevel2ColumnStr = childLevel2ColumnStr.append(columnName); if (z < childLevel2NameVec.size() - 1) { childLevel2ColumnStr = childLevel2ColumnStr.append(","); } - childLevel2ValueStr = childLevel2ValueStr.append("'").append(tempValue); + childLevel2ValueStr = childLevel2ValueStr.append("'").append(tempValue2); if (z < childLevel2NameVec.size() - 1) { childLevel2ValueStr = childLevel2ValueStr.append("',"); } @@ -2516,10 +2451,10 @@ void insertGyGxGyzy(string xmlUid, bool& showError, ado ado0, tag_t gy_line, tag int result = ado0.ado_QuerySQLNoInputParam(sendChar2); bool resultSql = ado0.executeInsert(sendChar2, sendChar, result); } - DOFREE(zy_type); + DOFREE(zy_occ_type); } } - DOFREE(type); + DOFREE(occ_type); //更新数据库 /*for (int i = 0; i < updateVec.size(); i++) { @@ -2581,7 +2516,7 @@ void insertGbzy(string xmlUid, bool& showError, ado ado0, map chi map::iterator child_it; for (child_it = child_level1.begin(); child_it != child_level1.end(); child_it++) { - char* gb_type = NULL; + char* gb_occ_type = NULL; string gx_clone_id = child_it->first; vector gbs = gx_gbs_bom[gx_clone_id]; int gb_count = gbs.size(); @@ -2591,7 +2526,7 @@ void insertGbzy(string xmlUid, bool& showError, ado ado0, map chi tag_t gb_line = gbs[x].line; tag_t gb_item = gbs[x].item; - char* zy_type = NULL; + char* zy_occ_type = NULL; string sqlStr = "insert into "; string updateStr = "update "; string selectStr = "select * from "; @@ -2599,7 +2534,7 @@ void insertGbzy(string xmlUid, bool& showError, ado ado0, map chi string updateWhere = ""; string gb_puid = ""; - ITKCALL(ifail = AOM_ask_value_string(gb_item, "object_type", &gb_type)); + //ITKCALL(ifail = AOM_ask_value_string(gb_line, "bl_occ_type", &gb_occ_type)); sqlStr = sqlStr.append(tableName).append("("); selectStr = selectStr.append(tableName).append(" "); selectAfterUpdateStr = selectAfterUpdateStr.append(tableName).append(" "); @@ -2619,14 +2554,14 @@ void insertGbzy(string xmlUid, bool& showError, ado ado0, map chi string propertyName = parentValueVec[j]; string tempValue = " "; string updateValue = ""; - if (strcmp(columnName.c_str(), "_FILTERTYPE") == 0) { + if (strcmp(columnName.c_str(), "_bl_occ_type") == 0) { if (strcmp(propertyName.c_str(), "ALL") == 0) { continue; } else { vectortypeVec; Split(propertyName, ";", typeVec); - if (hasElement(typeVec, gb_type) == 0) { + if (hasElement(typeVec, gb_occ_type) == 0) { continue; } else { @@ -2738,20 +2673,20 @@ void insertGbzy(string xmlUid, bool& showError, ado ado0, map chi string childUpdateWhere = ""; string childValueStr = ""; - ITKCALL(ifail = AOM_ask_value_string(gb_item, "object_type", &zy_type)); + ITKCALL(ifail = AOM_ask_value_string(gbzy_line, "bl_occ_type", &zy_occ_type)); for (int j = 0; j < childNameVec.size(); j++) { string columnName = childNameVec[j]; string propertyName = childValueVec[j]; string tempValue = " "; - if (strcmp(columnName.c_str(), "_FILTERTYPE") == 0) { + if (strcmp(columnName.c_str(), "_bl_occ_type") == 0) { if (strcmp(propertyName.c_str(), "ALL") == 0) { continue; } else { vectortypeVec; Split(propertyName, ";", typeVec); - if (hasElement(typeVec, zy_type) == 0) { + if (hasElement(typeVec, zy_occ_type) == 0) { continue; } else { @@ -2861,10 +2796,10 @@ void insertGbzy(string xmlUid, bool& showError, ado ado0, map chi bool resultSql = ado0.executeInsert(sendChar2, sendChar, result); } } - DOFREE(zy_type); + DOFREE(zy_occ_type); } } - DOFREE(gb_type); + DOFREE(gb_occ_type); } //更新数据库 /*for (int i = 0; i < updateVec.size(); i++) { diff --git a/connor_ldy/JD_GXInfoToMediDatabase.cxx b/connor_ldy/JD_GXInfoToMediDatabase.cxx index fc9df9e..6041347 100644 --- a/connor_ldy/JD_GXInfoToMediDatabase.cxx +++ b/connor_ldy/JD_GXInfoToMediDatabase.cxx @@ -497,7 +497,7 @@ int JD_GXInfoToMediDatabase(EPM_action_message_t msg) { } WriteLog("8\n"); //更新数据库 - for (int i = 0; i < updateVec.size(); i++) { + /*for (int i = 0; i < updateVec.size(); i++) { string updateSql = updateVec[i]; string selectSql = selectVec[i]; string insertSql = insertVec[i]; @@ -522,7 +522,7 @@ int JD_GXInfoToMediDatabase(EPM_action_message_t msg) { WriteLog("更新失败:%s\n", updateSql.c_str()); } } - } + }*/ ado0.close(); //EMH_clear_errors(); DOFREE(attachments); diff --git a/connor_ldy/JD_GYInfoToMediDatabase.cxx b/connor_ldy/JD_GYInfoToMediDatabase.cxx index 7a5f00d..fe51fdf 100644 --- a/connor_ldy/JD_GYInfoToMediDatabase.cxx +++ b/connor_ldy/JD_GYInfoToMediDatabase.cxx @@ -296,7 +296,8 @@ int JD_GYInfoToMediDatabase(EPM_action_message_t msg) { //包含类型,连接数据库 if (log == false) { cout << "登陆成功" << endl; - tag_t partItem = NULL; + tag_t partItem = NULL, + partRev = NULL; ITEM_ask_item_of_rev(attachments[i], &partItem); char *itemType = NULL; AOM_ask_value_string(partItem, "object_type", &itemType); @@ -428,18 +429,16 @@ int JD_GYInfoToMediDatabase(EPM_action_message_t msg) { tag_t* material_tags = NULL; ITKCALL(AOM_ask_value_tags(attachments[i], vec[0].c_str(), &material_num, &material_tags)); - if (material_num > 0) { + if (material_num > 0 && material_tags[0] != NULLTAG) { char* gxType = NULL; ITKCALL(ifail = AOM_ask_value_string(material_tags[0], "object_type", &gxType)); if (strstr(gxType,"Revision") || strstr(gxType, "revision")) { - attachments[i] = material_tags[0]; ITEM_ask_item_of_rev(attachments[i], &partItem); } else { partItem = material_tags[0]; ITEM_ask_latest_rev(partItem,&attachments[i]); } - } if (strcmp(vec[1].c_str(), "item") == 0) { @@ -557,7 +556,7 @@ int JD_GYInfoToMediDatabase(EPM_action_message_t msg) { } WriteLog("8\n"); //更新数据库 - for (int i = 0; i < updateVec.size(); i++) { + /*for (int i = 0; i < updateVec.size(); i++) { string updateSql = updateVec[i]; string selectSql = selectVec[i]; string insertSql = insertVec[i]; @@ -582,7 +581,7 @@ int JD_GYInfoToMediDatabase(EPM_action_message_t msg) { WriteLog("更新失败:%s\n", updateSql.c_str()); } } - } + }*/ ado0.close(); //EMH_clear_errors(); DOFREE(attachments); diff --git a/connor_ldy/x64/Release/ADOConn.obj b/connor_ldy/x64/Release/ADOConn.obj index c3a50cd..db0845e 100644 Binary files a/connor_ldy/x64/Release/ADOConn.obj and b/connor_ldy/x64/Release/ADOConn.obj differ diff --git a/connor_ldy/x64/Release/JD_BOMInfoToMediDatabase.obj b/connor_ldy/x64/Release/JD_BOMInfoToMediDatabase.obj index 1068828..66d235a 100644 Binary files a/connor_ldy/x64/Release/JD_BOMInfoToMediDatabase.obj and b/connor_ldy/x64/Release/JD_BOMInfoToMediDatabase.obj differ diff --git a/connor_ldy/x64/Release/JD_BOPInfoToMediDatabase.obj b/connor_ldy/x64/Release/JD_BOPInfoToMediDatabase.obj index f3e5c10..62222c4 100644 Binary files a/connor_ldy/x64/Release/JD_BOPInfoToMediDatabase.obj and b/connor_ldy/x64/Release/JD_BOPInfoToMediDatabase.obj differ diff --git a/connor_ldy/x64/Release/JD_Check_StatusAndProp.obj b/connor_ldy/x64/Release/JD_Check_StatusAndProp.obj index 2257d3e..0f29140 100644 Binary files a/connor_ldy/x64/Release/JD_Check_StatusAndProp.obj and b/connor_ldy/x64/Release/JD_Check_StatusAndProp.obj differ diff --git a/connor_ldy/x64/Release/JD_FileInfoToMediDatabase.obj b/connor_ldy/x64/Release/JD_FileInfoToMediDatabase.obj index e70728c..693b0e3 100644 Binary files a/connor_ldy/x64/Release/JD_FileInfoToMediDatabase.obj and b/connor_ldy/x64/Release/JD_FileInfoToMediDatabase.obj differ diff --git a/connor_ldy/x64/Release/JD_GXInfoToMediDatabase.obj b/connor_ldy/x64/Release/JD_GXInfoToMediDatabase.obj index 91d808f..6a88ba5 100644 Binary files a/connor_ldy/x64/Release/JD_GXInfoToMediDatabase.obj and b/connor_ldy/x64/Release/JD_GXInfoToMediDatabase.obj differ diff --git a/connor_ldy/x64/Release/JD_GYInfoToMediDatabase.obj b/connor_ldy/x64/Release/JD_GYInfoToMediDatabase.obj index 231cf73..dd5c4bf 100644 Binary files a/connor_ldy/x64/Release/JD_GYInfoToMediDatabase.obj and b/connor_ldy/x64/Release/JD_GYInfoToMediDatabase.obj differ diff --git a/connor_ldy/x64/Release/JD_ItemInfoToMediDatabase.obj b/connor_ldy/x64/Release/JD_ItemInfoToMediDatabase.obj index dfe5123..fd5ff0e 100644 Binary files a/connor_ldy/x64/Release/JD_ItemInfoToMediDatabase.obj and b/connor_ldy/x64/Release/JD_ItemInfoToMediDatabase.obj differ diff --git a/connor_ldy/x64/Release/NHL_SignOff_Handler.obj b/connor_ldy/x64/Release/NHL_SignOff_Handler.obj index 2d6d37f..89b17fe 100644 Binary files a/connor_ldy/x64/Release/NHL_SignOff_Handler.obj and b/connor_ldy/x64/Release/NHL_SignOff_Handler.obj differ diff --git a/connor_ldy/x64/Release/connor_jd.iobj b/connor_ldy/x64/Release/connor_jd.iobj index 4a66d21..612bcc3 100644 Binary files a/connor_ldy/x64/Release/connor_jd.iobj and b/connor_ldy/x64/Release/connor_jd.iobj differ diff --git a/connor_ldy/x64/Release/connor_jd.ipdb b/connor_ldy/x64/Release/connor_jd.ipdb index 66c581f..fb96513 100644 Binary files a/connor_ldy/x64/Release/connor_jd.ipdb and b/connor_ldy/x64/Release/connor_jd.ipdb differ diff --git a/connor_ldy/x64/Release/connor_ldy.log b/connor_ldy/x64/Release/connor_ldy.log index 3372223..f5a85b4 100644 --- a/connor_ldy/x64/Release/connor_ldy.log +++ b/connor_ldy/x64/Release/connor_ldy.log @@ -52,66 +52,66 @@ D:\Installation directory\Microsoft Visual Studio2019\VC\Tools\MSVC\14.29.30133\ D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\string_utils.h(137,39): warning C4190: 鈥淯tf8ToGbk鈥濇湁鎸囧畾鐨 C 閾炬帴锛屼絾杩斿洖浜嗕笌 C 涓嶅吋瀹圭殑 UDT鈥渟td::basic_string,std::allocator>鈥 D:\Installation directory\Microsoft Visual Studio2019\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 鍙傝鈥渟td::basic_string,std::allocator>鈥濈殑澹版槑 D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(83,2): warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(412,4): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(415,4): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(427,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(430,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(465,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(476,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(479,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(502,4): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(513,6): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(516,6): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(383,13): warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(540,2): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(541,2): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(542,2): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(543,2): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(538,19): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(544,6): warning C4996: 'access': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _access. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(678,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(679,3): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(680,3): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(685,12): warning C4129: 鈥,鈥: 涓嶅彲璇嗗埆鐨勫瓧绗﹁浆涔夊簭鍒 -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(678,21): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1009,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1011,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(825,6): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(936,7): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1197,28): warning C4267: 鈥滃垵濮嬪寲鈥: 浠庘渟ize_t鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1326,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1328,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1174,7): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1261,9): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1654,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1656,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1501,6): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1591,7): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1855,37): warning C4267: 鈥滃垵濮嬪寲鈥: 浠庘渟ize_t鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2097,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2099,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1821,6): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1909,7): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2038,9): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2301,37): warning C4267: 鈥滃垵濮嬪寲鈥: 浠庘渟ize_t鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2513,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2515,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2267,6): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2355,7): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2454,9): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2587,28): warning C4267: 鈥滃垵濮嬪寲鈥: 浠庘渟ize_t鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2728,34): warning C4267: 鈥滃垵濮嬪寲鈥: 浠庘渟ize_t鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2857,7): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2859,7): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2702,9): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2797,11): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2937,6): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2976,2): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2978,2): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(3043,35): warning C4267: 鈥滃垵濮嬪寲鈥: 浠庘渟ize_t鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2905,6): warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2909,97): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2933,8): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(347,4): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(350,4): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(362,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(365,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(400,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(411,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(414,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(437,4): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(448,6): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(451,6): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(318,13): warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(475,2): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(476,2): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(477,2): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(478,2): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(473,19): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(479,6): warning C4996: 'access': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _access. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(613,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(614,3): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(615,3): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(620,12): warning C4129: 鈥,鈥: 涓嶅彲璇嗗埆鐨勫瓧绗﹁浆涔夊簭鍒 +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(613,21): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(944,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(946,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(760,6): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(871,7): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1132,28): warning C4267: 鈥滃垵濮嬪寲鈥: 浠庘渟ize_t鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1261,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1263,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1109,7): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1196,9): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1589,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1591,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1436,6): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1526,7): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1790,37): warning C4267: 鈥滃垵濮嬪寲鈥: 浠庘渟ize_t鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2031,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2033,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1756,6): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1843,7): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1972,9): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2235,37): warning C4267: 鈥滃垵濮嬪寲鈥: 浠庘渟ize_t鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2448,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2450,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2201,6): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2289,7): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2389,9): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2522,28): warning C4267: 鈥滃垵濮嬪寲鈥: 浠庘渟ize_t鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2663,34): warning C4267: 鈥滃垵濮嬪寲鈥: 浠庘渟ize_t鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2792,7): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2794,7): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2637,9): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2732,11): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2872,6): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2911,2): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2913,2): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2978,35): warning C4267: 鈥滃垵濮嬪寲鈥: 浠庘渟ize_t鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2840,6): warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2844,97): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2868,8): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details. JD_FileInfoToMediDatabase.cpp D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\string_utils.h(134,50): warning C4190: 鈥渞eplace鈥濇湁鎸囧畾鐨 C 閾炬帴锛屼絾杩斿洖浜嗕笌 C 涓嶅吋瀹圭殑 UDT鈥渟td::basic_string,std::allocator>鈥 D:\Installation directory\Microsoft Visual Studio2019\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 鍙傝鈥渟td::basic_string,std::allocator>鈥濈殑澹版槑 @@ -174,9 +174,6 @@ D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediD D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(243,2): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(486,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(488,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(508,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(509,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(510,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(162,6): warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(166,96): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(190,8): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details. @@ -206,18 +203,15 @@ D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediD D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(247,2): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(248,2): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(249,2): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(546,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(548,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(568,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(569,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(570,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(545,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(547,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(180,6): warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(184,96): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(208,8): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details. D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(244,19): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(250,6): warning C4996: 'access': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _access. See online help for details. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(399,11): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. -D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(476,11): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(400,11): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(475,11): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. JD_ItemInfoToMediDatabase.cpp D:\file store\椤圭洰浠g爜\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\string_utils.h(134,50): warning C4190: 鈥渞eplace鈥濇湁鎸囧畾鐨 C 閾炬帴锛屼絾杩斿洖浜嗕笌 C 涓嶅吋瀹圭殑 UDT鈥渟td::basic_string,std::allocator>鈥 D:\Installation directory\Microsoft Visual Studio2019\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 鍙傝鈥渟td::basic_string,std::allocator>鈥濈殑澹版槑 diff --git a/connor_ldy/x64/Release/curl_utils.obj b/connor_ldy/x64/Release/curl_utils.obj index 5af21b3..558d617 100644 Binary files a/connor_ldy/x64/Release/curl_utils.obj and b/connor_ldy/x64/Release/curl_utils.obj differ diff --git a/connor_ldy/x64/Release/k_util.obj b/connor_ldy/x64/Release/k_util.obj index c0c5873..f76671a 100644 Binary files a/connor_ldy/x64/Release/k_util.obj and b/connor_ldy/x64/Release/k_util.obj differ diff --git a/connor_ldy/x64/Release/lidy_main.obj b/connor_ldy/x64/Release/lidy_main.obj index c74559d..e8114c9 100644 Binary files a/connor_ldy/x64/Release/lidy_main.obj and b/connor_ldy/x64/Release/lidy_main.obj differ diff --git a/connor_ldy/x64/Release/method.obj b/connor_ldy/x64/Release/method.obj index 23bba65..45381d6 100644 Binary files a/connor_ldy/x64/Release/method.obj and b/connor_ldy/x64/Release/method.obj differ diff --git a/connor_ldy/x64/Release/register_handler.obj b/connor_ldy/x64/Release/register_handler.obj index e8f0523..97cff3e 100644 Binary files a/connor_ldy/x64/Release/register_handler.obj and b/connor_ldy/x64/Release/register_handler.obj differ diff --git a/connor_ldy/x64/Release/stdafx.obj b/connor_ldy/x64/Release/stdafx.obj index d1e237f..d9c40a5 100644 Binary files a/connor_ldy/x64/Release/stdafx.obj and b/connor_ldy/x64/Release/stdafx.obj differ diff --git a/connor_ldy/x64/Release/string_utils.obj b/connor_ldy/x64/Release/string_utils.obj index e36034e..70e6042 100644 Binary files a/connor_ldy/x64/Release/string_utils.obj and b/connor_ldy/x64/Release/string_utils.obj differ diff --git a/connor_ldy/x64/Release/tc_log.obj b/connor_ldy/x64/Release/tc_log.obj index ad70c2c..9739079 100644 Binary files a/connor_ldy/x64/Release/tc_log.obj and b/connor_ldy/x64/Release/tc_log.obj differ diff --git a/connor_ldy/x64/Release/tc_util.obj b/connor_ldy/x64/Release/tc_util.obj index c71b826..7dcd344 100644 Binary files a/connor_ldy/x64/Release/tc_util.obj and b/connor_ldy/x64/Release/tc_util.obj differ diff --git a/connor_ldy/x64/Release/testReadXml.obj b/connor_ldy/x64/Release/testReadXml.obj index c1e323d..32b4873 100644 Binary files a/connor_ldy/x64/Release/testReadXml.obj and b/connor_ldy/x64/Release/testReadXml.obj differ diff --git a/connor_ldy/x64/Release/tinystr.obj b/connor_ldy/x64/Release/tinystr.obj index 6c2dad2..58956e4 100644 Binary files a/connor_ldy/x64/Release/tinystr.obj and b/connor_ldy/x64/Release/tinystr.obj differ diff --git a/connor_ldy/x64/Release/tinyxml.obj b/connor_ldy/x64/Release/tinyxml.obj index 3ad67fe..1651041 100644 Binary files a/connor_ldy/x64/Release/tinyxml.obj and b/connor_ldy/x64/Release/tinyxml.obj differ diff --git a/connor_ldy/x64/Release/tinyxmlerror.obj b/connor_ldy/x64/Release/tinyxmlerror.obj index f7615f9..c5ab0d9 100644 Binary files a/connor_ldy/x64/Release/tinyxmlerror.obj and b/connor_ldy/x64/Release/tinyxmlerror.obj differ diff --git a/connor_ldy/x64/Release/tinyxmlparser.obj b/connor_ldy/x64/Release/tinyxmlparser.obj index a0b791e..6ac0d6a 100644 Binary files a/connor_ldy/x64/Release/tinyxmlparser.obj and b/connor_ldy/x64/Release/tinyxmlparser.obj differ diff --git a/connor_ldy/x64/Release/vc142.pdb b/connor_ldy/x64/Release/vc142.pdb index eba76f3..716dbc0 100644 Binary files a/connor_ldy/x64/Release/vc142.pdb and b/connor_ldy/x64/Release/vc142.pdb differ diff --git a/x64/Release/connor_jd.dll b/x64/Release/connor_jd.dll index a5ee6b4..bde559e 100644 Binary files a/x64/Release/connor_jd.dll and b/x64/Release/connor_jd.dll differ diff --git a/x64/Release/connor_jd.pdb b/x64/Release/connor_jd.pdb index 3021eaa..63889b2 100644 Binary files a/x64/Release/connor_jd.pdb and b/x64/Release/connor_jd.pdb differ