update
This commit is contained in:
-6
@@ -18,7 +18,6 @@ import io.swagger.annotations.ApiOperation;
|
|||||||
import io.swagger.annotations.ApiParam;
|
import io.swagger.annotations.ApiParam;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.shiro.authz.annotation.Logical;
|
import org.apache.shiro.authz.annotation.Logical;
|
||||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -88,7 +87,6 @@ public class SarFileCompareItemCommentController extends JeroController<SarFileC
|
|||||||
* @param sarFileCompareItemComment
|
* @param sarFileCompareItemComment
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions(value = {"docComparison:dataComparison:consistentAssessment", "docComparison:dataComparison:save"}, logical = Logical.OR)
|
|
||||||
@AutoLog(value = "新旧拆分单对比条款评论表-添加")
|
@AutoLog(value = "新旧拆分单对比条款评论表-添加")
|
||||||
@ApiOperation(value = "新旧拆分单对比条款评论表-添加", notes = "新旧拆分单对比条款评论表-添加")
|
@ApiOperation(value = "新旧拆分单对比条款评论表-添加", notes = "新旧拆分单对比条款评论表-添加")
|
||||||
@PostMapping(value = "/add")
|
@PostMapping(value = "/add")
|
||||||
@@ -116,7 +114,6 @@ public class SarFileCompareItemCommentController extends JeroController<SarFileC
|
|||||||
* @param sarFileCompareItemComment
|
* @param sarFileCompareItemComment
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("docComparison:result:edit")
|
|
||||||
@AutoLog(value = "新旧拆分单对比条款评论表-编辑")
|
@AutoLog(value = "新旧拆分单对比条款评论表-编辑")
|
||||||
@ApiOperation(value = "新旧拆分单对比条款评论表-编辑", notes = "新旧拆分单对比条款评论表-编辑")
|
@ApiOperation(value = "新旧拆分单对比条款评论表-编辑", notes = "新旧拆分单对比条款评论表-编辑")
|
||||||
@PostMapping(value = "/edit")
|
@PostMapping(value = "/edit")
|
||||||
@@ -128,7 +125,6 @@ public class SarFileCompareItemCommentController extends JeroController<SarFileC
|
|||||||
/**
|
/**
|
||||||
* 通过id删除
|
* 通过id删除
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("docComparison:result:delete")
|
|
||||||
@AutoLog(value = "新旧拆分单对比条款评论表-通过id删除")
|
@AutoLog(value = "新旧拆分单对比条款评论表-通过id删除")
|
||||||
@ApiOperation(value = "新旧拆分单对比条款评论表-通过id删除", notes = "新旧拆分单对比条款评论表-通过id删除")
|
@ApiOperation(value = "新旧拆分单对比条款评论表-通过id删除", notes = "新旧拆分单对比条款评论表-通过id删除")
|
||||||
@PostMapping(value = "/delete")
|
@PostMapping(value = "/delete")
|
||||||
@@ -178,7 +174,6 @@ public class SarFileCompareItemCommentController extends JeroController<SarFileC
|
|||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("documentComparison:comparisonResults")
|
|
||||||
@AutoLog(value = "新旧拆分单对比条款评论表-查询对比结果")
|
@AutoLog(value = "新旧拆分单对比条款评论表-查询对比结果")
|
||||||
@ApiOperation(value = "新旧拆分单对比条款评论表-查询对比结果", notes = "新旧拆分单对比条款评论表-查询对比结果")
|
@ApiOperation(value = "新旧拆分单对比条款评论表-查询对比结果", notes = "新旧拆分单对比条款评论表-查询对比结果")
|
||||||
@GetMapping(value = "/queryCompareResult")
|
@GetMapping(value = "/queryCompareResult")
|
||||||
@@ -188,7 +183,6 @@ public class SarFileCompareItemCommentController extends JeroController<SarFileC
|
|||||||
return Result.OK(res);
|
return Result.OK(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequiresPermissions("docComparison:result:exportComparisonReport")
|
|
||||||
@AutoLog(value = "新旧拆分单对比条款评论表-导出结果")
|
@AutoLog(value = "新旧拆分单对比条款评论表-导出结果")
|
||||||
@ApiOperation(value = "新旧拆分单对比条款评论表-导出结果", notes = "新旧拆分单对比条款评论表-导出结果")
|
@ApiOperation(value = "新旧拆分单对比条款评论表-导出结果", notes = "新旧拆分单对比条款评论表-导出结果")
|
||||||
@GetMapping(value = "/exportResXls")
|
@GetMapping(value = "/exportResXls")
|
||||||
|
|||||||
-2
@@ -13,7 +13,6 @@ import io.swagger.annotations.Api;
|
|||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import io.swagger.annotations.ApiParam;
|
import io.swagger.annotations.ApiParam;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -176,7 +175,6 @@ public class SarFileCompareItemController extends JeroController<SarFileCompareI
|
|||||||
@AutoLog(value = "新旧拆分单对比条款表-条款对比高亮")
|
@AutoLog(value = "新旧拆分单对比条款表-条款对比高亮")
|
||||||
@ApiOperation(value="新旧拆分单对比条款表-条款对比高亮", notes="新旧拆分单对比条款表-条款对比高亮")
|
@ApiOperation(value="新旧拆分单对比条款表-条款对比高亮", notes="新旧拆分单对比条款表-条款对比高亮")
|
||||||
@GetMapping(value = "/clauseComparison")
|
@GetMapping(value = "/clauseComparison")
|
||||||
@RequiresPermissions("documentComparison:edit")
|
|
||||||
public Result<?> clauseComparison(@ApiParam("左侧id") @RequestParam(name="leftId",required=true) String leftId,
|
public Result<?> clauseComparison(@ApiParam("左侧id") @RequestParam(name="leftId",required=true) String leftId,
|
||||||
@ApiParam("右侧id") @RequestParam(name="rightId",required=true) String rightId) {
|
@ApiParam("右侧id") @RequestParam(name="rightId",required=true) String rightId) {
|
||||||
List<String> res = sarFileCompareItemService.clauseComparison(leftId,rightId);
|
List<String> res = sarFileCompareItemService.clauseComparison(leftId,rightId);
|
||||||
|
|||||||
-3
@@ -14,7 +14,6 @@ import io.swagger.annotations.Api;
|
|||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import io.swagger.annotations.ApiParam;
|
import io.swagger.annotations.ApiParam;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@@ -84,7 +83,6 @@ public class SarFileCompareResCommentController extends JeroController<SarFileCo
|
|||||||
@AutoLog(value = "新旧拆分单对比结果评论表-添加")
|
@AutoLog(value = "新旧拆分单对比结果评论表-添加")
|
||||||
@ApiOperation(value = "新旧拆分单对比结果评论表-添加", notes = "新旧拆分单对比结果评论表-添加")
|
@ApiOperation(value = "新旧拆分单对比结果评论表-添加", notes = "新旧拆分单对比结果评论表-添加")
|
||||||
@PostMapping(value = "/add")
|
@PostMapping(value = "/add")
|
||||||
@RequiresPermissions("docComparison:result:comment")
|
|
||||||
public Result<?> add(@Validated @RequestBody SarFileCompareResComment sarFileCompareResComment) {
|
public Result<?> add(@Validated @RequestBody SarFileCompareResComment sarFileCompareResComment) {
|
||||||
sarFileCompareResCommentService.add(sarFileCompareResComment);
|
sarFileCompareResCommentService.add(sarFileCompareResComment);
|
||||||
return Result.OK("添加成功!");
|
return Result.OK("添加成功!");
|
||||||
@@ -177,7 +175,6 @@ public class SarFileCompareResCommentController extends JeroController<SarFileCo
|
|||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("docComparison:result:comment")
|
|
||||||
@AutoLog(value = "新旧拆分单对比结果评论表-根据infoId查询列表")
|
@AutoLog(value = "新旧拆分单对比结果评论表-根据infoId查询列表")
|
||||||
@ApiOperation(value = "新旧拆分单对比结果评论表-根据infoId查询列表", notes = "新旧拆分单对比结果评论表-根据infoId查询列表")
|
@ApiOperation(value = "新旧拆分单对比结果评论表-根据infoId查询列表", notes = "新旧拆分单对比结果评论表-根据infoId查询列表")
|
||||||
@GetMapping(value = "/queryListByInfoId")
|
@GetMapping(value = "/queryListByInfoId")
|
||||||
|
|||||||
Reference in New Issue
Block a user