|
|
|
@ -3,6 +3,7 @@ package cn.estsh.i3plus.core.apiservice.controller.busi;
|
|
|
|
|
import cn.estsh.i3plus.core.api.iservice.busi.ISysFileService;
|
|
|
|
|
import cn.estsh.i3plus.core.api.iservice.busi.ISysMessageService;
|
|
|
|
|
import cn.estsh.i3plus.core.api.iservice.busi.ISysTaskService;
|
|
|
|
|
import cn.estsh.i3plus.ext.cdm.icloud.sdk.ICdmCommonCloud;
|
|
|
|
|
import cn.estsh.i3plus.ext.qms.icloud.sdk.IQmsCommonCloud;
|
|
|
|
|
import cn.estsh.i3plus.icloud.andon.sdk.IAndonCommonCloud;
|
|
|
|
|
import cn.estsh.i3plus.icloud.eam.sdk.IEamCommonCloud;
|
|
|
|
@ -39,23 +40,12 @@ import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.EntityManager;
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
import java.io.BufferedInputStream;
|
|
|
|
|
import java.io.File;
|
|
|
|
|
import java.io.FileInputStream;
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
import java.io.OutputStream;
|
|
|
|
|
import java.io.*;
|
|
|
|
|
import java.net.URLEncoder;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
@ -108,6 +98,9 @@ public class SysTaskController extends CoreBaseController {
|
|
|
|
|
private IEamCommonCloud iEamCommonCloud;
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private ICdmCommonCloud iCdmCommonCloud;
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private EntityManager entityManager;
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
@ -157,6 +150,9 @@ public class SysTaskController extends CoreBaseController {
|
|
|
|
|
}else if (softType == CommonEnumUtil.SOFT_TYPE.EAM.getValue()) {
|
|
|
|
|
//eam
|
|
|
|
|
commonService = iEamCommonCloud;
|
|
|
|
|
} else if (softType == CommonEnumUtil.SOFT_TYPE.CDM.getValue()) {
|
|
|
|
|
//cdm
|
|
|
|
|
commonService = iCdmCommonCloud;
|
|
|
|
|
}
|
|
|
|
|
return commonService;
|
|
|
|
|
}
|
|
|
|
|