Commit 0db74926 authored by wangqiang's avatar wangqiang

修改生成word签名方法中的固定包名

parent 04dd6cd2
...@@ -735,7 +735,7 @@ public class ExtDocServiceImpl implements ExtDocService { ...@@ -735,7 +735,7 @@ public class ExtDocServiceImpl implements ExtDocService {
@Override @Override
public void getDocWord(DxDocumentVO documentVo, Class classType, DxWfProcessInfoVO wfProcessInfoVO, String fileName) { public void getDocWord(DxDocumentVO documentVo, Class classType, DxWfProcessInfoVO wfProcessInfoVO, String fileName) {
try { try {
Class<?> clazz = Class.forName("com.yonde.dcs.core.factory." + documentVo.getSubTypeName() + "Utils"); Class<?> clazz = Class.forName("com.inet.dcs.document.core.factory." + documentVo.getSubTypeName() + "Utils");
Method settingDataMethod = clazz.getMethod("settingData", DxDocumentVO.class, DxWfProcessInfoVO.class); Method settingDataMethod = clazz.getMethod("settingData", DxDocumentVO.class, DxWfProcessInfoVO.class);
settingDataMethod.invoke(SpringUtil.getBean(classType), documentVo, wfProcessInfoVO); settingDataMethod.invoke(SpringUtil.getBean(classType), documentVo, wfProcessInfoVO);
log.info("生成word文件内容结束===="); log.info("生成word文件内容结束====");
...@@ -777,7 +777,7 @@ public class ExtDocServiceImpl implements ExtDocService { ...@@ -777,7 +777,7 @@ public class ExtDocServiceImpl implements ExtDocService {
@Override @Override
public void generateDocWordSign(DxDocumentVO documentVo, Class classType, DxWfProcessInfoVO wfProcessInfoVO, String fileName) { public void generateDocWordSign(DxDocumentVO documentVo, Class classType, DxWfProcessInfoVO wfProcessInfoVO, String fileName) {
try { try {
Class<?> clazz = Class.forName("com.yonde.dcs.core.factory." + documentVo.getSubTypeName() + "Utils"); Class<?> clazz = Class.forName("com.inet.dcs.document.core.factory." + documentVo.getSubTypeName() + "Utils");
Method settingDataMethod = clazz.getMethod("settingData", DxDocumentVO.class, DxWfProcessInfoVO.class); Method settingDataMethod = clazz.getMethod("settingData", DxDocumentVO.class, DxWfProcessInfoVO.class);
settingDataMethod.invoke(SpringUtil.getBean(classType), documentVo, wfProcessInfoVO); settingDataMethod.invoke(SpringUtil.getBean(classType), documentVo, wfProcessInfoVO);
log.info("签名----生成word文件内容结束===="); log.info("签名----生成word文件内容结束====");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment