diff --git a/HEZON_ITK/HEZON_ITK.vcxproj b/HEZON_ITK/HEZON_ITK.vcxproj
index 4b4e1ea..77ad7c2 100644
--- a/HEZON_ITK/HEZON_ITK.vcxproj
+++ b/HEZON_ITK/HEZON_ITK.vcxproj
@@ -163,6 +163,7 @@
+
diff --git a/HEZON_ITK/HEZON_ITK.vcxproj.filters b/HEZON_ITK/HEZON_ITK.vcxproj.filters
index 18f778b..8440569 100644
--- a/HEZON_ITK/HEZON_ITK.vcxproj.filters
+++ b/HEZON_ITK/HEZON_ITK.vcxproj.filters
@@ -79,6 +79,9 @@
epm-handler
+
+ epm-handler
+
diff --git a/HEZON_ITK/epm_handler_common.h b/HEZON_ITK/epm_handler_common.h
index 24405fe..186ac51 100644
--- a/HEZON_ITK/epm_handler_common.h
+++ b/HEZON_ITK/epm_handler_common.h
@@ -48,6 +48,7 @@ int bs_test_release_check(EPM_rule_message_t msg);
int bs_bypass(void *retValType);
int jd_schedule_joint(EPM_action_message_t msg);
int jd_batch_process(EPM_action_message_t msg);
+int jd_add_attachments(EPM_action_message_t msg);
////��������Ϣǩ��汾������ȥ
//int qtmc_sign_ir(EPM_action_message_t msg);
diff --git a/HEZON_ITK/epm_register_handler.cxx b/HEZON_ITK/epm_register_handler.cxx
index 041e058..3d4a903 100644
--- a/HEZON_ITK/epm_register_handler.cxx
+++ b/HEZON_ITK/epm_register_handler.cxx
@@ -152,6 +152,14 @@ extern DLLAPI int CUST_init_module(int *decision, va_list args)
} else {
printf("register jd_batch_process successfully\n");
+ }
+ ifail = EPM_register_action_handler("jd_add_attachments", "jd_add_attachments",
+ (EPM_action_handler_t)jd_add_attachments);
+ if (ifail) {
+ printf("register jd_add_attachments failed\n");
+ } else {
+ printf("register jd_add_attachments successfully\n");
+
}
//if(ifail == ITK_ok)
//{
diff --git a/HEZON_ITK/jd_add_attachments.cpp b/HEZON_ITK/jd_add_attachments.cpp
new file mode 100644
index 0000000..68070e0
--- /dev/null
+++ b/HEZON_ITK/jd_add_attachments.cpp
@@ -0,0 +1,116 @@
+
+#include "epm_handler_common.h"
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include "tc/envelope.h"
+#include
+#include "ae/dataset.h"
+#include
+#include
+#include
+#include
+#include
+#include