diff --git a/connor_ldy/JD_GXInfoToMediDatabase.cxx b/connor_ldy/JD_GXInfoToMediDatabase.cxx index bbf11aa..fc9df9e 100644 --- a/connor_ldy/JD_GXInfoToMediDatabase.cxx +++ b/connor_ldy/JD_GXInfoToMediDatabase.cxx @@ -198,6 +198,18 @@ int JD_GXInfoToMediDatabase(EPM_action_message_t msg) { MEM_free(argflag); MEM_free(argvalue); } + + + + vector pref_zid; + getPrefStrings1("Jd_MES_GX_Config", TC_preference_site, pref_zid); + + if (pref_zid.size() <= 0) { + EMH_store_error_s1(EMH_severity_user_error, EMH_USER_error_base, "请配置首选项 Jd_MES_GX_Config\n"); //错误弹窗 + return -1; + } + + //先获取首选项Jd_Erp_Info_Connect,解析其中的用户名,密码,配置文件等信息 vector pref_vec1; getPrefStrings1("Jd_MES_Info_Connect", TC_preference_site, pref_vec1); @@ -297,8 +309,9 @@ int JD_GXInfoToMediDatabase(EPM_action_message_t msg) { string columnValue = valueVec[j]; WriteLog("字段名 %s, 取值 %s\n", columnName.c_str(), columnValue.c_str()); WriteLog("字段名 %s, 取值 %s\n", columnName.c_str(), columnValue.c_str()); - sqlStr = sqlStr.append(columnName); + if (strcmp(columnName.c_str(), "TRANSNO") == 0) { + sqlStr = sqlStr.append(columnName); //时间已经处理,直接获取即可 valueStr.append("'").append(columnValue).append("'"); if (updateWhere.length() == 0) { @@ -316,16 +329,19 @@ int JD_GXInfoToMediDatabase(EPM_action_message_t msg) { } } else if (strcmp(columnName.c_str(), "SESSIONID") == 0) { + sqlStr = sqlStr.append(columnName); //固定值,直接获取即可 valueStr.append("'").append(columnValue).append("'"); } else if (strcmp(columnName.c_str(), "TRANSSTATUS") == 0) { + sqlStr = sqlStr.append(columnName); //不做任何处理,但在传递完毕后更新 updateStr = updateStr.append(tableName).append(" set ").append(columnName).append("='").append(columnValue).append("' "); selectAfterUpdateStr = selectAfterUpdateStr.append(columnName).append("='").append(columnValue).append("' and "); valueStr.append("'").append(" ").append("'"); } else if (strcmp(columnName.c_str(), "PUID") == 0) { + sqlStr = sqlStr.append(columnName); //获取所有发布状态release_status_list char *puid = NULL; ITK__convert_tag_to_uid(attachments[i], &puid); @@ -346,7 +362,54 @@ int JD_GXInfoToMediDatabase(EPM_action_message_t msg) { } DOFREE(puid); } + else if (strcmp(columnName.c_str(), "SHEET_BASIC_STAGE_TYPE") == 0 || strcmp(columnName.c_str(), "ASS_BASIC_STAGE_TYPE") == 0) { + vector vec; + if (columnValue.size() > 0) { + Split(columnValue, ".", vec); + char* tempValue = NULL; + char* gxlx = NULL; + if (vec.size() == 2) { + tag_t objTag = NULL; + if (strcmp(vec[0].c_str(), "item") == 0) { + objTag = partItem; + } + else if (strcmp(vec[0].c_str(), "rev") == 0) { + objTag = attachments[i]; + } + //需要注意,如果属性不存在或者说不准确,就传空值 + ITKCALL(ifail = AOM_UIF_ask_value(objTag, vec[1].c_str(), &tempValue)); + + ITKCALL(ifail = AOM_UIF_ask_value(objTag, "j6_processtype", &gxlx)); + WriteLog("gxlx:%s\n", gxlx); + if (strstr(pref_zid[0].c_str(),gxlx)) { + sqlStr = sqlStr.append("SHEET_BASIC_STAGE_TYPE"); + } + else { + sqlStr = sqlStr.append("ASS_BASIC_STAGE_TYPE"); + } + + removeQuotesGX(tempValue); + + string tempValueString = " "; + if (ifail == 0) { + + tempValueString = tempValue; + } + else { + showError = true; + WriteLog("属性异常:%s\n", vec[1].c_str()); + } + EMH_clear_errors(); + valueStr.append("'").append(tempValueString).append("'"); + } + DOFREE(tempValue); + } + else { + valueStr.append("' '"); + } + } else { + sqlStr = sqlStr.append(columnName); //其他情况获取属性 vector vec; if (columnValue.size() > 0) { diff --git a/connor_ldy/JD_GYInfoToMediDatabase.cxx b/connor_ldy/JD_GYInfoToMediDatabase.cxx index 601ea71..7a5f00d 100644 --- a/connor_ldy/JD_GYInfoToMediDatabase.cxx +++ b/connor_ldy/JD_GYInfoToMediDatabase.cxx @@ -421,6 +421,83 @@ int JD_GYInfoToMediDatabase(EPM_action_message_t msg) { EMH_clear_errors(); valueStr.append("'").append(tempValueString).append("'"); + }else if (vec.size() == 3) { + tag_t objTag = NULL; + + int material_num = 0; + tag_t* material_tags = NULL; + ITKCALL(AOM_ask_value_tags(attachments[i], vec[0].c_str(), &material_num, &material_tags)); + + if (material_num > 0) { + 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) { + objTag = partItem; + } + else if (strcmp(vec[1].c_str(), "rev") == 0) { + objTag = attachments[i]; + } + //需要注意,如果属性不存在或者说不准确,就传空值 + + string tempValueString = " "; + if (endsWith(columnName, "Date")) { + // 是以 "Date" 结尾 + date_t creation_date; + AOM_ask_value_date(objTag, vec[2].c_str(), &creation_date);//zt2_ChangeDate + + + if (creation_date.year != 0) { + tempValueString.append(to_string(creation_date.year)).append("-"). + append(to_string(creation_date.month + 1)).append("-"). + append(to_string(creation_date.day)).append(" "). + append(to_string(creation_date.hour)).append(":"). + append(to_string(creation_date.minute)).append(":").append(to_string(creation_date.second)); + + } + + + + + + } + else { + + ITKCALL(ifail = AOM_UIF_ask_value(objTag, vec[2].c_str(), &tempValue)); + + removeQuotesGY(tempValue); + + + if (ifail == 0) { + + tempValueString = tempValue; + } + else { + showError = true; + WriteLog("属性异常:%s\n", vec[1].c_str()); + } + + + } + + + + + + + + EMH_clear_errors(); + valueStr.append("'").append(tempValueString).append("'"); } DOFREE(tempValue); } diff --git a/connor_ldy/x64/Release/ADOConn.obj b/connor_ldy/x64/Release/ADOConn.obj index 3526bea..c9b59fc 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 a1d04f5..674866a 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 1f5f0d9..9c00ff0 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 eface8c..622e501 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 3ca3375..29f0284 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 5b27889..2b9ff7b 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 457ffe5..f556c58 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 5ee492f..d55cee6 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 ba9659a..35670a0 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 1aa9a46..0e9af8f 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 8db038e..5ff5baa 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 5e399e1..d877ab1 100644 --- a/connor_ldy/x64/Release/connor_ldy.log +++ b/connor_ldy/x64/Release/connor_ldy.log @@ -156,23 +156,25 @@ D:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(89,4) D:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(99,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(51,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(194,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(216,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(218,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(228,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(229,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(230,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(231,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(423,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(425,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(445,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(446,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(447,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(230,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(240,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(241,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(242,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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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. -D:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(226,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(232,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(364,8): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(238,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(244,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(380,10): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(382,10): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. +D:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GXInfoToMediDatabase.cxx(427,8): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead. JD_GYInfoToMediDatabase.cxx D:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\string_utils.h(134,50): warning C4190: 鈥渞eplace鈥濇湁鎸囧畾鐨 C 閾炬帴锛屼絾杩斿洖浜嗕笌 C 涓嶅吋瀹圭殑 UDT鈥渟td::basic_string,std::allocator>鈥 C:\VS2019\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 鍙傝鈥渟td::basic_string,std::allocator>鈥濈殑澹版槑 @@ -194,17 +196,18 @@ D:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(246,2 D:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(469,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(471,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(491,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(492,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:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\JD_GYInfoToMediDatabase.cxx(493,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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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:\source\绮鹃洉\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. JD_ItemInfoToMediDatabase.cpp D:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\string_utils.h(134,50): warning C4190: 鈥渞eplace鈥濇湁鎸囧畾鐨 C 閾炬帴锛屼絾杩斿洖浜嗕笌 C 涓嶅吋瀹圭殑 UDT鈥渟td::basic_string,std::allocator>鈥 C:\VS2019\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 鍙傝鈥渟td::basic_string,std::allocator>鈥濈殑澹版槑 @@ -334,6 +337,6 @@ D:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\tc_util.cpp(63,10): warning C4067 姝e湪鍒涘缓搴 D:\source\绮鹃洉\JINGDIAO_connor_jd\x64\Release\connor_jd.lib 鍜屽璞 D:\source\绮鹃洉\JINGDIAO_connor_jd\x64\Release\connor_jd.exp 姝e湪鐢熸垚浠g爜 Previous IPDB not found, fall back to full compilation. - All 1779 functions were compiled because no usable IPDB/IOBJ from previous compilation was found. + All 1780 functions were compiled because no usable IPDB/IOBJ from previous compilation was found. 宸插畬鎴愪唬鐮佺殑鐢熸垚 connor_ldy.vcxproj -> D:\source\绮鹃洉\JINGDIAO_connor_jd\x64\Release\connor_jd.dll diff --git a/connor_ldy/x64/Release/k_util.obj b/connor_ldy/x64/Release/k_util.obj index 1e4420c..b89d188 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 dab116f..6bad384 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 1880ade..647bd61 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/msado15.tlh b/connor_ldy/x64/Release/msado15.tlh index 1779eef..90c09c8 100644 --- a/connor_ldy/x64/Release/msado15.tlh +++ b/connor_ldy/x64/Release/msado15.tlh @@ -3,7 +3,7 @@ // D:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\x64\Release\msado15.tlh // // C++ source equivalent of type library c:\program files\common files\system\ado\msado15.dll -// compiler-generated file created 02/11/26 at 17:32:47 - DO NOT EDIT! +// compiler-generated file created 03/03/26 at 17:41:09 - DO NOT EDIT! #pragma once #pragma pack(push, 8) diff --git a/connor_ldy/x64/Release/msado15.tli b/connor_ldy/x64/Release/msado15.tli index 09a4465..43c9788 100644 --- a/connor_ldy/x64/Release/msado15.tli +++ b/connor_ldy/x64/Release/msado15.tli @@ -3,7 +3,7 @@ // D:\source\绮鹃洉\JINGDIAO_connor_jd\connor_ldy\x64\Release\msado15.tli // // Wrapper implementations for type library c:\program files\common files\system\ado\msado15.dll -// compiler-generated file created 02/11/26 at 17:32:47 - DO NOT EDIT! +// compiler-generated file created 03/03/26 at 17:41:09 - DO NOT EDIT! #pragma once diff --git a/connor_ldy/x64/Release/register_handler.obj b/connor_ldy/x64/Release/register_handler.obj index 8790ed0..9dd170d 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 7e0c399..861f320 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 a5b626e..55fc0ae 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 06e91cb..e2adfb4 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 b21b188..72621bb 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 3417406..6dcbc01 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 6d3ec9e..c820e41 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 0a96922..a709fed 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 0c1a155..4a854ef 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 6bac4c5..3f39ea9 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 0558a45..4871797 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 18a5639..5b674bc 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 f5f2168..2bed54b 100644 Binary files a/x64/Release/connor_jd.pdb and b/x64/Release/connor_jd.pdb differ