联系人和税码去掉权限
This commit is contained in:
@@ -83,14 +83,14 @@ public class TmplInscBsnRelController implements BusinessControllerMarker {
|
||||
@GetMapping("/get")
|
||||
@Operation(summary = "获得模板实例与业务中间")
|
||||
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|
||||
@PreAuthorize("@ss.hasPermission('base:tmpl-insc-bsn-rel:query')")
|
||||
//@PreAuthorize("@ss.hasPermission('base:tmpl-insc-bsn-rel:query')")
|
||||
public CommonResult<TmplInscBsnRelRespVO> getTmplInscBsnRel(@RequestParam("id") Long id) {
|
||||
return success(tmplInscBsnRelService.getTmplInscBsnRel(id));
|
||||
}
|
||||
|
||||
@GetMapping("/page")
|
||||
@Operation(summary = "获得模板实例与业务中间分页")
|
||||
@PreAuthorize("@ss.hasPermission('base:tmpl-insc-bsn-rel:query')")
|
||||
//@PreAuthorize("@ss.hasPermission('base:tmpl-insc-bsn-rel:query')")
|
||||
public CommonResult<PageResult<TmplInscBsnRelRespVO>> getTmplInscBsnRelPage(@Valid TmplInscBsnRelPageReqVO pageReqVO) {
|
||||
PageResult<TmplInscBsnRelDO> pageResult = tmplInscBsnRelService.getTmplInscBsnRelPage(pageReqVO);
|
||||
PageResult<TmplInscBsnRelRespVO> tmplInscBsnRelRespVOPageResult = BeanUtils.toBean(pageResult, TmplInscBsnRelRespVO.class);
|
||||
@@ -104,7 +104,7 @@ public class TmplInscBsnRelController implements BusinessControllerMarker {
|
||||
|
||||
@GetMapping("/export-excel")
|
||||
@Operation(summary = "导出模板实例与业务中间 Excel")
|
||||
@PreAuthorize("@ss.hasPermission('base:tmpl-insc-bsn-rel:export')")
|
||||
//@PreAuthorize("@ss.hasPermission('base:tmpl-insc-bsn-rel:export')")
|
||||
@ApiAccessLog(operateType = EXPORT)
|
||||
public void exportTmplInscBsnRelExcel(@Valid TmplInscBsnRelPageReqVO pageReqVO,
|
||||
HttpServletResponse response) throws IOException {
|
||||
@@ -118,21 +118,21 @@ public class TmplInscBsnRelController implements BusinessControllerMarker {
|
||||
|
||||
@GetMapping("/value-info")
|
||||
@Operation(summary = "根据合Id和实例Id获取字段和条款")
|
||||
@PreAuthorize("@ss.hasPermission('base:tmpl-insc-bsn-rel:query')")
|
||||
//@PreAuthorize("@ss.hasPermission('base:tmpl-insc-bsn-rel:query')")
|
||||
public CommonResult<Map<String, Object>> valueInfo(@RequestParam("cttId") @Valid @NotEmpty(message = "合同Id不能为空") String cttId, @RequestParam("inscId") @Valid @NotEmpty(message = "模版实例id不能为空") String inscId) {
|
||||
return success(tmplInscBsnRelService.valueInfo(cttId, inscId));
|
||||
}
|
||||
|
||||
@GetMapping("/bsn-info")
|
||||
@Operation(summary = "根据合同id和实例id获取中间表")
|
||||
@PreAuthorize("@ss.hasPermission('base:tmpl-insc-bsn-rel:query')")
|
||||
//@PreAuthorize("@ss.hasPermission('base:tmpl-insc-bsn-rel:query')")
|
||||
public CommonResult<TmplInscBsnRelRespVO> bseInfo(@RequestParam("cttId") @Valid @NotEmpty(message = "合同Id不能为空") String cttId, @RequestParam("inscId") @Valid @NotEmpty(message = "模版实例id不能为空") String inscId) {
|
||||
return success(tmplInscBsnRelService.bseInfo(cttId, inscId));
|
||||
}
|
||||
|
||||
@GetMapping("/bsn-info-id")
|
||||
@Operation(summary = "根据中间表id获取对应字段和条款")
|
||||
@PreAuthorize("@ss.hasPermission('base:tmpl-insc-bsn-rel:query')")
|
||||
//@PreAuthorize("@ss.hasPermission('base:tmpl-insc-bsn-rel:query')")
|
||||
public CommonResult<Map<String, Object> > bseInfoById(String id) {
|
||||
return success(tmplInscBsnRelService.bseInfoById(id));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user