退租检修
This commit is contained in:
parent
c63ff56235
commit
6e8fd07a54
|
|
@ -12,6 +12,9 @@ import java.util.List;
|
|||
@Data
|
||||
public class LeasePriceRecord {
|
||||
|
||||
@ApiModelProperty(value = "订单id")
|
||||
private Integer orderId;
|
||||
|
||||
@ApiModelProperty(value = "租赁费用列表")
|
||||
private List<LeaseRepairRecord> rentPriceList;
|
||||
|
||||
|
|
|
|||
|
|
@ -275,6 +275,8 @@ public class LeaseRepairRecordServiceImpl implements LeaseRepairRecordService {
|
|||
result += mapper.updateChangePrice(lossRecord);
|
||||
}
|
||||
}
|
||||
String userName = SecurityUtils.getLoginUser().getUsername();
|
||||
result += orderMapper.updateOrderStatus(leasePriceRecord.getOrderId(), null, String.valueOf(OrderStatusEnum.ORDER_TERMINATED.getStatus()), userName);
|
||||
if (result > 0) {
|
||||
return AjaxResult.success(HttpCodeEnum.SUCCESS.getMsg());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue