|
@@ -434,12 +434,12 @@ public class StoreApplyModel {
|
|
|
if (isPass) {
|
|
|
newState = StoreConst.STATE_2_DONE_APPLY;
|
|
|
//生成支付单号,计算支付金额
|
|
|
- storeApply.setPaySn(GoodsIdGenerator.getPaySn());
|
|
|
- //根据gradeId查询收费标准
|
|
|
- StoreGrade storeGrade = storeGradeReadMapper.getByPrimaryKey(storeApply.getStoreGradeId());
|
|
|
- storeApply.setPayAmount(new BigDecimal(storeGrade.getPrice()).multiply(new BigDecimal(storeApply.getApplyYear())));
|
|
|
- storeApply.setPaymentCode(OrderPaymentConst.PAYMENT_CODE_ONLINE);
|
|
|
- storeApply.setPaymentName(OrderPaymentConst.PAYMENT_NAME_ONLINE);
|
|
|
+// storeApply.setPaySn(GoodsIdGenerator.getPaySn());
|
|
|
+// //根据gradeId查询收费标准
|
|
|
+// StoreGrade storeGrade = storeGradeReadMapper.getByPrimaryKey(storeApply.getStoreGradeId());
|
|
|
+// storeApply.setPayAmount(new BigDecimal(storeGrade.getPrice()).multiply(new BigDecimal(storeApply.getApplyYear())));
|
|
|
+// storeApply.setPaymentCode(OrderPaymentConst.PAYMENT_CODE_ONLINE);
|
|
|
+// storeApply.setPaymentName(OrderPaymentConst.PAYMENT_NAME_ONLINE);
|
|
|
} else {
|
|
|
newState = StoreConst.STATE_3_FAIL_APPLY;
|
|
|
}
|
|
@@ -608,13 +608,13 @@ public class StoreApplyModel {
|
|
|
int newState;
|
|
|
if (isPass) {
|
|
|
newState = StoreConst.STATE_2_DONE_APPLY;
|
|
|
- //生成支付单号,计算支付金额
|
|
|
- storeApply.setPaySn(GoodsIdGenerator.getPaySn());
|
|
|
- //根据gradeId查询收费标准
|
|
|
- StoreGrade storeGrade = storeGradeReadMapper.getByPrimaryKey(storeApply.getStoreGradeId());
|
|
|
- storeApply.setPayAmount(new BigDecimal(storeGrade.getPrice()).multiply(new BigDecimal(storeApply.getApplyYear())));
|
|
|
- storeApply.setPaymentCode(OrderPaymentConst.PAYMENT_CODE_ONLINE);
|
|
|
- storeApply.setPaymentName(OrderPaymentConst.PAYMENT_NAME_ONLINE);
|
|
|
+// //生成支付单号,计算支付金额
|
|
|
+// storeApply.setPaySn(GoodsIdGenerator.getPaySn());
|
|
|
+// //根据gradeId查询收费标准
|
|
|
+// StoreGrade storeGrade = storeGradeReadMapper.getByPrimaryKey(storeApply.getStoreGradeId());
|
|
|
+// storeApply.setPayAmount(new BigDecimal(storeGrade.getPrice()).multiply(new BigDecimal(storeApply.getApplyYear())));
|
|
|
+// storeApply.setPaymentCode(OrderPaymentConst.PAYMENT_CODE_ONLINE);
|
|
|
+// storeApply.setPaymentName(OrderPaymentConst.PAYMENT_NAME_ONLINE);
|
|
|
} else {
|
|
|
newState = StoreConst.STATE_3_FAIL_APPLY;
|
|
|
}
|