Commit 0bba9e16 by 章家宝

feat: 固定佣金开关描述

1 parent d5916c6a
......@@ -253,7 +253,7 @@ public class VehicleBean {
this.vehicleState = vehicle.getVehicleState();
this.startingBidPrice = vehicle.getStartingBidPrice();
this.reservePrice = vehicle.getReservePrice();
this.fixedCommissionSwitch = vehicle.getFixedCommissionSwitch() == null || vehicle.getFixedCommissionSwitch() == 0 ? "否" : "是";
this.fixedCommissionSwitch = vehicle.getFixedCommissionSwitch() == null || vehicle.getFixedCommissionSwitch() == 0 ? "关" : "开";
this.fixedCommission = vehicle.getFixedCommission() == null ? 0 : vehicle.getFixedCommission();
......
......@@ -73,7 +73,7 @@ public class AppraiseService extends AbstractAuctionService {
NoticeField.RESERVE_PRICE, save.getReservePrice(),
NoticeField.STARTING_BID_PRICE, save.getStartingBidPrice(),
NoticeField.REFERENCE_PRICE, save.getReferencePrice(),
NoticeField.FIXED_COMMISSION_SWITCH, save.getFixedCommissionSwitch() == 1 ? "是" : "否",
NoticeField.FIXED_COMMISSION_SWITCH, save.getFixedCommissionSwitch() == 1 ? "开" : "关",
NoticeField.FIXED_COMMISSION, fixedCommission == null ? "无" : fixedCommission
));
return save;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!