fix: 🐛 修复问题

master-hjf
德 赫尔 4 weeks ago
parent b8d0a731a3
commit 81aef27e94

@ -85,7 +85,6 @@ string getGuid() {
return buffer;
}
vector<tag_t> getFlowStartsYH(int num, tag_t* c_line_tags) {
vector<tag_t> 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<MaxFlowInfo>& all_line_info, map<string, FlowInfo>& 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<string, CHILD>::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 {
vector<string>typeVec;
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<string, CHILD> child_level1, map<string, string> gx_cloneid_key, map<string, vector<CHILD>> gx_gbs_bom, map<string, string>& gx_gb_key) {
WriteLog("记录工序工步关系表数据库\n");
int ifail = 0;
char* gx_type = NULL;
char* gx_occ_type = NULL;
vector<string> updateVec;
vector<string> selectVec;
vector<string> insertVec;
@ -1054,7 +989,7 @@ void insertGxGb(string xmlUid, bool& showError, ado ado0, map<string, CHILD> chi
map<string, CHILD>::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<string, CHILD> chi
tag_t gx_item = child_it->second.item;
tag_t gx_rev = child_it->second.rev;
vector<CHILD> 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<string, CHILD> 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 {
vector<string>typeVec;
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<string, CHILD> 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 {
vector<string>typeVec;
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<string, CHILD> 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<string, CHILD> chi
void insertGyGxProp(string xmlUid, bool& showError, ado ado0, tag_t gy_line, tag_t gy_item, tag_t gy_rev, map<string, CHILD> child_level1, map<string, string> 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 {
vector<string>typeVec;
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<string, CHILD> child_level1, map<string, vector<string>> level1_level2, map<string, CHILD> 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<string> 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 {
vector<string>typeVec;
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 {
vector<string>typeVec;
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("资源类型:%spuid:%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<string, CHILD> child_level1, map<string, vector<string>> level1_level2, map<string, CHILD> 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<string> 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 {
vector<string>typeVec;
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 {
vector<string>typeVec;
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("资源类型:%spuid:%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<string, CHILD> chi
map<string, CHILD>::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<CHILD> 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<string, CHILD> 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<string, CHILD> 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<string, CHILD> 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 {
vector<string>typeVec;
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<string, CHILD> 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 {
vector<string>typeVec;
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<string, CHILD> 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++) {

@ -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);

@ -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);

@ -52,66 +52,66 @@ D:\Installation directory\Microsoft Visual Studio2019\VC\Tools\MSVC\14.29.30133\
D:\file store\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\string_utils.h(137,39): warning C4190: “Utf8ToGbk”有指定的 C 链接,但返回了与 C 不兼容的 UDT“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”
D:\Installation directory\Microsoft Visual Studio2019\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(685,12): warning C4129: “,”: 不可识别的字符转义序列
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1197,28): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1855,37): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2301,37): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2587,28): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
D:\file store\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2728,34): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(3043,35): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(620,12): warning C4129: “,”: 不可识别的字符转义序列
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1132,28): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(1790,37): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2235,37): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2522,28): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
D:\file store\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2663,34): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_BOPInfoToMediDatabase.cxx(2978,35): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\string_utils.h(134,50): warning C4190: “replace”有指定的 C 链接,但返回了与 C 不兼容的 UDT“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”
D:\Installation directory\Microsoft Visual Studio2019\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
@ -174,9 +174,6 @@ D:\file store\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediD
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediD
D:\file store\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\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\项目代码\精雕\JINGDIAO_connor_jd\connor_ldy\string_utils.h(134,50): warning C4190: “replace”有指定的 C 链接,但返回了与 C 不兼容的 UDT“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”
D:\Installation directory\Microsoft Visual Studio2019\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save