Commit 27bb0b70 authored by 332784038@qq.com's avatar 332784038@qq.com

参数类型修改

parent 2d75e14f
......@@ -54,7 +54,7 @@ public interface BatchOrderFeeApplyService extends IService<BatchOrderFeeApplyDO
*/
List<BatchOrderFeeApplyDO> getBatchOrderFeeApplyList(BatchOrderFeeApplyQueryVO query);
BatchOrderFeeApplyBackVO getInfoByFormId(Long formId);
BatchOrderFeeApplyBackVO getInfoByFormId(String formId);
List<OrderBackInfoDto> getOrderListByIds(List<Long> orderIds);
......
......@@ -181,7 +181,7 @@ public class BatchOrderFeeApplyServiceImpl extends AbstractService<BatchOrderFee
}
@Override
public BatchOrderFeeApplyBackVO getInfoByFormId(Long formId) {
public BatchOrderFeeApplyBackVO getInfoByFormId(String formId) {
BatchOrderFeeApplyDO batchOrderFeeApply = batchOrderFeeApplyMapper.selectOne(new LambdaQueryWrapper<BatchOrderFeeApplyDO>()
.eq(BatchOrderFeeApplyDO::getFormId, formId).orderByDesc(BatchOrderFeeApplyDO::getId).last("limit 1"));
if (Objects.isNull(batchOrderFeeApply)) {
......
......@@ -61,9 +61,9 @@ public class BatchOrderFeeApplyController {
@GetMapping("/getInfoByFormId")
@ApiOperation("根据流程实例id获得批量订单费用申请详情")
@ApiImplicitParam(name = "formId", value = "编号", required = true, example = "1024", dataTypeClass = Long.class)
@ApiImplicitParam(name = "formId", value = "编号", required = true, example = "1024", dataTypeClass = String.class)
@PreAuthorize("@ss.hasPermission('ecw:batch-order-fee-apply:query')")
public CommonResult<BatchOrderFeeApplyBackVO> getInfoByFormId(@RequestParam("formId") Long formId) {
public CommonResult<BatchOrderFeeApplyBackVO> getInfoByFormId(@RequestParam("formId") String formId) {
return success(batchOrderFeeApplyService.getInfoByFormId(formId));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment