Merge pull request '批量发布流程' (#6) from zxk into master

main
邹旭科 5 years ago
commit 8d07c90a0d

@ -129,7 +129,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;IPLIB=none;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>C:\Users\lyf\Documents\tclib\include;C:\Users\lyf\Documents\tclib\include_cpp;C:\Program Files\Java\jdk1.8.0_212\include\win32;C:\Program Files\Java\jdk1.8.0_212\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>E:\work\include12_2;E:\work\include_cpp12_2;C:\Java\jdk1.8.0_231\include\win32;C:\Java\jdk1.8.0_231\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<CallingConvention>Cdecl</CallingConvention>
</ClCompile>
<Link>
@ -137,7 +137,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>C:\Users\lyf\Documents\tclib\tc12\lib\*.lib;Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>E:\work\lib12_2\*.lib;Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<IgnoreSpecificDefaultLibraries>libuser_exits.ar.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<OutputFile>$(OutDir)\bs.dll</OutputFile>
<AdditionalOptions>/FORCE %(AdditionalOptions)</AdditionalOptions>

@ -63,7 +63,7 @@ int jd_add_attachments(EPM_action_message_t msg) {
int att_cnt;
EPM_ask_root_task(msg.task, &root_task);
EPM_ask_attachments(root_task, EPM_target_attachment, &att_cnt, &attachments);
TC_argument_list_t * arguments = msg.arguments;
TC_argument_list_t *arguments = msg.arguments;
int arg_cnt = TC_number_of_arguments(arguments);
map<string, string> paras;
for (auto i = 0; i < arg_cnt; i++) {
@ -72,29 +72,32 @@ int jd_add_attachments(EPM_action_message_t msg) {
paras[temp_key] = temp_val;
}
const char *relation = paras["realtion"].c_str();
const char *item_rev = paras["item_rev"].c_str();
const char *item = paras["item"].c_str();
printf("relation:%s\n", relation);
printf("item_rev:%s\n", item_rev);
printf("item:%s\n", item);
vector<tag_t> csjh_rev;
vector<int> csjh_type;
for (int i = 0;i < att_cnt;i++) {
char *att_type;
AOM_ask_value_string(attachments[i], "object_type", &att_type);
if (tc_strcmp(att_type, "JD2_GTSYWTSRevision") == 0) {
if (tc_strcmp(att_type, "ItemRevision") == 0) {
tag_t *csjh;
int csjh_cnt;
AOM_ask_value_tags(attachments[i], relation, &csjh_cnt, &csjh);
for (int ii = 0;ii < csjh_cnt;ii++) {
char *item_type;
AOM_ask_value_string(csjh[ii], "object_type", &item_type);
if (tc_strcmp(item_type, item_rev) == 0) {
if (tc_strcmp(item_type, item) == 0) {
tag_t *csjh_revs;
int rev_cnt;
char *date;
date_t date = NULLDATE;
AOM_ask_value_tags(csjh[i], "revision_list", &rev_cnt, &csjh_revs);
AOM_ask_value_string(csjh_revs[rev_cnt - 1], "date_released", &date);
if (date == NULL || tc_strcmp(date, "") == 0) {
AOM_ask_value_date(csjh_revs[rev_cnt - 1], "date_released", &date);
if (DATE_IS_NULL(date)) {
char *name;
AOM_ask_value_string(csjh_revs[rev_cnt - 1], "object_string", &name);
printf("%s add success\n", name);
csjh_rev.push_back(csjh_revs[rev_cnt - 1]);
csjh_type.push_back(EPM_target_attachment);
}

@ -56,7 +56,7 @@
using namespace std;
void sendRequest(char *uid) {
DWORD WINAPI sendRequest(void *uid) {
try {
char *pref_values;
PREF_ask_char_value("jd2_server_ip", 0, &pref_values);
@ -64,22 +64,146 @@ void sendRequest(char *uid) {
stringstream ss;
ss << "http://";
ss << pref_values;
ss << ":8888/api/batchJob?uid=";
ss << uid;
ss << ":8888/api/deleteJob?uid=";
ss << (char *)uid;
printf("request url====>%s\n", ss.str().c_str());
http::Request request(ss.str().c_str());
const http::Response response = request.send("GET");
std::cout << std::string(response.body.begin(), response.body.end()) << '\n'; // print the result
} else {
printf("jd2_server_ip error\n");
}
} catch (const std::exception& e) {
std::cerr << "Request failed, error: " << e.what() << '\n';
}
return 0;
}
int jd_batch_process(EPM_action_message_t msg) {
int ifail = EPM_go, att_count, tag_cnt, rel_cnt, type = EPM_reference_attachment;
tag_t rootTask, *attachments, win, top, *tags, tag, *rels, job, process_template, new_process;
char *val;
EPM_ask_root_task(msg.task, &rootTask);
EPM_ask_job(msg.task, &job);
EPM_ask_attachments(rootTask, EPM_target_attachment, &att_count, &attachments);
if (att_count < 2)
return 0;
printf("att_count:%d\n", att_count);
AOM_ask_value_tag(job, "process_template", &process_template);
vector<tag_t> process_vec;
for (int i = 0; i < att_count; i++) {
char *object_string, *object_type;
AOM_ask_value_string(attachments[i], "object_type", &object_type);
AOM_ask_value_string(attachments[i], "object_string", &object_string);
printf("object_type:%s object_string:%s\n", object_type, object_string);
tag_t new_process;
ITKCALL(EPM_create_process(object_string, "", process_template, 1, &attachments[i], &type, &new_process));
process_vec.push_back(new_process);
}
int sub_cnt;
tag_t *tasks;
EPM_ask_sub_tasks(rootTask, &sub_cnt, &tasks);
map<string, vector<tag_t>> task_map;
for (int i = 0;i < sub_cnt;i++) {
char *task_name, *task_type;
AOM_ask_value_string(tasks[i], "object_name", &task_name);
AOM_ask_value_string(tasks[i], "object_type", &task_type);
vector<tag_t> tags;
if (tc_strcmp("EPMDoTask", task_type) == 0) {
tag_t assignee;
AOM_ask_value_tag(tasks[i], "fnd0Assignee", &assignee);
tags.push_back(assignee);
} else {
tag_t *signoffs;
int signoff_cnt;
AOM_ask_value_tags(tasks[i], "valid_signoffs", &signoff_cnt, &signoffs);
printf("name:%s valid cnt:%d\n", task_name, signoff_cnt);
for (int j = 0;j < signoff_cnt;j++) {
tag_t member;
AOM_ask_value_tag(signoffs[j], "group_member", &member);
tags.push_back(member);
}
}
task_map[task_name] = tags;
}
for (auto i = 0;i < process_vec.size();i++) {
ITKCALL(AOM_refresh(process_vec[i], false));
tag_t root;
EPM_ask_root_task(process_vec[i], &root);
EPM_ask_sub_tasks(root, &sub_cnt, &tasks);
for (auto j = 0;j < sub_cnt;j++) {
char *task_name, *task_type;
AOM_ask_value_string(tasks[j], "object_name", &task_name);
if (task_map[task_name].size() == 0)
continue;
AOM_ask_value_string(tasks[j], "object_type", &task_type);
if (tc_strcmp("EPMDoTask", task_type) == 0) {
EPM_assign_responsible_party(tasks[j], task_map[task_name][0]);
} else {
tag_t sub_task;
int *types = (int*)MEM_alloc(task_map[task_name].size());
EPM_ask_sub_task(tasks[j], "select-signoff-team", &sub_task);
if (sub_task) {
for (int k = 0;k < task_map[task_name].size();k++) {
int temp_cnt;
tag_t *temp;
EPM_create_adhoc_signoff(sub_task, task_map[task_name][k], &temp_cnt, &temp);
}
EPM_set_adhoc_signoff_selection_done(sub_task, true);
if (j == 0) {
EPM_trigger_action(tasks[0], EPM_complete_action, "");
}
}
}
}
}
printf("¿ªÊ¼½«ÒýÓÃת»»ÎªÄ¿±ê\n");
int ref_cnt;
tag_t *refs;
tag_t root_task1;
for (int i = 0;i < att_count;i++) {
EPM_ask_root_task(process_vec[i], &root_task1);
EPM_ask_attachments(root_task1, EPM_reference_attachment, &ref_cnt, &refs);
char *name1;
AOM_ask_value_string(attachments[i], "object_string", &name1);
for (int ii = 0;ii < ref_cnt; ii++) {
char *name2;
AOM_ask_value_string(refs[ii], "object_string", &name2);
if (tc_strcmp(name1, name2) == 0) {
printf("object_string======>%s\n", name1);
tag_t *new_atts = (tag_t *)MEM_alloc(sizeof(tag_t));
new_atts[0] = attachments[i];
int types[1];
types[0] = EPM_target_attachment;
int types1[1];
types1[0] = EPM_reference_attachment;
ITKCALL(EPM_add_attachments(root_task1, 1, new_atts, types));
EPM_remove_attachments_from_att_type(root_task1, 1, new_atts, types1);
break;
}
}
}
EMH_clear_errors();
char *uid;
ITK__convert_tag_to_uid(msg.task, &uid);
printf("delete job_uid======>%s\n", uid);
sendRequest(uid);
ITK__convert_tag_to_uid(job, &uid);
printf("start delete job_uid======>%s\n", uid);
HANDLE thread = CreateThread(NULL, 0, sendRequest, uid, 0, NULL);
CloseHandle(thread);
return 0;
}

@ -1,46 +1,11 @@
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\hx_erp.obj
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\hxerp_custom_main.obj
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\epm_register_handler.obj
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\epm_check_status.obj
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\epm_attach_objects.obj
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\ado.obj
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\ocilib.obj
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\vc110.pdb
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\hx_erp_routing.obj
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\hx_erp_bom.obj
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\hx_erp_send_mail.obj
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\hx_erp_user_judge.obj
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\hx_erp_relation_judge.obj
c:\users\liyanfeng\documents\代码\hezon_itk\hezon_itk\x64\release\hx_erp_invalid_mail.obj
c:\users\lyf13\documents\代码\benson\hezon_itk\hezon_itk\x64\release\epm_register_handler.obj
c:\users\lyf13\documents\代码\benson\hezon_itk\hezon_itk\x64\release\bs_custom_main.obj
c:\users\lyf13\documents\代码\benson\hezon_itk\hezon_itk\x64\release\bs_signoff.obj
c:\users\lyf13\documents\代码\benson\hezon_itk\hezon_itk\x64\release\ado.obj
c:\users\lyf13\documents\代码\benson\hezon_itk\hezon_itk\x64\release\vc110.pdb
c:\users\lyf13\documents\代码\benson\hezon_itk\hezon_itk\x64\release\bs_bypass.obj
c:\users\administrator\documents\c++\hezon_itk\hezon_itk\x64\release\bs_custom_main.obj
c:\users\administrator\documents\c++\hezon_itk\hezon_itk\x64\release\epm_register_handler.obj
c:\users\administrator\documents\c++\hezon_itk\hezon_itk\x64\release\bs_signoff.obj
c:\users\administrator\documents\c++\hezon_itk\hezon_itk\x64\release\bs_bypass.obj
c:\users\administrator\documents\c++\hezon_itk\hezon_itk\x64\release\ado.obj
c:\users\administrator\documents\c++\hezon_itk\hezon_itk\x64\release\vc110.pdb
c:\users\liyanfeng\documents\代码\hezon_itk\x64\release\hezon_itk.lib
c:\users\liyanfeng\documents\代码\hezon_itk\x64\release\hezon_itk.exp
c:\users\lyf13\documents\代码\benson\hezon_itk\x64\release\hezon_itk.lib
c:\users\lyf13\documents\代码\benson\hezon_itk\x64\release\hezon_itk.exp
c:\users\administrator\documents\c++\hezon_itk\x64\release\hezon_itk.lib
c:\users\administrator\documents\c++\hezon_itk\x64\release\hezon_itk.exp
c:\users\liyanfeng\documents\代码\hezon_itk\x64\release\hxerp.dll
c:\users\liyanfeng\documents\代码\hezon_itk\x64\release\hezon_itk.pdb
c:\users\lyf13\documents\代码\benson\hezon_itk\x64\release\bs.dll
c:\users\lyf13\documents\代码\benson\hezon_itk\x64\release\hezon_itk.pdb
c:\users\administrator\documents\c++\hezon_itk\x64\release\bs.dll
c:\users\administrator\documents\c++\hezon_itk\x64\release\hezon_itk.pdb
e:\work\vs_workspace\jditk\hezon_itk\x64\release\vc140.pdb
e:\work\vs_workspace\jditk\hezon_itk\x64\release\util.obj
e:\work\vs_workspace\jditk\hezon_itk\x64\release\jd_signoff.obj
e:\work\vs_workspace\jditk\hezon_itk\x64\release\jd_schedule_joint.obj
e:\work\vs_workspace\jditk\hezon_itk\x64\release\jd_complate_first_task.obj
e:\work\vs_workspace\jditk\hezon_itk\x64\release\jd_clear_field.obj
e:\work\vs_workspace\jditk\hezon_itk\x64\release\jd_batch_process.obj
e:\work\vs_workspace\jditk\hezon_itk\x64\release\jd_add_attachments.obj
e:\work\vs_workspace\jditk\hezon_itk\x64\release\bs_custom_main.obj
e:\work\vs_workspace\jditk\hezon_itk\x64\release\epm_register_handler.obj
e:\work\vs_workspace\jditk\hezon_itk\x64\release\bs_wl_check.obj
@ -54,32 +19,16 @@ e:\work\vs_workspace\jditk\hezon_itk\x64\release\bs_bom_save_check.obj
e:\work\vs_workspace\jditk\hezon_itk\x64\release\bs_bom_check.obj
e:\work\vs_workspace\jditk\hezon_itk\x64\release\.netframework,version=v4.0.assemblyattributes.obj
e:\work\vs_workspace\jditk\hezon_itk\x64\release\.netframework,version=v4.0.assemblyattributes.asm
e:\work\vs_workspace\jditk\hezon_itk\x64\release\jd_batch_process.obj
e:\work\vs_workspace\jditk\x64\release\bs.dll
e:\work\vs_workspace\jditk\x64\release\hezon_itk.pdb
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.tlog\metagen.write.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.vcxprojresolveassemblyreference.cache
e:\work\vs_workspace\jditk\hezon_itk\x64\release\msado15.tli
e:\work\vs_workspace\jditk\hezon_itk\x64\release\msado15.tlh
e:\work\vs_workspace\jditk\hezon_itk\x64\release\cl.command.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\cl.read.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\cl.write.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.write.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\link-cvtres.read.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\link-cvtres.write.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\link-rc.read.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\link-rc.write.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\link.command.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\link.read.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\link.write.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\vc110.pdb
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.tlog\cl.command.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.tlog\cl.read.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.tlog\cl.write.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.tlog\hezon_itk.write.1u.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.tlog\link.command.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.tlog\link.read.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.tlog\link.write.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.tlog\metagen.read.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.tlog\metagen.write.1.tlog
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.tlog\declib.dll.metagen
e:\work\vs_workspace\jditk\hezon_itk\x64\release\hezon_itk.tlog\tzres.dll.bi

@ -1,22 +1,199 @@
 jd_batch_process.cpp
 bs_bom_check.cpp
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
bs_bom_check.cpp(27): warning C4101: “lines”: 未引用的局部变量
bs_bom_check.cpp(26): warning C4101: “line_cnt”: 未引用的局部变量
bs_bom_save_check.cpp
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
bs_bom_save_check.cpp(47): warning C4101: “num”: 未引用的局部变量
bs_bypass.cpp
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
bs_file_transfer.cpp
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
bs_sap.cpp
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
bs_sap.cpp(8): warning C4101: “obj_type”: 未引用的局部变量
bs_sap.cpp(260): warning C4101: “obj_type”: 未引用的局部变量
bs_sap.cpp(292): warning C4101: “lines”: 未引用的局部变量
bs_sap.cpp(290): warning C4101: “line_cnt”: 未引用的局部变量
bs_signoff.cxx
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
bs_signoff.cxx(63): 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.
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(505): note: 参见“localtime”的声明
bs_sign_cad.cpp
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
bs_sign_cad.cpp(36): 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.
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdlib.h(1183): note: 参见“getenv”的声明
bs_test_release_check.cpp
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
bs_test_release_check.cpp(44): warning C4101: “rels”: 未引用的局部变量
bs_test_release_check.cpp(45): warning C4101: “val”: 未引用的局部变量
bs_test_release_check.cpp(44): warning C4101: “win”: 未引用的局部变量
bs_test_release_check.cpp(44): warning C4101: “top”: 未引用的局部变量
bs_test_release_check.cpp(44): warning C4101: “tags”: 未引用的局部变量
bs_test_release_check.cpp(44): warning C4101: “tag”: 未引用的局部变量
bs_test_release_check.cpp(43): warning C4101: “tag_cnt”: 未引用的局部变量
bs_test_release_check.cpp(43): warning C4101: “rel_cnt”: 未引用的局部变量
bs_wl_check.cpp
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
epm_register_handler.cxx
epm_register_handler.cxx(50): warning C4101: “now”: 未引用的局部变量
epm_register_handler.cxx(49): warning C4101: “expire_date”: 未引用的局部变量
epm_register_handler.cxx(49): warning C4101: “date_buf”: 未引用的局部变量
epm_register_handler.cxx(51): warning C4101: “p”: 未引用的局部变量
bs_custom_main.cxx
jd_add_attachments.cpp
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
jd_add_attachments.cpp(114): warning C4267: “参数”: 从“size_t”转换到“int”可能丢失数据
jd_batch_process.cpp
e:\work\vs_workspace\jditk\hezon_itk\HTTPRequest.hpp(193): warning C4267: “参数”: 从“size_t”转换到“int”可能丢失数据
e:\work\vs_workspace\jditk\hezon_itk\HTTPRequest.hpp(199): warning C4267: “参数”: 从“size_t”转换到“int”可能丢失数据
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
jd_batch_process.cpp(155): warning C4267: “参数”: 从“size_t”转换到“int”可能丢失数据
jd_batch_process.cpp(85): warning C4101: “rels”: 未引用的局部变量
jd_batch_process.cpp(85): warning C4101: “new_process”: 未引用的局部变量
jd_batch_process.cpp(86): warning C4101: “val”: 未引用的局部变量
jd_batch_process.cpp(85): warning C4101: “win”: 未引用的局部变量
jd_batch_process.cpp(85): warning C4101: “top”: 未引用的局部变量
jd_batch_process.cpp(85): warning C4101: “tags”: 未引用的局部变量
jd_batch_process.cpp(85): warning C4101: “tag”: 未引用的局部变量
jd_batch_process.cpp(84): warning C4101: “tag_cnt”: 未引用的局部变量
jd_batch_process.cpp(84): warning C4101: “rel_cnt”: 未引用的局部变量
jd_clear_field.cpp
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
jd_clear_field.cpp(119): warning C4267: “初始化”: 从“size_t”转换到“uint32_t”可能丢失数据
jd_clear_field.cpp(181): warning C4190: “GBKToUTF8”有指定的 C 链接,但返回了与 C 不兼容的 UDT“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstring(2633): note: 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
jd_clear_field.cpp(255): 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.
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdlib.h(1183): note: 参见“getenv”的声明
jd_clear_field.cpp(275): 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.
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdio.h(1952): note: 参见“_snprintf”的声明
jd_clear_field.cpp(287): 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.
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdlib.h(1183): note: 参见“getenv”的声明
jd_clear_field.cpp(289): warning C4477: “printf”: 格式字符串“%s”需要类型“char *”的参数,但可变参数 1 拥有了类型“const wchar_t *”
jd_clear_field.cpp(289): note: 请考虑在格式字符串中使用“%ls”
jd_clear_field.cpp(289): note: 请考虑在格式字符串中使用“%lls”
jd_clear_field.cpp(289): note: 请考虑在格式字符串中使用“%Ls”
jd_clear_field.cpp(289): note: 请考虑在格式字符串中使用“%ws”
jd_clear_field.cpp(244): warning C4101: “sign_location1”: 未引用的局部变量
jd_clear_field.cpp(249): warning C4101: “rev_attachments”: 未引用的局部变量
jd_clear_field.cpp(247): warning C4101: “ref_obj”: 未引用的局部变量
jd_clear_field.cpp(245): warning C4101: “attach_type”: 未引用的局部变量
jd_clear_field.cpp(244): warning C4101: “sign_str”: 未引用的局部变量
jd_clear_field.cpp(504): warning C4101: “err_function”: 未引用的局部变量
jd_clear_field.cpp(504): warning C4101: “err_string”: 未引用的局部变量
jd_schedule_joint.cpp
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
jd_signoff.cpp
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
jd_signoff.cpp(82): warning C4267: “初始化”: 从“size_t”转换到“uint32_t”可能丢失数据
jd_signoff.cpp(232): 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.
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(505): note: 参见“localtime”的声明
jd_signoff.cpp(247): 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.
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdio.h(1952): note: 参见“_snprintf”的声明
jd_signoff.cpp(266): 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.
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdlib.h(1183): note: 参见“getenv”的声明
jd_signoff.cpp(369): 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.
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdlib.h(1183): note: 参见“getenv”的声明
jd_signoff.cpp(226): warning C4101: “verdict”: 未引用的局部变量
jd_signoff.cpp(260): warning C4101: “rev_attachments”: 未引用的局部变量
jd_signoff.cpp(259): warning C4101: “ref_obj”: 未引用的局部变量
jd_signoff.cpp(257): warning C4101: “attach_type”: 未引用的局部变量
jd_signoff.cpp(221): warning C4101: “sign_str”: 未引用的局部变量
util.cpp
e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
util.cpp(32): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
util.cpp(49): 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.
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdio.h(1952): note: 参见“_snprintf”的声明
正在生成代码...
c:\java\jdk1.8.0_231\include\jni.h(1442): warning C4793: “JNIEnv_::CallStaticIntMethod”: 编译为本机的函数:
/clr 下不支持 varargs
c:\java\jdk1.8.0_231\include\jni.h(1445): warning C4793: “JNIEnv_::CallStaticIntMethod”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(1447): warning C4793: “JNIEnv_::CallStaticIntMethod”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(1352): warning C4793: “JNIEnv_::CallStaticObjectMethod”: 编译为本机的函数:
/clr 下不支持 varargs
c:\java\jdk1.8.0_231\include\jni.h(1355): warning C4793: “JNIEnv_::CallStaticObjectMethod”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(1357): warning C4793: “JNIEnv_::CallStaticObjectMethod”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(868): warning C4793: “JNIEnv_::NewObject”: 编译为本机的函数:
/clr 下不支持 varargs
c:\java\jdk1.8.0_231\include\jni.h(871): warning C4793: “JNIEnv_::NewObject”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(873): warning C4793: “JNIEnv_::NewObject”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(1051): warning C4793: “JNIEnv_::CallVoidMethod”: 编译为本机的函数:
/clr 下不支持 varargs
c:\java\jdk1.8.0_231\include\jni.h(1053): warning C4793: “JNIEnv_::CallVoidMethod”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(1055): warning C4793: “JNIEnv_::CallVoidMethod”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
e:\work\vs_workspace\jditk\hezon_itk\jd_clear_field.cpp(480): warning C4793: “JD_Revise_clear”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
e:\work\vs_workspace\jditk\hezon_itk\jd_clear_field.cpp(481): warning C4793: “JD_Revise_clear”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(1442): warning C4793: “JNIEnv_::CallStaticIntMethod”: 编译为本机的函数:
/clr 下不支持 varargs
c:\java\jdk1.8.0_231\include\jni.h(1445): warning C4793: “JNIEnv_::CallStaticIntMethod”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(1447): warning C4793: “JNIEnv_::CallStaticIntMethod”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(1352): warning C4793: “JNIEnv_::CallStaticObjectMethod”: 编译为本机的函数:
/clr 下不支持 varargs
c:\java\jdk1.8.0_231\include\jni.h(1355): warning C4793: “JNIEnv_::CallStaticObjectMethod”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(1357): warning C4793: “JNIEnv_::CallStaticObjectMethod”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(868): warning C4793: “JNIEnv_::NewObject”: 编译为本机的函数:
/clr 下不支持 varargs
c:\java\jdk1.8.0_231\include\jni.h(871): warning C4793: “JNIEnv_::NewObject”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(873): warning C4793: “JNIEnv_::NewObject”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(1051): warning C4793: “JNIEnv_::CallVoidMethod”: 编译为本机的函数:
/clr 下不支持 varargs
c:\java\jdk1.8.0_231\include\jni.h(1053): warning C4793: “JNIEnv_::CallVoidMethod”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
c:\java\jdk1.8.0_231\include\jni.h(1055): warning C4793: “JNIEnv_::CallVoidMethod”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
e:\work\vs_workspace\jditk\hezon_itk\bs_bom_save_check.cpp(50): warning C4793: “bs_bom_save_check”: 编译为本机的函数:
托管代码中发现一个不受支持的内部函数
.NETFramework,Version=v4.0.AssemblyAttributes.cpp
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(1189,5): warning MSB8012: TargetPath(E:\work\vs_workspace\jditk\x64\Release\HEZON_ITK.dll) does not match the Linker's OutputFile property value (E:\work\vs_workspace\jditk\x64\Release\bs.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(1191,5): warning MSB8012: TargetName(HEZON_ITK) does not match the Linker's OutputFile property value (bs). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
util.obj : warning LNK4006: "bool __cdecl isTypeOf(unsigned int,char const *)" (?isTypeOf@@$$FYA_NIPEBD@Z) 已在 jd_signoff.obj 中定义;已忽略第二个定义
util.obj : warning LNK4006: "bool __cdecl isTypeOf(unsigned int,char const *)" (?isTypeOf@@YA_NIPEBD@Z) 已在 jd_signoff.obj 中定义;已忽略第二个定义
MSVCRT.lib(default_local_stdio_options.obj) : warning LNK4006: __local_stdio_printf_options 已在 libassy_jt.lib(libassy_jt.dll) 中定义;已忽略第二个定义
libboost_thread-vc140-mt-x64-1_72.lib(thread.obj) : warning LNK4006: "public: __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAA@XZ) 已在 libassy_jt.lib(libassy_jt.dll) 中定义;已忽略第二个定义
libboost_thread-vc140-mt-x64-1_72.lib(thread.obj) : warning LNK4006: "public: __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAA@XZ) 已在 libassy_jt.lib(libassy_jt.dll) 中定义;已忽略第二个定义
libboost_thread-vc140-mt-x64-1_72.lib(thread.obj) : warning LNK4006: "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator=(char const *)" (??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAAEAV01@PEBD@Z) 已在 libcppbindings.lib(libcppbindings.dll) 中定义;已忽略第二个定义
libboost_thread-vc140-mt-x64-1_72.lib(thread.obj) : warning LNK4006: "public: char const * __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEBAPEBDXZ) 已在 libassy_jt.lib(libassy_jt.dll) 中定义;已忽略第二个定义
libboost_date_time-vc140-mt-x64-1_72.lib(greg_month.obj) : warning LNK4006: "public: __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAA@XZ) 已在 libassy_jt.lib(libassy_jt.dll) 中定义;已忽略第二个定义
libboost_date_time-vc140-mt-x64-1_72.lib(greg_month.obj) : warning LNK4006: "public: __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAA@XZ) 已在 libassy_jt.lib(libassy_jt.dll) 中定义;已忽略第二个定义
libboost_date_time-vc140-mt-x64-1_72.lib(greg_month.obj) : warning LNK4006: "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator=(char const *)" (??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAAEAV01@PEBD@Z) 已在 libcppbindings.lib(libcppbindings.dll) 中定义;已忽略第二个定义
libboost_date_time-vc140-mt-x64-1_72.lib(greg_month.obj) : warning LNK4006: "public: char const * __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEBAPEBDXZ) 已在 libassy_jt.lib(libassy_jt.dll) 中定义;已忽略第二个定义
正在创建库 E:\work\vs_workspace\jditk\x64\Release\\bs.lib 和对象 E:\work\vs_workspace\jditk\x64\Release\\bs.exp
jd_signoff.obj : warning LNK4248: 无法解析 typeref 标记(01000016)(为“_jmethodID”);映像可能无法运行
jd_clear_field.obj : warning LNK4248: 无法解析 typeref 标记(01000017)(为“_jmethodID”);映像可能无法运行

Binary file not shown.

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save