Commit aaa16712 by 章家宝

修复获取值bug

1 parent 82fea870
...@@ -78,7 +78,7 @@ public class PerformanceConfigController { ...@@ -78,7 +78,7 @@ public class PerformanceConfigController {
@ApiOperation("提成方案详情(门店数据调整获取详情)") @ApiOperation("提成方案详情(门店数据调整获取详情)")
@ServiceMethod(method = "dj.staff.api.performance.config.merchant.detail", needInSession = NeedInSessionType.YES) @ServiceMethod(method = "dj.staff.api.performance.config.merchant.detail", needInSession = NeedInSessionType.YES)
@PostMapping("/dj.staff.api.performance.config.merchant.detail/1.0.0") @PostMapping("/dj.staff.api.performance.config.merchant.detail/1.0.0")
public RopResponse<PerformanceConfigDetailDTO> performanceConfigDetailWithMerchant(CommonIntegerIdRequest request) { public RopResponse<PerformanceConfigDetailDTO> performanceConfigDetailWithMerchant(PerformanceConfigDetailWithMerchantRequest request) {
PerformanceConfigDTO dto = CommonUtil.convertRequest(PerformanceConfigDTO.class); PerformanceConfigDTO dto = CommonUtil.convertRequest(PerformanceConfigDTO.class);
RpcResponse<PerformanceConfigDetailDTO> response = performanceConfigRemote.performanceConfigDetailWithMerchant(dto); RpcResponse<PerformanceConfigDetailDTO> response = performanceConfigRemote.performanceConfigDetailWithMerchant(dto);
return RopResponse.success(response.getResult()); return RopResponse.success(response.getResult());
......
...@@ -7,6 +7,8 @@ import lombok.Data; ...@@ -7,6 +7,8 @@ import lombok.Data;
@Data @Data
public class PerformanceConfigDetailWithMerchantRequest extends AbstractRopRequest { public class PerformanceConfigDetailWithMerchantRequest extends AbstractRopRequest {
@ApiModelProperty(notes = "id") @ApiModelProperty(notes = "merchantId")
private Integer merchantId; private Integer merchantId;
@ApiModelProperty(notes = "id")
private Integer id;
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!