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

zhouweidong 发布系统代码

上级 f2ad3726
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
}, },
"ibzorganizationpickupview": { "ibzorganizationpickupview": {
"title": "单位机构数据选择视图", "title": "单位机构数据选择视图",
"caption": "单位机构", "caption": "单位机构1",
"viewtype": "DEPICKUPVIEW", "viewtype": "DEPICKUPVIEW",
"viewmodule": "ou", "viewmodule": "ou",
"viewname": "IBZOrganizationPickupView", "viewname": "IBZOrganizationPickupView",
...@@ -217,7 +217,7 @@ ...@@ -217,7 +217,7 @@
}, },
"ibzorganizationpickupgridview": { "ibzorganizationpickupgridview": {
"title": "单位机构选择表格视图", "title": "单位机构选择表格视图",
"caption": "单位机构", "caption": "单位机构1",
"viewtype": "DEPICKUPGRIDVIEW", "viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ou", "viewmodule": "ou",
"viewname": "IBZOrganizationPickupGridView", "viewname": "IBZOrganizationPickupGridView",
......
import AuthService from '../auth-service'; import AuthService from '../auth-service';
/** /**
* 单位机构权限服务对象基类 * 单位机构1权限服务对象基类
* *
* @export * @export
* @class IBZOrganizationAuthServiceBase * @class IBZOrganizationAuthServiceBase
......
...@@ -2,7 +2,7 @@ import IBZOrganizationAuthServiceBase from './ibzorganization-auth-service-base' ...@@ -2,7 +2,7 @@ import IBZOrganizationAuthServiceBase from './ibzorganization-auth-service-base'
/** /**
* 单位机构权限服务对象 * 单位机构1权限服务对象
* *
* @export * @export
* @class IBZOrganizationAuthService * @class IBZOrganizationAuthService
......
...@@ -32,11 +32,11 @@ export default { ...@@ -32,11 +32,11 @@ export default {
title: "单位管理", title: "单位管理",
}, },
pickupview: { pickupview: {
caption: "单位机构", caption: "单位机构1",
title: "单位机构数据选择视图", title: "单位机构数据选择视图",
}, },
pickupgridview: { pickupgridview: {
caption: "单位机构", caption: "单位机构1",
title: "单位机构选择表格视图", title: "单位机构选择表格视图",
}, },
}, },
......
...@@ -31,11 +31,11 @@ export default { ...@@ -31,11 +31,11 @@ export default {
title: "单位管理", title: "单位管理",
}, },
pickupview: { pickupview: {
caption: "单位机构", caption: "单位机构1",
title: "单位机构数据选择视图", title: "单位机构数据选择视图",
}, },
pickupgridview: { pickupgridview: {
caption: "单位机构", caption: "单位机构1",
title: "单位机构选择表格视图", title: "单位机构选择表格视图",
}, },
}, },
......
...@@ -217,7 +217,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -217,7 +217,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
}, },
"ibzorganizationpickupview": { "ibzorganizationpickupview": {
"title": "单位机构数据选择视图", "title": "单位机构数据选择视图",
"caption": "单位机构", "caption": "单位机构1",
"viewtype": "DEPICKUPVIEW", "viewtype": "DEPICKUPVIEW",
"viewmodule": "ou", "viewmodule": "ou",
"viewname": "IBZOrganizationPickupView", "viewname": "IBZOrganizationPickupView",
...@@ -225,7 +225,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -225,7 +225,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
}, },
"ibzorganizationpickupgridview": { "ibzorganizationpickupgridview": {
"title": "单位机构选择表格视图", "title": "单位机构选择表格视图",
"caption": "单位机构", "caption": "单位机构1",
"viewtype": "DEPICKUPGRIDVIEW", "viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ou", "viewmodule": "ou",
"viewname": "IBZOrganizationPickupGridView", "viewname": "IBZOrganizationPickupGridView",
......
...@@ -4,7 +4,7 @@ import EntityService from '../entity-service'; ...@@ -4,7 +4,7 @@ import EntityService from '../entity-service';
/** /**
* 单位机构服务对象基类 * 单位机构1服务对象基类
* *
* @export * @export
* @class IBZOrganizationServiceBase * @class IBZOrganizationServiceBase
......
...@@ -3,7 +3,7 @@ import IBZOrganizationServiceBase from './ibzorganization-service-base'; ...@@ -3,7 +3,7 @@ import IBZOrganizationServiceBase from './ibzorganization-service-base';
/** /**
* 单位机构服务对象 * 单位机构1服务对象
* *
* @export * @export
* @class IBZOrganizationService * @class IBZOrganizationService
......
...@@ -6,7 +6,7 @@ import IBZOrganizationService from '@/service/ibzorganization/ibzorganization-se ...@@ -6,7 +6,7 @@ import IBZOrganizationService from '@/service/ibzorganization/ibzorganization-se
import IBZOrganizationAuthService from '@/authservice/ibzorganization/ibzorganization-auth-service'; import IBZOrganizationAuthService from '@/authservice/ibzorganization/ibzorganization-auth-service';
/** /**
* 单位机构UI服务对象基类 * 单位机构1UI服务对象基类
* *
* @export * @export
* @class IBZOrganizationUIServiceBase * @class IBZOrganizationUIServiceBase
......
import IBZOrganizationUIServiceBase from './ibzorganization-ui-service-base'; import IBZOrganizationUIServiceBase from './ibzorganization-ui-service-base';
/** /**
* 单位机构UI服务对象 * 单位机构1UI服务对象
* *
* @export * @export
* @class IBZOrganizationUIService * @class IBZOrganizationUIService
......
...@@ -13,7 +13,7 @@ import DefaultModel from './default-searchform-model'; ...@@ -13,7 +13,7 @@ import DefaultModel from './default-searchform-model';
export default class DefaultService extends ControlService { export default class DefaultService extends ControlService {
/** /**
* 单位机构服务对象 * 单位机构1服务对象
* *
* @type {IBZOrganizationService} * @type {IBZOrganizationService}
* @memberof DefaultService * @memberof DefaultService
......
...@@ -13,7 +13,7 @@ import MainModel from './main-form-model'; ...@@ -13,7 +13,7 @@ import MainModel from './main-form-model';
export default class MainService extends ControlService { export default class MainService extends ControlService {
/** /**
* 单位机构服务对象 * 单位机构1服务对象
* *
* @type {IBZOrganizationService} * @type {IBZOrganizationService}
* @memberof MainService * @memberof MainService
......
...@@ -13,7 +13,7 @@ import MainModel from './main-grid-model'; ...@@ -13,7 +13,7 @@ import MainModel from './main-grid-model';
export default class MainService extends ControlService { export default class MainService extends ControlService {
/** /**
* 单位机构服务对象 * 单位机构1服务对象
* *
* @type {IBZOrganizationService} * @type {IBZOrganizationService}
* @memberof MainService * @memberof MainService
......
...@@ -13,7 +13,7 @@ import NewFormModel from './new-form-form-model'; ...@@ -13,7 +13,7 @@ import NewFormModel from './new-form-form-model';
export default class NewFormService extends ControlService { export default class NewFormService extends ControlService {
/** /**
* 单位机构服务对象 * 单位机构1服务对象
* *
* @type {IBZOrganizationService} * @type {IBZOrganizationService}
* @memberof NewFormService * @memberof NewFormService
......
...@@ -15,7 +15,7 @@ import i18n from '@/locale'; ...@@ -15,7 +15,7 @@ import i18n from '@/locale';
export default class OrgTreeService extends ControlService { export default class OrgTreeService extends ControlService {
/** /**
* 单位机构服务对象 * 单位机构1服务对象
* *
* @type {IBZOrganizationService} * @type {IBZOrganizationService}
* @memberof OrgTreeService * @memberof OrgTreeService
......
...@@ -29,7 +29,7 @@ import com.baomidou.mybatisplus.annotation.*; ...@@ -29,7 +29,7 @@ import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.util.domain.EntityMP; import cn.ibizlab.util.domain.EntityMP;
/** /**
* 实体[单位机构] * 实体[单位机构1]
*/ */
@Getter @Getter
@Setter @Setter
......
...@@ -40,7 +40,7 @@ import com.alibaba.fastjson.JSONObject; ...@@ -40,7 +40,7 @@ import com.alibaba.fastjson.JSONObject;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
/** /**
* 实体[单位机构] 服务对象接口实现 * 实体[单位机构1] 服务对象接口实现
*/ */
@Slf4j @Slf4j
@Service("IBZOrganizationServiceImpl") @Service("IBZOrganizationServiceImpl")
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
} }
, { , {
"dename":"IBZOrganization", "dename":"IBZOrganization",
"delogicname":"单位机构", "delogicname":"单位机构1",
"sysmoudle":{"id":"OU","name":"ou"}, "sysmoudle":{"id":"OU","name":"ou"},
"dedataset":[{"id":"Default" , "name":"DEFAULT"}], "dedataset":[{"id":"Default" , "name":"DEFAULT"}],
"deaction":[{"id":"Create" , "name":"Create" , "type":"BUILTIN" },{"id":"Update" , "name":"Update" , "type":"BUILTIN" },{"id":"Remove" , "name":"Remove" , "type":"BUILTIN" },{"id":"Get" , "name":"Get" , "type":"BUILTIN" },{"id":"GetDraft" , "name":"GetDraft" , "type":"BUILTIN" },{"id":"CheckKey" , "name":"CheckKey" , "type":"BUILTIN" },{"id":"Save" , "name":"Save" , "type":"BUILTIN" }], "deaction":[{"id":"Create" , "name":"Create" , "type":"BUILTIN" },{"id":"Update" , "name":"Update" , "type":"BUILTIN" },{"id":"Remove" , "name":"Remove" , "type":"BUILTIN" },{"id":"Get" , "name":"Get" , "type":"BUILTIN" },{"id":"GetDraft" , "name":"GetDraft" , "type":"BUILTIN" },{"id":"CheckKey" , "name":"CheckKey" , "type":"BUILTIN" },{"id":"Save" , "name":"Save" , "type":"BUILTIN" }],
......
...@@ -34,7 +34,7 @@ import cn.ibizlab.core.ou.filter.IBZOrganizationSearchContext; ...@@ -34,7 +34,7 @@ import cn.ibizlab.core.ou.filter.IBZOrganizationSearchContext;
import cn.ibizlab.util.annotation.VersionCheck; import cn.ibizlab.util.annotation.VersionCheck;
@Slf4j @Slf4j
@Api(tags = {"单位机构" }) @Api(tags = {"单位机构1" })
@RestController("api-ibzorganization") @RestController("api-ibzorganization")
@RequestMapping("") @RequestMapping("")
public class IBZOrganizationResource { public class IBZOrganizationResource {
...@@ -47,7 +47,7 @@ public class IBZOrganizationResource { ...@@ -47,7 +47,7 @@ public class IBZOrganizationResource {
public IBZOrganizationMapping ibzorganizationMapping; public IBZOrganizationMapping ibzorganizationMapping;
@PreAuthorize("hasPermission(this.ibzorganizationMapping.toDomain(#ibzorganizationdto),'ibzou-IBZOrganization-Create')") @PreAuthorize("hasPermission(this.ibzorganizationMapping.toDomain(#ibzorganizationdto),'ibzou-IBZOrganization-Create')")
@ApiOperation(value = "新建单位机构", tags = {"单位机构" }, notes = "新建单位机构") @ApiOperation(value = "新建单位机构1", tags = {"单位机构1" }, notes = "新建单位机构1")
@RequestMapping(method = RequestMethod.POST, value = "/ibzorganizations") @RequestMapping(method = RequestMethod.POST, value = "/ibzorganizations")
public ResponseEntity<IBZOrganizationDTO> create(@RequestBody IBZOrganizationDTO ibzorganizationdto) { public ResponseEntity<IBZOrganizationDTO> create(@RequestBody IBZOrganizationDTO ibzorganizationdto) {
IBZOrganization domain = ibzorganizationMapping.toDomain(ibzorganizationdto); IBZOrganization domain = ibzorganizationMapping.toDomain(ibzorganizationdto);
...@@ -57,7 +57,7 @@ public class IBZOrganizationResource { ...@@ -57,7 +57,7 @@ public class IBZOrganizationResource {
} }
@PreAuthorize("hasPermission(this.ibzorganizationMapping.toDomain(#ibzorganizationdtos),'ibzou-IBZOrganization-Create')") @PreAuthorize("hasPermission(this.ibzorganizationMapping.toDomain(#ibzorganizationdtos),'ibzou-IBZOrganization-Create')")
@ApiOperation(value = "批量新建单位机构", tags = {"单位机构" }, notes = "批量新建单位机构") @ApiOperation(value = "批量新建单位机构1", tags = {"单位机构1" }, notes = "批量新建单位机构1")
@RequestMapping(method = RequestMethod.POST, value = "/ibzorganizations/batch") @RequestMapping(method = RequestMethod.POST, value = "/ibzorganizations/batch")
public ResponseEntity<Boolean> createBatch(@RequestBody List<IBZOrganizationDTO> ibzorganizationdtos) { public ResponseEntity<Boolean> createBatch(@RequestBody List<IBZOrganizationDTO> ibzorganizationdtos) {
ibzorganizationService.createBatch(ibzorganizationMapping.toDomain(ibzorganizationdtos)); ibzorganizationService.createBatch(ibzorganizationMapping.toDomain(ibzorganizationdtos));
...@@ -66,7 +66,7 @@ public class IBZOrganizationResource { ...@@ -66,7 +66,7 @@ public class IBZOrganizationResource {
@VersionCheck(entity = "ibzorganization" , versionfield = "updatedate") @VersionCheck(entity = "ibzorganization" , versionfield = "updatedate")
@PreAuthorize("hasPermission(this.ibzorganizationService.get(#ibzorganization_id),'ibzou-IBZOrganization-Update')") @PreAuthorize("hasPermission(this.ibzorganizationService.get(#ibzorganization_id),'ibzou-IBZOrganization-Update')")
@ApiOperation(value = "更新单位机构", tags = {"单位机构" }, notes = "更新单位机构") @ApiOperation(value = "更新单位机构1", tags = {"单位机构1" }, notes = "更新单位机构1")
@RequestMapping(method = RequestMethod.PUT, value = "/ibzorganizations/{ibzorganization_id}") @RequestMapping(method = RequestMethod.PUT, value = "/ibzorganizations/{ibzorganization_id}")
public ResponseEntity<IBZOrganizationDTO> update(@PathVariable("ibzorganization_id") String ibzorganization_id, @RequestBody IBZOrganizationDTO ibzorganizationdto) { public ResponseEntity<IBZOrganizationDTO> update(@PathVariable("ibzorganization_id") String ibzorganization_id, @RequestBody IBZOrganizationDTO ibzorganizationdto) {
IBZOrganization domain = ibzorganizationMapping.toDomain(ibzorganizationdto); IBZOrganization domain = ibzorganizationMapping.toDomain(ibzorganizationdto);
...@@ -77,7 +77,7 @@ public class IBZOrganizationResource { ...@@ -77,7 +77,7 @@ public class IBZOrganizationResource {
} }
@PreAuthorize("hasPermission(this.ibzorganizationService.getIbzorganizationByEntities(this.ibzorganizationMapping.toDomain(#ibzorganizationdtos)),'ibzou-IBZOrganization-Update')") @PreAuthorize("hasPermission(this.ibzorganizationService.getIbzorganizationByEntities(this.ibzorganizationMapping.toDomain(#ibzorganizationdtos)),'ibzou-IBZOrganization-Update')")
@ApiOperation(value = "批量更新单位机构", tags = {"单位机构" }, notes = "批量更新单位机构") @ApiOperation(value = "批量更新单位机构1", tags = {"单位机构1" }, notes = "批量更新单位机构1")
@RequestMapping(method = RequestMethod.PUT, value = "/ibzorganizations/batch") @RequestMapping(method = RequestMethod.PUT, value = "/ibzorganizations/batch")
public ResponseEntity<Boolean> updateBatch(@RequestBody List<IBZOrganizationDTO> ibzorganizationdtos) { public ResponseEntity<Boolean> updateBatch(@RequestBody List<IBZOrganizationDTO> ibzorganizationdtos) {
ibzorganizationService.updateBatch(ibzorganizationMapping.toDomain(ibzorganizationdtos)); ibzorganizationService.updateBatch(ibzorganizationMapping.toDomain(ibzorganizationdtos));
...@@ -85,14 +85,14 @@ public class IBZOrganizationResource { ...@@ -85,14 +85,14 @@ public class IBZOrganizationResource {
} }
@PreAuthorize("hasPermission(this.ibzorganizationService.get(#ibzorganization_id),'ibzou-IBZOrganization-Remove')") @PreAuthorize("hasPermission(this.ibzorganizationService.get(#ibzorganization_id),'ibzou-IBZOrganization-Remove')")
@ApiOperation(value = "删除单位机构", tags = {"单位机构" }, notes = "删除单位机构") @ApiOperation(value = "删除单位机构1", tags = {"单位机构1" }, notes = "删除单位机构1")
@RequestMapping(method = RequestMethod.DELETE, value = "/ibzorganizations/{ibzorganization_id}") @RequestMapping(method = RequestMethod.DELETE, value = "/ibzorganizations/{ibzorganization_id}")
public ResponseEntity<Boolean> remove(@PathVariable("ibzorganization_id") String ibzorganization_id) { public ResponseEntity<Boolean> remove(@PathVariable("ibzorganization_id") String ibzorganization_id) {
return ResponseEntity.status(HttpStatus.OK).body(ibzorganizationService.remove(ibzorganization_id)); return ResponseEntity.status(HttpStatus.OK).body(ibzorganizationService.remove(ibzorganization_id));
} }
@PreAuthorize("hasPermission(this.ibzorganizationService.getIbzorganizationByIds(#ids),'ibzou-IBZOrganization-Remove')") @PreAuthorize("hasPermission(this.ibzorganizationService.getIbzorganizationByIds(#ids),'ibzou-IBZOrganization-Remove')")
@ApiOperation(value = "批量删除单位机构", tags = {"单位机构" }, notes = "批量删除单位机构") @ApiOperation(value = "批量删除单位机构1", tags = {"单位机构1" }, notes = "批量删除单位机构1")
@RequestMapping(method = RequestMethod.DELETE, value = "/ibzorganizations/batch") @RequestMapping(method = RequestMethod.DELETE, value = "/ibzorganizations/batch")
public ResponseEntity<Boolean> removeBatch(@RequestBody List<String> ids) { public ResponseEntity<Boolean> removeBatch(@RequestBody List<String> ids) {
ibzorganizationService.removeBatch(ids); ibzorganizationService.removeBatch(ids);
...@@ -100,7 +100,7 @@ public class IBZOrganizationResource { ...@@ -100,7 +100,7 @@ public class IBZOrganizationResource {
} }
@PostAuthorize("hasPermission(this.ibzorganizationMapping.toDomain(returnObject.body),'ibzou-IBZOrganization-Get')") @PostAuthorize("hasPermission(this.ibzorganizationMapping.toDomain(returnObject.body),'ibzou-IBZOrganization-Get')")
@ApiOperation(value = "获取单位机构", tags = {"单位机构" }, notes = "获取单位机构") @ApiOperation(value = "获取单位机构1", tags = {"单位机构1" }, notes = "获取单位机构1")
@RequestMapping(method = RequestMethod.GET, value = "/ibzorganizations/{ibzorganization_id}") @RequestMapping(method = RequestMethod.GET, value = "/ibzorganizations/{ibzorganization_id}")
public ResponseEntity<IBZOrganizationDTO> get(@PathVariable("ibzorganization_id") String ibzorganization_id) { public ResponseEntity<IBZOrganizationDTO> get(@PathVariable("ibzorganization_id") String ibzorganization_id) {
IBZOrganization domain = ibzorganizationService.get(ibzorganization_id); IBZOrganization domain = ibzorganizationService.get(ibzorganization_id);
...@@ -108,27 +108,27 @@ public class IBZOrganizationResource { ...@@ -108,27 +108,27 @@ public class IBZOrganizationResource {
return ResponseEntity.status(HttpStatus.OK).body(dto); return ResponseEntity.status(HttpStatus.OK).body(dto);
} }
@ApiOperation(value = "获取单位机构草稿", tags = {"单位机构" }, notes = "获取单位机构草稿") @ApiOperation(value = "获取单位机构1草稿", tags = {"单位机构1" }, notes = "获取单位机构1草稿")
@RequestMapping(method = RequestMethod.GET, value = "/ibzorganizations/getdraft") @RequestMapping(method = RequestMethod.GET, value = "/ibzorganizations/getdraft")
public ResponseEntity<IBZOrganizationDTO> getDraft() { public ResponseEntity<IBZOrganizationDTO> getDraft() {
return ResponseEntity.status(HttpStatus.OK).body(ibzorganizationMapping.toDto(ibzorganizationService.getDraft(new IBZOrganization()))); return ResponseEntity.status(HttpStatus.OK).body(ibzorganizationMapping.toDto(ibzorganizationService.getDraft(new IBZOrganization())));
} }
@ApiOperation(value = "检查单位机构", tags = {"单位机构" }, notes = "检查单位机构") @ApiOperation(value = "检查单位机构1", tags = {"单位机构1" }, notes = "检查单位机构1")
@RequestMapping(method = RequestMethod.POST, value = "/ibzorganizations/checkkey") @RequestMapping(method = RequestMethod.POST, value = "/ibzorganizations/checkkey")
public ResponseEntity<Boolean> checkKey(@RequestBody IBZOrganizationDTO ibzorganizationdto) { public ResponseEntity<Boolean> checkKey(@RequestBody IBZOrganizationDTO ibzorganizationdto) {
return ResponseEntity.status(HttpStatus.OK).body(ibzorganizationService.checkKey(ibzorganizationMapping.toDomain(ibzorganizationdto))); return ResponseEntity.status(HttpStatus.OK).body(ibzorganizationService.checkKey(ibzorganizationMapping.toDomain(ibzorganizationdto)));
} }
@PreAuthorize("hasPermission(this.ibzorganizationMapping.toDomain(#ibzorganizationdto),'ibzou-IBZOrganization-Save')") @PreAuthorize("hasPermission(this.ibzorganizationMapping.toDomain(#ibzorganizationdto),'ibzou-IBZOrganization-Save')")
@ApiOperation(value = "保存单位机构", tags = {"单位机构" }, notes = "保存单位机构") @ApiOperation(value = "保存单位机构1", tags = {"单位机构1" }, notes = "保存单位机构1")
@RequestMapping(method = RequestMethod.POST, value = "/ibzorganizations/save") @RequestMapping(method = RequestMethod.POST, value = "/ibzorganizations/save")
public ResponseEntity<Boolean> save(@RequestBody IBZOrganizationDTO ibzorganizationdto) { public ResponseEntity<Boolean> save(@RequestBody IBZOrganizationDTO ibzorganizationdto) {
return ResponseEntity.status(HttpStatus.OK).body(ibzorganizationService.save(ibzorganizationMapping.toDomain(ibzorganizationdto))); return ResponseEntity.status(HttpStatus.OK).body(ibzorganizationService.save(ibzorganizationMapping.toDomain(ibzorganizationdto)));
} }
@PreAuthorize("hasPermission(this.ibzorganizationMapping.toDomain(#ibzorganizationdtos),'ibzou-IBZOrganization-Save')") @PreAuthorize("hasPermission(this.ibzorganizationMapping.toDomain(#ibzorganizationdtos),'ibzou-IBZOrganization-Save')")
@ApiOperation(value = "批量保存单位机构", tags = {"单位机构" }, notes = "批量保存单位机构") @ApiOperation(value = "批量保存单位机构1", tags = {"单位机构1" }, notes = "批量保存单位机构1")
@RequestMapping(method = RequestMethod.POST, value = "/ibzorganizations/savebatch") @RequestMapping(method = RequestMethod.POST, value = "/ibzorganizations/savebatch")
public ResponseEntity<Boolean> saveBatch(@RequestBody List<IBZOrganizationDTO> ibzorganizationdtos) { public ResponseEntity<Boolean> saveBatch(@RequestBody List<IBZOrganizationDTO> ibzorganizationdtos) {
ibzorganizationService.saveBatch(ibzorganizationMapping.toDomain(ibzorganizationdtos)); ibzorganizationService.saveBatch(ibzorganizationMapping.toDomain(ibzorganizationdtos));
...@@ -136,7 +136,7 @@ public class IBZOrganizationResource { ...@@ -136,7 +136,7 @@ public class IBZOrganizationResource {
} }
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzou-IBZOrganization-searchDefault-all') and hasPermission(#context,'ibzou-IBZOrganization-Get')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzou-IBZOrganization-searchDefault-all') and hasPermission(#context,'ibzou-IBZOrganization-Get')")
@ApiOperation(value = "获取DEFAULT", tags = {"单位机构" } ,notes = "获取DEFAULT") @ApiOperation(value = "获取DEFAULT", tags = {"单位机构1" } ,notes = "获取DEFAULT")
@RequestMapping(method= RequestMethod.GET , value="/ibzorganizations/fetchdefault") @RequestMapping(method= RequestMethod.GET , value="/ibzorganizations/fetchdefault")
public ResponseEntity<List<IBZOrganizationDTO>> fetchDefault(IBZOrganizationSearchContext context) { public ResponseEntity<List<IBZOrganizationDTO>> fetchDefault(IBZOrganizationSearchContext context) {
Page<IBZOrganization> domains = ibzorganizationService.searchDefault(context) ; Page<IBZOrganization> domains = ibzorganizationService.searchDefault(context) ;
...@@ -149,7 +149,7 @@ public class IBZOrganizationResource { ...@@ -149,7 +149,7 @@ public class IBZOrganizationResource {
} }
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzou-IBZOrganization-searchDefault-all') and hasPermission(#context,'ibzou-IBZOrganization-Get')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzou-IBZOrganization-searchDefault-all') and hasPermission(#context,'ibzou-IBZOrganization-Get')")
@ApiOperation(value = "查询DEFAULT", tags = {"单位机构" } ,notes = "查询DEFAULT") @ApiOperation(value = "查询DEFAULT", tags = {"单位机构1" } ,notes = "查询DEFAULT")
@RequestMapping(method= RequestMethod.POST , value="/ibzorganizations/searchdefault") @RequestMapping(method= RequestMethod.POST , value="/ibzorganizations/searchdefault")
public ResponseEntity<Page<IBZOrganizationDTO>> searchDefault(@RequestBody IBZOrganizationSearchContext context) { public ResponseEntity<Page<IBZOrganizationDTO>> searchDefault(@RequestBody IBZOrganizationSearchContext context) {
Page<IBZOrganization> domains = ibzorganizationService.searchDefault(context) ; Page<IBZOrganization> domains = ibzorganizationService.searchDefault(context) ;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册