提交 f2c90a11 编写于 作者: ibizdev's avatar ibizdev

Mosher 部署微服务接口 [后台服务,接口示例]

上级 3b39d94f
......@@ -37,6 +37,11 @@
git clone -b master $para2 demosys/
export NODE_OPTIONS=--max-old-space-size=4096
cd demosys/
mvn clean package -Pdemoapi
cd demo-provider/demo-provider-demoapi
mvn -Pdemoapi docker:build
mvn -Pdemoapi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/demo-provider-demoapi.yaml iBizDemo --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
......@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /demo-provider-demoapi.jar
EXPOSE 8081
EXPOSE 51000
ADD demo-provider-demoapi.jar /demo-provider-demoapi.jar
......@@ -3,9 +3,24 @@ services:
demo-provider-demoapi:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/demo-provider-demoapi:latest
ports:
- "8081:8081"
- "51000:51000"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=51000
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_df847bdfd
- SPRING_DATASOURCE_PASSWORD=3d6@460A
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_df847bdfd?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_df847bdfd
- NACOS=172.16.240.110:8848
- SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
- SEATA_ENABLED=true
deploy:
resources:
limits:
......
......@@ -138,7 +138,7 @@ public class IBIZAccountResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZAccount-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZAccount-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"账户" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizaccounts/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizaccounts/fetchdefault")
public ResponseEntity<List<IBIZAccountDTO>> fetchDefault(IBIZAccountSearchContext context) {
Page<IBIZAccount> domains = ibizaccountService.searchDefault(context) ;
List<IBIZAccountDTO> list = ibizaccountMapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZBOOKResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZBOOK-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZBOOK-Get')")
@ApiOperation(value = "获取数据集", tags = {"图书" } ,notes = "获取数据集")
@RequestMapping(method= RequestMethod.POST , value="/ibizbooks/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizbooks/fetchdefault")
public ResponseEntity<List<IBIZBOOKDTO>> fetchDefault(IBIZBOOKSearchContext context) {
Page<IBIZBOOK> domains = ibizbookService.searchDefault(context) ;
List<IBIZBOOKDTO> list = ibizbookMapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZCPUResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZCPU-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZCPU-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"处理器" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizcpus/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizcpus/fetchdefault")
public ResponseEntity<List<IBIZCPUDTO>> fetchDefault(IBIZCPUSearchContext context) {
Page<IBIZCPU> domains = ibizcpuService.searchDefault(context) ;
List<IBIZCPUDTO> list = ibizcpuMapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZCustomResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZCustom-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZCustom-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"自定义" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizcustoms/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizcustoms/fetchdefault")
public ResponseEntity<List<IBIZCustomDTO>> fetchDefault(IBIZCustomSearchContext context) {
Page<IBIZCustom> domains = ibizcustomService.searchDefault(context) ;
List<IBIZCustomDTO> list = ibizcustomMapping.toDto(domains.getContent());
......
......@@ -137,7 +137,7 @@ public class IBIZCustomerMGResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZCustomerMG-searchDefault-all')")
@ApiOperation(value = "获取DEFAULT", tags = {"客户管理" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizcustomermgs/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizcustomermgs/fetchdefault")
public ResponseEntity<List<IBIZCustomerMGDTO>> fetchDefault(IBIZCustomerMGSearchContext context) {
Page<IBIZCustomerMG> domains = ibizcustomermgService.searchDefault(context) ;
List<IBIZCustomerMGDTO> list = ibizcustomermgMapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZCustomerResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZCustomer-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZCustomer-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"客户" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizcustomers/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizcustomers/fetchdefault")
public ResponseEntity<List<IBIZCustomerDTO>> fetchDefault(IBIZCustomerSearchContext context) {
Page<IBIZCustomer> domains = ibizcustomerService.searchDefault(context) ;
List<IBIZCustomerDTO> list = ibizcustomerMapping.toDto(domains.getContent());
......
......@@ -171,7 +171,7 @@ public class IBIZCustomer_INTFResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZCustomer_INTF-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZCustomer_INTF-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"客户" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizcustomer_intfs/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizcustomer_intfs/fetchdefault")
public ResponseEntity<List<IBIZCustomer_INTFDTO>> fetchDefault(IBIZCustomer_INTFSearchContext context) {
Page<IBIZCustomer_INTF> domains = ibizcustomer_intfService.searchDefault(context) ;
List<IBIZCustomer_INTFDTO> list = ibizcustomer_intfMapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZHardwareResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZHardware-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZHardware-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"硬件" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizhardwares/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizhardwares/fetchdefault")
public ResponseEntity<List<IBIZHardwareDTO>> fetchDefault(IBIZHardwareSearchContext context) {
Page<IBIZHardware> domains = ibizhardwareService.searchDefault(context) ;
List<IBIZHardwareDTO> list = ibizhardwareMapping.toDto(domains.getContent());
......@@ -160,7 +160,7 @@ public class IBIZHardwareResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZHardware-searchIndexDER-all') and hasPermission(#context,'DemoSys-IBIZHardware-Get')")
@ApiOperation(value = "获取IndexDER", tags = {"硬件" } ,notes = "获取IndexDER")
@RequestMapping(method= RequestMethod.POST , value="/ibizhardwares/fetchindexder")
@RequestMapping(method= RequestMethod.GET , value="/ibizhardwares/fetchindexder")
public ResponseEntity<List<IBIZHardwareDTO>> fetchIndexDER(IBIZHardwareSearchContext context) {
Page<IBIZHardware> domains = ibizhardwareService.searchIndexDER(context) ;
List<IBIZHardwareDTO> list = ibizhardwareMapping.toDto(domains.getContent());
......
......@@ -269,7 +269,7 @@ public class IBIZOrderDetailResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZOrderDetail-searchCSMXDY-all') and hasPermission(#context,'DemoSys-IBIZOrderDetail-Get')")
@ApiOperation(value = "获取测试明细打印", tags = {"订单明细" } ,notes = "获取测试明细打印")
@RequestMapping(method= RequestMethod.POST , value="/ibizorderdetails/fetchcsmxdy")
@RequestMapping(method= RequestMethod.GET , value="/ibizorderdetails/fetchcsmxdy")
public ResponseEntity<List<IBIZOrderDetailDTO>> fetchCSMXDY(IBIZOrderDetailSearchContext context) {
Page<IBIZOrderDetail> domains = ibizorderdetailService.searchCSMXDY(context) ;
List<IBIZOrderDetailDTO> list = ibizorderdetailMapping.toDto(domains.getContent());
......@@ -291,7 +291,7 @@ public class IBIZOrderDetailResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZOrderDetail-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZOrderDetail-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"订单明细" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizorderdetails/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizorderdetails/fetchdefault")
public ResponseEntity<List<IBIZOrderDetailDTO>> fetchDefault(IBIZOrderDetailSearchContext context) {
Page<IBIZOrderDetail> domains = ibizorderdetailService.searchDefault(context) ;
List<IBIZOrderDetailDTO> list = ibizorderdetailMapping.toDto(domains.getContent());
......@@ -313,7 +313,7 @@ public class IBIZOrderDetailResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZOrderDetail-searchLOGIC_0007-all') and hasPermission(#context,'DemoSys-IBIZOrderDetail-Get')")
@ApiOperation(value = "获取查询订单明细中产品数量", tags = {"订单明细" } ,notes = "获取查询订单明细中产品数量")
@RequestMapping(method= RequestMethod.POST , value="/ibizorderdetails/fetchlogic_0007")
@RequestMapping(method= RequestMethod.GET , value="/ibizorderdetails/fetchlogic_0007")
public ResponseEntity<List<IBIZOrderDetailDTO>> fetchLOGIC_0007(IBIZOrderDetailSearchContext context) {
Page<IBIZOrderDetail> domains = ibizorderdetailService.searchLOGIC_0007(context) ;
List<IBIZOrderDetailDTO> list = ibizorderdetailMapping.toDto(domains.getContent());
......@@ -335,7 +335,7 @@ public class IBIZOrderDetailResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZOrderDetail-searchX-all') and hasPermission(#context,'DemoSys-IBIZOrderDetail-Get')")
@ApiOperation(value = "获取x", tags = {"订单明细" } ,notes = "获取x")
@RequestMapping(method= RequestMethod.POST , value="/ibizorderdetails/fetchx")
@RequestMapping(method= RequestMethod.GET , value="/ibizorderdetails/fetchx")
public ResponseEntity<List<IBIZOrderDetailDTO>> fetchX(IBIZOrderDetailSearchContext context) {
Page<IBIZOrderDetail> domains = ibizorderdetailService.searchX(context) ;
List<IBIZOrderDetailDTO> list = ibizorderdetailMapping.toDto(domains.getContent());
......
......@@ -149,7 +149,7 @@ public class IBIZOrderTypeResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZOrderType-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZOrderType-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"订单类型" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizordertypes/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizordertypes/fetchdefault")
public ResponseEntity<List<IBIZOrderTypeDTO>> fetchDefault(IBIZOrderTypeSearchContext context) {
Page<IBIZOrderType> domains = ibizordertypeService.searchDefault(context) ;
List<IBIZOrderTypeDTO> list = ibizordertypeMapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0001Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0001-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0001-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"示例实体01" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0001s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0001s/fetchdefault")
public ResponseEntity<List<IBIZSample0001DTO>> fetchDefault(IBIZSample0001SearchContext context) {
Page<IBIZSample0001> domains = ibizsample0001Service.searchDefault(context) ;
List<IBIZSample0001DTO> list = ibizsample0001Mapping.toDto(domains.getContent());
......@@ -268,12 +268,12 @@ public class IBIZSample0001Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0001-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0001-Get')")
@ApiOperation(value = "根据示例实体02获取DEFAULT", tags = {"示例实体01" } ,notes = "根据示例实体02获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0002s/{ibizsample0002_id}/ibizsample0001s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0002s/{ibizsample0002_id}/ibizsample0001s/fetchdefault")
public ResponseEntity<List<IBIZSample0001DTO>> fetchIBIZSample0001DefaultByIBIZSample0002(@PathVariable("ibizsample0002_id") String ibizsample0002_id,IBIZSample0001SearchContext context) {
context.setN_ibizsample0002id_eq(ibizsample0002_id);
Page<IBIZSample0001> domains = ibizsample0001Service.searchDefault(context) ;
List<IBIZSample0001DTO> list = ibizsample0001Mapping.toDto(domains.getContent());
return ResponseEntity.status(HttpStatus.CREATED)
return ResponseEntity.status(HttpStatus.OK)
.header("x-page", String.valueOf(context.getPageable().getPageNumber()))
.header("x-per-page", String.valueOf(context.getPageable().getPageSize()))
.header("x-total", String.valueOf(domains.getTotalElements()))
......@@ -286,7 +286,7 @@ public class IBIZSample0001Resource {
public ResponseEntity<Page<IBIZSample0001DTO>> searchIBIZSample0001DefaultByIBIZSample0002(@PathVariable("ibizsample0002_id") String ibizsample0002_id, @RequestBody IBIZSample0001SearchContext context) {
context.setN_ibizsample0002id_eq(ibizsample0002_id);
Page<IBIZSample0001> domains = ibizsample0001Service.searchDefault(context) ;
return ResponseEntity.status(HttpStatus.CREATED)
return ResponseEntity.status(HttpStatus.OK)
.body(new PageImpl(ibizsample0001Mapping.toDto(domains.getContent()), context.getPageable(), domains.getTotalElements()));
}
}
......
......@@ -138,7 +138,7 @@ public class IBIZSample0002Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0002-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0002-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"示例实体02" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0002s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0002s/fetchdefault")
public ResponseEntity<List<IBIZSample0002DTO>> fetchDefault(IBIZSample0002SearchContext context) {
Page<IBIZSample0002> domains = ibizsample0002Service.searchDefault(context) ;
List<IBIZSample0002DTO> list = ibizsample0002Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0003Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0003-searchCurData-all') and hasPermission(#context,'DemoSys-IBIZSample0003-Get')")
@ApiOperation(value = "获取当前数据", tags = {"示例实体03" } ,notes = "获取当前数据")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0003s/fetchcurdata")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0003s/fetchcurdata")
public ResponseEntity<List<IBIZSample0003DTO>> fetchCurData(IBIZSample0003SearchContext context) {
Page<IBIZSample0003> domains = ibizsample0003Service.searchCurData(context) ;
List<IBIZSample0003DTO> list = ibizsample0003Mapping.toDto(domains.getContent());
......@@ -160,7 +160,7 @@ public class IBIZSample0003Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0003-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0003-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"示例实体03" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0003s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0003s/fetchdefault")
public ResponseEntity<List<IBIZSample0003DTO>> fetchDefault(IBIZSample0003SearchContext context) {
Page<IBIZSample0003> domains = ibizsample0003Service.searchDefault(context) ;
List<IBIZSample0003DTO> list = ibizsample0003Mapping.toDto(domains.getContent());
......@@ -182,7 +182,7 @@ public class IBIZSample0003Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0003-searchTopData-all') and hasPermission(#context,'DemoSys-IBIZSample0003-Get')")
@ApiOperation(value = "获取顶级数据", tags = {"示例实体03" } ,notes = "获取顶级数据")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0003s/fetchtopdata")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0003s/fetchtopdata")
public ResponseEntity<List<IBIZSample0003DTO>> fetchTopData(IBIZSample0003SearchContext context) {
Page<IBIZSample0003> domains = ibizsample0003Service.searchTopData(context) ;
List<IBIZSample0003DTO> list = ibizsample0003Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0004Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0004-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0004-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"多版本流程" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0004s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0004s/fetchdefault")
public ResponseEntity<List<IBIZSample0004DTO>> fetchDefault(IBIZSample0004SearchContext context) {
Page<IBIZSample0004> domains = ibizsample0004Service.searchDefault(context) ;
List<IBIZSample0004DTO> list = ibizsample0004Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0005Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0005-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0005-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"多模式流程" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0005s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0005s/fetchdefault")
public ResponseEntity<List<IBIZSample0005DTO>> fetchDefault(IBIZSample0005SearchContext context) {
Page<IBIZSample0005> domains = ibizsample0005Service.searchDefault(context) ;
List<IBIZSample0005DTO> list = ibizsample0005Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0006Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0006-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0006-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"嵌套流程(主)" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0006s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0006s/fetchdefault")
public ResponseEntity<List<IBIZSample0006DTO>> fetchDefault(IBIZSample0006SearchContext context) {
Page<IBIZSample0006> domains = ibizsample0006Service.searchDefault(context) ;
List<IBIZSample0006DTO> list = ibizsample0006Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0007Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0007-searchCurGW-all') and hasPermission(#context,'DemoSys-IBIZSample0007-Get')")
@ApiOperation(value = "获取当前公文", tags = {"嵌套流程(子)" } ,notes = "获取当前公文")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0007s/fetchcurgw")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0007s/fetchcurgw")
public ResponseEntity<List<IBIZSample0007DTO>> fetchCurGW(IBIZSample0007SearchContext context) {
Page<IBIZSample0007> domains = ibizsample0007Service.searchCurGW(context) ;
List<IBIZSample0007DTO> list = ibizsample0007Mapping.toDto(domains.getContent());
......@@ -160,7 +160,7 @@ public class IBIZSample0007Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0007-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0007-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"嵌套流程(子)" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0007s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0007s/fetchdefault")
public ResponseEntity<List<IBIZSample0007DTO>> fetchDefault(IBIZSample0007SearchContext context) {
Page<IBIZSample0007> domains = ibizsample0007Service.searchDefault(context) ;
List<IBIZSample0007DTO> list = ibizsample0007Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0008Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0008-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0008-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"自循环流程" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0008s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0008s/fetchdefault")
public ResponseEntity<List<IBIZSample0008DTO>> fetchDefault(IBIZSample0008SearchContext context) {
Page<IBIZSample0008> domains = ibizsample0008Service.searchDefault(context) ;
List<IBIZSample0008DTO> list = ibizsample0008Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0009Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0009-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0009-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"商品价格明细" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0009s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0009s/fetchdefault")
public ResponseEntity<List<IBIZSample0009DTO>> fetchDefault(IBIZSample0009SearchContext context) {
Page<IBIZSample0009> domains = ibizsample0009Service.searchDefault(context) ;
List<IBIZSample0009DTO> list = ibizsample0009Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0010Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0010-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0010-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"订单" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0010s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0010s/fetchdefault")
public ResponseEntity<List<IBIZSample0010DTO>> fetchDefault(IBIZSample0010SearchContext context) {
Page<IBIZSample0010> domains = ibizsample0010Service.searchDefault(context) ;
List<IBIZSample0010DTO> list = ibizsample0010Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0011Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0011-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0011-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"订单明细" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0011s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0011s/fetchdefault")
public ResponseEntity<List<IBIZSample0011DTO>> fetchDefault(IBIZSample0011SearchContext context) {
Page<IBIZSample0011> domains = ibizsample0011Service.searchDefault(context) ;
List<IBIZSample0011DTO> list = ibizsample0011Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0012Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0012-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0012-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"订单" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0012s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0012s/fetchdefault")
public ResponseEntity<List<IBIZSample0012DTO>> fetchDefault(IBIZSample0012SearchContext context) {
Page<IBIZSample0012> domains = ibizsample0012Service.searchDefault(context) ;
List<IBIZSample0012DTO> list = ibizsample0012Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0013Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0013-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0013-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"订单明细" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0013s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0013s/fetchdefault")
public ResponseEntity<List<IBIZSample0013DTO>> fetchDefault(IBIZSample0013SearchContext context) {
Page<IBIZSample0013> domains = ibizsample0013Service.searchDefault(context) ;
List<IBIZSample0013DTO> list = ibizsample0013Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0014Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0014-searchCurIBIZSample0014-all') and hasPermission(#context,'DemoSys-IBIZSample0014-Get')")
@ApiOperation(value = "获取CurIBIZSample0014", tags = {"员工" } ,notes = "获取CurIBIZSample0014")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0014s/fetchcuribizsample0014")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0014s/fetchcuribizsample0014")
public ResponseEntity<List<IBIZSample0014DTO>> fetchCurIBIZSample0014(IBIZSample0014SearchContext context) {
Page<IBIZSample0014> domains = ibizsample0014Service.searchCurIBIZSample0014(context) ;
List<IBIZSample0014DTO> list = ibizsample0014Mapping.toDto(domains.getContent());
......@@ -160,7 +160,7 @@ public class IBIZSample0014Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0014-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0014-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"员工" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0014s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0014s/fetchdefault")
public ResponseEntity<List<IBIZSample0014DTO>> fetchDefault(IBIZSample0014SearchContext context) {
Page<IBIZSample0014> domains = ibizsample0014Service.searchDefault(context) ;
List<IBIZSample0014DTO> list = ibizsample0014Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0015Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0015-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0015-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"项目" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0015s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0015s/fetchdefault")
public ResponseEntity<List<IBIZSample0015DTO>> fetchDefault(IBIZSample0015SearchContext context) {
Page<IBIZSample0015> domains = ibizsample0015Service.searchDefault(context) ;
List<IBIZSample0015DTO> list = ibizsample0015Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0016Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0016-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0016-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"项目成员" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0016s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0016s/fetchdefault")
public ResponseEntity<List<IBIZSample0016DTO>> fetchDefault(IBIZSample0016SearchContext context) {
Page<IBIZSample0016> domains = ibizsample0016Service.searchDefault(context) ;
List<IBIZSample0016DTO> list = ibizsample0016Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0017Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0017-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0017-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"订单" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0017s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0017s/fetchdefault")
public ResponseEntity<List<IBIZSample0017DTO>> fetchDefault(IBIZSample0017SearchContext context) {
Page<IBIZSample0017> domains = ibizsample0017Service.searchDefault(context) ;
List<IBIZSample0017DTO> list = ibizsample0017Mapping.toDto(domains.getContent());
......@@ -160,7 +160,7 @@ public class IBIZSample0017Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0017-searchFormType-all') and hasPermission(#context,'DemoSys-IBIZSample0017-Get')")
@ApiOperation(value = "获取FormType", tags = {"订单" } ,notes = "获取FormType")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0017s/fetchformtype")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0017s/fetchformtype")
public ResponseEntity<List<IBIZSample0017DTO>> fetchFormType(IBIZSample0017SearchContext context) {
Page<IBIZSample0017> domains = ibizsample0017Service.searchFormType(context) ;
List<IBIZSample0017DTO> list = ibizsample0017Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0018Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0018-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0018-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"示例实体18" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0018s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0018s/fetchdefault")
public ResponseEntity<List<IBIZSample0018DTO>> fetchDefault(IBIZSample0018SearchContext context) {
Page<IBIZSample0018> domains = ibizsample0018Service.searchDefault(context) ;
List<IBIZSample0018DTO> list = ibizsample0018Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0019Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0019-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0019-Get')")
@ApiOperation(value = "获取默认", tags = {"部门" } ,notes = "获取默认")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0019s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0019s/fetchdefault")
public ResponseEntity<List<IBIZSample0019DTO>> fetchDefault(IBIZSample0019SearchContext context) {
Page<IBIZSample0019> domains = ibizsample0019Service.searchDefault(context) ;
List<IBIZSample0019DTO> list = ibizsample0019Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSample0020Resource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample0020-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample0020-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"员工" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsample0020s/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsample0020s/fetchdefault")
public ResponseEntity<List<IBIZSample0020DTO>> fetchDefault(IBIZSample0020SearchContext context) {
Page<IBIZSample0020> domains = ibizsample0020Service.searchDefault(context) ;
List<IBIZSample0020DTO> list = ibizsample0020Mapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSampleResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSample-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"示例数据库" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsamples/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsamples/fetchdefault")
public ResponseEntity<List<IBIZSampleDTO>> fetchDefault(IBIZSampleSearchContext context) {
Page<IBIZSample> domains = ibizsampleService.searchDefault(context) ;
List<IBIZSampleDTO> list = ibizsampleMapping.toDto(domains.getContent());
......@@ -160,7 +160,7 @@ public class IBIZSampleResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSample-searchFormType-all') and hasPermission(#context,'DemoSys-IBIZSample-Get')")
@ApiOperation(value = "获取FormType", tags = {"示例数据库" } ,notes = "获取FormType")
@RequestMapping(method= RequestMethod.POST , value="/ibizsamples/fetchformtype")
@RequestMapping(method= RequestMethod.GET , value="/ibizsamples/fetchformtype")
public ResponseEntity<List<IBIZSampleDTO>> fetchFormType(IBIZSampleSearchContext context) {
Page<IBIZSample> domains = ibizsampleService.searchFormType(context) ;
List<IBIZSampleDTO> list = ibizsampleMapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSoftwareSuitResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSoftwareSuit-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSoftwareSuit-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"软件" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsoftwaresuits/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsoftwaresuits/fetchdefault")
public ResponseEntity<List<IBIZSoftwareSuitDTO>> fetchDefault(IBIZSoftwareSuitSearchContext context) {
Page<IBIZSoftwareSuit> domains = ibizsoftwaresuitService.searchDefault(context) ;
List<IBIZSoftwareSuitDTO> list = ibizsoftwaresuitMapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZStorageResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZStorage-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZStorage-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"存储" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizstorages/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizstorages/fetchdefault")
public ResponseEntity<List<IBIZStorageDTO>> fetchDefault(IBIZStorageSearchContext context) {
Page<IBIZStorage> domains = ibizstorageService.searchDefault(context) ;
List<IBIZStorageDTO> list = ibizstorageMapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZSupplierResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZSupplier-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZSupplier-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"供货商" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizsuppliers/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizsuppliers/fetchdefault")
public ResponseEntity<List<IBIZSupplierDTO>> fetchDefault(IBIZSupplierSearchContext context) {
Page<IBIZSupplier> domains = ibizsupplierService.searchDefault(context) ;
List<IBIZSupplierDTO> list = ibizsupplierMapping.toDto(domains.getContent());
......
......@@ -138,7 +138,7 @@ public class IBIZUNIProductResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZUNIProduct-searchDefault-all') and hasPermission(#context,'DemoSys-IBIZUNIProduct-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"统一产品(索引主实体)" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibizuniproducts/fetchdefault")
@RequestMapping(method= RequestMethod.GET , value="/ibizuniproducts/fetchdefault")
public ResponseEntity<List<IBIZUNIProductDTO>> fetchDefault(IBIZUNIProductSearchContext context) {
Page<IBIZUNIProduct> domains = ibizuniproductService.searchDefault(context) ;
List<IBIZUNIProductDTO> list = ibizuniproductMapping.toDto(domains.getContent());
......@@ -160,7 +160,7 @@ public class IBIZUNIProductResource {
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','DemoSys-IBIZUNIProduct-searchIndexDER-all') and hasPermission(#context,'DemoSys-IBIZUNIProduct-Get')")
@ApiOperation(value = "获取IndexDER", tags = {"统一产品(索引主实体)" } ,notes = "获取IndexDER")
@RequestMapping(method= RequestMethod.POST , value="/ibizuniproducts/fetchindexder")
@RequestMapping(method= RequestMethod.GET , value="/ibizuniproducts/fetchindexder")
public ResponseEntity<List<IBIZUNIProductDTO>> fetchIndexDER(IBIZUNIProductSearchContext context) {
Page<IBIZUNIProduct> domains = ibizuniproductService.searchIndexDER(context) ;
List<IBIZUNIProductDTO> list = ibizuniproductMapping.toDto(domains.getContent());
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册