Commit d313c4c8 authored by 高东东's avatar 高东东

提交代码

parent 0b7bc325
...@@ -8,6 +8,8 @@ import com.yeejoin.amos.avic.face.service.AvicCustomPathService; ...@@ -8,6 +8,8 @@ import com.yeejoin.amos.avic.face.service.AvicCustomPathService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import java.util.List;
import org.apache.cxf.endpoint.Client; import org.apache.cxf.endpoint.Client;
import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory; import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory;
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.LogManager;
...@@ -73,6 +75,13 @@ public class AvicCustomPathResource { ...@@ -73,6 +75,13 @@ public class AvicCustomPathResource {
} }
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation(value = "删除")
@RequestMapping(value = "/{ids}", method = RequestMethod.PUT)
public ResponseModel<Boolean> delete(@PathVariable(value = "ids") List<Long> ids) {
return ResponseHelper.buildResponse(simpleService.deleteBatchSeq(ids));
}
@TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation(value = "查询单个对象") @ApiOperation(value = "查询单个对象")
@RequestMapping(value = "/{sequenceNbr}", method = RequestMethod.GET) @RequestMapping(value = "/{sequenceNbr}", method = RequestMethod.GET)
public ResponseModel<AvicCustomPathModel> seleteOne(@PathVariable Long sequenceNbr) { public ResponseModel<AvicCustomPathModel> seleteOne(@PathVariable Long sequenceNbr) {
......
...@@ -30,7 +30,7 @@ import com.yeejoin.amos.avic.face.model.AvicCustomPathModel; ...@@ -30,7 +30,7 @@ import com.yeejoin.amos.avic.face.model.AvicCustomPathModel;
import com.yeejoin.amos.avic.face.model.InputStreamDataSource; import com.yeejoin.amos.avic.face.model.InputStreamDataSource;
import com.yeejoin.indicators.feign.IndicatorsManager; import com.yeejoin.indicators.feign.IndicatorsManager;
import com.yeejoin.indicators.feign.request.DataRecordRequest; import com.yeejoin.indicators.feign.request.DataRecordRequest;
import com.yeejoin.indicators.feign.workflow.WorkFlowFeign; import com.yeejoin.indicators.feign.workflow.WorkflowManager;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
...@@ -47,7 +47,7 @@ public class WebServicesFileFransferResource { ...@@ -47,7 +47,7 @@ public class WebServicesFileFransferResource {
@Autowired @Autowired
IndicatorsManager indicatorsManager; IndicatorsManager indicatorsManager;
@Autowired @Autowired
WorkFlowFeign workFlowFeign; WorkflowManager workflowManager;
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
@ApiOperation(value = "传输文件") @ApiOperation(value = "传输文件")
...@@ -82,7 +82,7 @@ public class WebServicesFileFransferResource { ...@@ -82,7 +82,7 @@ public class WebServicesFileFransferResource {
dataRecordRequest.put("targetPath", path); dataRecordRequest.put("targetPath", path);
list.add(dataRecordRequest); list.add(dataRecordRequest);
indicatorsManager.indicatorClient.saveBizRecord(taskId, bizId, list); indicatorsManager.indicatorClient.saveBizRecord(taskId, bizId, list);
workFlowFeign.startFormByProcess(null, processDefinitionId); workflowManager.workflowClient.startFormByProcess(null, processDefinitionId);
} catch (java.lang.Exception e) { } catch (java.lang.Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
......
...@@ -30,13 +30,13 @@ import javax.xml.ws.WebServiceProvider; ...@@ -30,13 +30,13 @@ import javax.xml.ws.WebServiceProvider;
@EnableTransactionManagement @EnableTransactionManagement
@EnableConfigurationProperties @EnableConfigurationProperties
@EnableDiscoveryClient @EnableDiscoveryClient
@EnableFeignClients @EnableFeignClients(basePackages = {"com.yeejoin"})
@EnableAsync @EnableAsync
@MapperScan({"org.typroject.tyboot.demo.face.orm.dao*", "org.typroject.tyboot.face.*.orm.dao*", @MapperScan({"org.typroject.tyboot.demo.face.orm.dao*", "org.typroject.tyboot.face.*.orm.dao*",
"org.typroject.tyboot.core.auth.face.orm.dao*", "org.typroject.tyboot.component.*.face.orm.dao*", "org.typroject.tyboot.core.auth.face.orm.dao*", "org.typroject.tyboot.component.*.face.orm.dao*",
"com.yeejoin.amos.boot.module.*.api.mapper", "com.yeejoin.amos.boot.biz.common.dao.mapper", "com.yeejoin.amos.boot.module.*.api.mapper", "com.yeejoin.amos.boot.biz.common.dao.mapper",
"com.yeejoin.amos.avic.face.orm.dao*"}) "com.yeejoin.amos.avic.face.orm.dao*"})
@ComponentScan(basePackages = {"org.typroject", "com.yeejoin.amos"}) @ComponentScan(basePackages = {"org.typroject", "com.yeejoin"})
public class AmoAVICApplication { public class AmoAVICApplication {
private static final Logger logger = LoggerFactory.getLogger(AmoAVICApplication.class); private static final Logger logger = LoggerFactory.getLogger(AmoAVICApplication.class);
......
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