提交 67fa0816 authored 作者: jiangwenye's avatar jiangwenye

结算单状态变更

上级 983f3b29
......@@ -61,6 +61,8 @@ public class CarrierPageSettlementDriverVO {
@MoneyOutConvert
@ApiModelProperty(value = "结算金额")
private BigDecimal settlementFreight;
@ApiModelProperty(value = "状态")
private Integer status;
@ApiModelProperty(value = "创建时间")
private String createTime;
@ApiModelProperty(value = "结算平台 1:马上来 2:网运平台")
......
......@@ -13,6 +13,7 @@ import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......@@ -30,7 +31,7 @@ public class CarrierSettlementDriverController {
@ApiOperation(value = "结算单列表(车主)",notes = "<br>By:刘海泉")
@PostMapping("/pageCarrierSettlementDriver")
@UnitCovert(param = false)
public Result<PageData<CarrierPageSettlementDriverVO>> pageCarrierSettlementDriver(PageCarrierSettlementDriverParam param) {
public Result<PageData<CarrierPageSettlementDriverVO>> pageCarrierSettlementDriver(@RequestBody @Validated PageCarrierSettlementDriverParam param) {
IPage<CarrierPageSettlementDriverVO> page = settlementDriverService.pageCarrierSettlementDriver(param);
return Result.page(page.getRecords(),page.getTotal(),page.getPages());
}
......
......@@ -98,6 +98,7 @@ public class OwnerSettlementOwnerController {
@ApiOperation(value = "货主端-结算单列表" ,notes = "<br>By:李瑞新")
@PostMapping("/pageSettlementOwner")
@UnitCovert(param = false)
public Result<PageData<OwnerPageSettlementOwnerVO>> pageSettlementOwner(@RequestBody @Validated PageOwnerSettlementParam param){
IPage<OwnerPageSettlementOwnerVO> page = settlementOwnerService.pageSettlementOwner(param);
return Result.page(page.getRecords(), page.getTotal(), page.getPages());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论