|
|
@ -6,6 +6,7 @@ import com.weaver.common.i18n.tool.util.I18nContextUtil;
|
|
|
|
import com.weaver.eteams.file.client.file.FileObj;
|
|
|
|
import com.weaver.eteams.file.client.file.FileObj;
|
|
|
|
import com.weaver.eteams.file.client.param.RemoteUploadParam;
|
|
|
|
import com.weaver.eteams.file.client.param.RemoteUploadParam;
|
|
|
|
import com.weaver.file.ud.api.FileUploadService;
|
|
|
|
import com.weaver.file.ud.api.FileUploadService;
|
|
|
|
|
|
|
|
import com.weaver.framework.rpc.context.impl.TenantRpcContext;
|
|
|
|
import com.weaver.teams.domain.EntityType;
|
|
|
|
import com.weaver.teams.domain.EntityType;
|
|
|
|
import com.weaver.teams.domain.user.SimpleEmployee;
|
|
|
|
import com.weaver.teams.domain.user.SimpleEmployee;
|
|
|
|
import com.weaver.verupgrade.api.doc.detail.service.DocSaveService;
|
|
|
|
import com.weaver.verupgrade.api.doc.detail.service.DocSaveService;
|
|
|
@ -173,9 +174,13 @@ public class DocUtil {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Map<String,String> getDocInfoWf(String fileid,String tenantKey) throws Exception {
|
|
|
|
public Map<String,String> getDocInfoWf(String fileid) throws Exception {
|
|
|
|
RecordSet rs = I18nContextUtil.getBean(RecordSet.class);
|
|
|
|
RecordSet rs = I18nContextUtil.getBean(RecordSet.class);
|
|
|
|
String poolname = CONN_TYPE.document.getType();
|
|
|
|
String poolname = CONN_TYPE.document.getType();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String tenantKey = TenantRpcContext.getTenantKey();
|
|
|
|
|
|
|
|
log.error("getDocInfoWf tenantKey:" + tenantKey);
|
|
|
|
rs.setTenantKey(tenantKey);
|
|
|
|
rs.setTenantKey(tenantKey);
|
|
|
|
Map<String,String> docmap = new HashMap<>();
|
|
|
|
Map<String,String> docmap = new HashMap<>();
|
|
|
|
String uploadBuffer="";//base64字符串
|
|
|
|
String uploadBuffer="";//base64字符串
|
|
|
|