Commit 63fa80531a90b3ab7bbee8fcd0ab244031ba6d91

Authored by 房远帅
1 parent 8121dddf

采购内贸资信:变更评审资料

@@ -93,8 +93,8 @@ public class ProcurementDomesticCustomerCreditController extends DefaultBaseCont @@ -93,8 +93,8 @@ public class ProcurementDomesticCustomerCreditController extends DefaultBaseCont
93 * 变更评审资料 93 * 变更评审资料
94 */ 94 */
95 @ApiOperation("变更评审资料") 95 @ApiOperation("变更评审资料")
96 - @HasPermission({""})  
97 - @PutMapping 96 + @HasPermission({"procure-manage:domestic-trade:achange"})
  97 + @PostMapping("/changeReview")
98 public InvokeResult<Void> changeReview(@Valid @RequestBody UpdateProcurementDomesticCustomerCreditVo vo) { 98 public InvokeResult<Void> changeReview(@Valid @RequestBody UpdateProcurementDomesticCustomerCreditVo vo) {
99 99
100 procurementDomesticCustomerCreditService.changeReview(vo); 100 procurementDomesticCustomerCreditService.changeReview(vo);
@@ -121,7 +121,8 @@ public class ProcurementDomesticCustomerCreditController extends DefaultBaseCont @@ -121,7 +121,8 @@ public class ProcurementDomesticCustomerCreditController extends DefaultBaseCont
121 */ 121 */
122 @ApiOperation("根据ID查询变更审核的数据") 122 @ApiOperation("根据ID查询变更审核的数据")
123 @ApiImplicitParam(value = "id", name = "id", paramType = "query", required = true) 123 @ApiImplicitParam(value = "id", name = "id", paramType = "query", required = true)
124 - @HasPermission({"procure-manage:domestic-trade:approve", "procure-manage:domestic-trade:review"}) 124 + @HasPermission({"procure-manage:domestic-trade:approve", "procure-manage:domestic-trade:review"
  125 + , "procure-manage:domestic-trade:approvechange", "procure-manage:domestic-trade:reviewchange"})
125 @GetMapping("/getExamineById") 126 @GetMapping("/getExamineById")
126 public InvokeResult<ProcurementDomesticCustomerCredit> getExamineById(@NotBlank(message = "id不能为空!") String id) { 127 public InvokeResult<ProcurementDomesticCustomerCredit> getExamineById(@NotBlank(message = "id不能为空!") String id) {
127 128
@@ -39,6 +39,9 @@ public class QueryProcurementDomesticCustomerCreditVo extends PageVo implements @@ -39,6 +39,9 @@ public class QueryProcurementDomesticCustomerCreditVo extends PageVo implements
39 @ApiModelProperty("审核状态") 39 @ApiModelProperty("审核状态")
40 private String status; 40 private String status;
41 41
  42 + @ApiModelProperty("审核状态")
  43 + private String changeReviewStatus;
  44 +
42 @ApiModelProperty("是否冻结") 45 @ApiModelProperty("是否冻结")
43 private Boolean freeze; 46 private Boolean freeze;
44 47
@@ -251,6 +251,5 @@ public class UpdateProcurementDomesticCustomerCreditVo implements BaseVo, Serial @@ -251,6 +251,5 @@ public class UpdateProcurementDomesticCustomerCreditVo implements BaseVo, Serial
251 * 操作类型:修改(UPDATE)、变更(CHANGE) 251 * 操作类型:修改(UPDATE)、变更(CHANGE)
252 */ 252 */
253 @ApiModelProperty(value = "操作类型") 253 @ApiModelProperty(value = "操作类型")
254 - @NotNull(message = "操作类型不能为空!")  
255 private String type; 254 private String type;
256 } 255 }