mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-23 16:49:49 +08:00
显示vip价格
This commit is contained in:
@@ -64,7 +64,7 @@ import com.jsowell.pile.transaction.service.TransactionService;
|
|||||||
import com.jsowell.pile.util.SnUtils;
|
import com.jsowell.pile.util.SnUtils;
|
||||||
import com.jsowell.pile.vo.base.MemberWalletVO;
|
import com.jsowell.pile.vo.base.MemberWalletVO;
|
||||||
import com.jsowell.pile.vo.base.PileInfoVO;
|
import com.jsowell.pile.vo.base.PileInfoVO;
|
||||||
import com.jsowell.pile.vo.uniapp.BillingPriceVO;
|
import com.jsowell.pile.vo.uniapp.CurrentTimePriceDetails;
|
||||||
import com.jsowell.pile.vo.uniapp.MemberVO;
|
import com.jsowell.pile.vo.uniapp.MemberVO;
|
||||||
import com.jsowell.pile.vo.uniapp.PileConnectorDetailVO;
|
import com.jsowell.pile.vo.uniapp.PileConnectorDetailVO;
|
||||||
import com.jsowell.pile.vo.web.*;
|
import com.jsowell.pile.vo.web.*;
|
||||||
@@ -253,11 +253,14 @@ public class SpringBootTestController {
|
|||||||
@Test
|
@Test
|
||||||
public void queryBillingPriceTest() {
|
public void queryBillingPriceTest() {
|
||||||
String stationId = "19";
|
String stationId = "19";
|
||||||
List<BillingPriceVO> billingPriceVOS = pileBillingTemplateService.queryBillingPriceOld(stationId);
|
// List<BillingPriceVO> billingPriceVOS = pileBillingTemplateService.queryBillingPriceOld(stationId);
|
||||||
System.out.println("老版:" + JSON.toJSONString(billingPriceVOS));
|
// System.out.println("老版:" + JSON.toJSONString(billingPriceVOS));
|
||||||
|
//
|
||||||
|
// List<BillingPriceVO> billingPriceVOS1 = pileBillingTemplateService.queryBillingPrice(stationId);
|
||||||
|
// System.out.println("新版:" + JSON.toJSONString(billingPriceVOS1));
|
||||||
|
|
||||||
List<BillingPriceVO> billingPriceVOS1 = pileBillingTemplateService.queryBillingPrice(stationId);
|
CurrentTimePriceDetails currentTimePriceDetails = pileBillingTemplateService.getCurrentTimePriceDetails(stationId);
|
||||||
System.out.println("新版:" + JSON.toJSONString(billingPriceVOS1));
|
System.out.println("currentTimePriceDetails:" + JSON.toJSONString(currentTimePriceDetails));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
@@ -400,7 +400,7 @@ public class PileBillingTemplateServiceImpl implements PileBillingTemplateServic
|
|||||||
// 查询站点的集团会员计费模板
|
// 查询站点的集团会员计费模板
|
||||||
BillingTemplateVO preferentialBillingTemplate = this.queryPreferentialBillingTemplate(stationId);
|
BillingTemplateVO preferentialBillingTemplate = this.queryPreferentialBillingTemplate(stationId);
|
||||||
if (Objects.nonNull(preferentialBillingTemplate) && Objects.nonNull(result) ) {
|
if (Objects.nonNull(preferentialBillingTemplate) && Objects.nonNull(result) ) {
|
||||||
List<BillingDetailVO> billingDetailList = billingTemplateVO.getBillingDetailList();
|
List<BillingDetailVO> billingDetailList = preferentialBillingTemplate.getBillingDetailList();
|
||||||
for (BillingDetailVO detailVO : billingDetailList) {
|
for (BillingDetailVO detailVO : billingDetailList) {
|
||||||
List<String> applyTimeList = detailVO.getApplyTime();
|
List<String> applyTimeList = detailVO.getApplyTime();
|
||||||
for (String applyTime : applyTimeList) {
|
for (String applyTime : applyTimeList) {
|
||||||
|
|||||||
Reference in New Issue
Block a user