|
|
@@ -1,5 +1,6 @@
|
|
|
package com.lc.ibps.bpmn.provider;
|
|
|
|
|
|
+import java.io.File;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.Arrays;
|
|
|
import java.util.HashMap;
|
|
|
@@ -8,6 +9,8 @@ import java.util.Map;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
|
+import com.lc.ibps.base.core.constants.StringPool;
|
|
|
+import com.lc.ibps.base.web.util.AppFileUtil;
|
|
|
import com.lc.ibps.common.msg.persistence.entity.InnerMessagePo;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
@@ -112,6 +115,21 @@ public class BpmInstHisProvider extends GenericProvider implements IBpmInstHisSe
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public APIResult<Void> exportMonth(String[] formDataTemplateIds) {
|
|
|
+ String rootRealPath = "F:" + StringPool.SLASH + AppFileUtil.getBasePath(); // 操作的根目录
|
|
|
+ logger.warn("<========rootRealPath====={}.", rootRealPath);
|
|
|
+ File dir = new File(rootRealPath);
|
|
|
+ if (!dir.exists() || (dir.exists() && dir.isFile())) {
|
|
|
+ logger.warn("dir.mkdirs()====================================================");
|
|
|
+ dir.mkdirs();
|
|
|
+ }
|
|
|
+ // select *from IBPS_CAT_TYPE where CATEGORY_KEY_='FLOW_TYPE' order by depth_;
|
|
|
+
|
|
|
+
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 【流程实例历史】明细页面
|
|
|
* @param id
|