feat:discountAmount
This commit is contained in:
@@ -55,6 +55,8 @@ import static com.cool.store.utils.CommonUtil.convertToBig;
|
||||
@Slf4j
|
||||
public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResultService {
|
||||
|
||||
private static final BigDecimal STANDARD_TOTAL_AMOUNT = new BigDecimal("63200");
|
||||
|
||||
@Resource
|
||||
private BigRegionDAO bigRegionDAO;
|
||||
@Resource
|
||||
@@ -736,6 +738,8 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
|
||||
.add(convertToBig(franchiseFeeDO.getPerformanceBond()))
|
||||
.add(convertToBig(franchiseFeeDO.getCashierFee()));
|
||||
addSignFranchiseResponse.setContractAmount(total.toString());
|
||||
BigDecimal discountAmount = STANDARD_TOTAL_AMOUNT.subtract(total);
|
||||
addSignFranchiseResponse.setDiscountAmount(discountAmount.toString());
|
||||
}
|
||||
addSignFranchiseResponse.setMobile(lineInfoDO.getMobile());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user