mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-17 00:08:35 +08:00
修改首页数据接口bug
This commit is contained in:
@@ -39,7 +39,7 @@ public class indexController extends BaseController {
|
|||||||
IndexGeneralSituationVO generalSituation = pileBasicInfoService.getGeneralSituation(dto);
|
IndexGeneralSituationVO generalSituation = pileBasicInfoService.getGeneralSituation(dto);
|
||||||
response = new RestApiResponse<>(generalSituation);
|
response = new RestApiResponse<>(generalSituation);
|
||||||
}catch (Exception e) {
|
}catch (Exception e) {
|
||||||
logger.error("首页数据查询错误:{}", e.getMessage());
|
logger.error("首页数据查询错误", e);
|
||||||
response = new RestApiResponse<>("00200001", "首页基础数据查询错误");
|
response = new RestApiResponse<>("00200001", "首页基础数据查询错误");
|
||||||
}
|
}
|
||||||
logger.info("首页数据查询 result:{}", JSON.toJSONString(response));
|
logger.info("首页数据查询 result:{}", JSON.toJSONString(response));
|
||||||
|
|||||||
@@ -264,11 +264,11 @@ public class SpringBootTestController {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void createBalancePaymentRequestTest() {
|
public void createBalancePaymentRequestTest() {
|
||||||
String outMemberId = "ACM29104861";
|
String outMemberId = "ACM40782726";
|
||||||
String inMemberId = "0";
|
String inMemberId = "0";
|
||||||
String transAmt = "126.55";
|
String transAmt = "124.72";
|
||||||
String title = "提取余额到自己账户";
|
String title = "提取余额到自己账户";
|
||||||
String desc = "2024年6月12日14点14分,售后需求:客户需要重新添加结算账户,原账户余额放弃提取";
|
String desc = "2024年6月14日14点15分,售后需求:客户需要重新添加结算账户,原账户余额放弃提取";
|
||||||
String wechatAppId = wechatAppId1;
|
String wechatAppId = wechatAppId1;
|
||||||
adapayService.createBalancePaymentRequest(outMemberId, inMemberId, transAmt, title, desc, wechatAppId);
|
adapayService.createBalancePaymentRequest(outMemberId, inMemberId, transAmt, title, desc, wechatAppId);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -381,9 +381,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
|
|
||||||
<select id="getGeneralSituationInfo" resultType="com.jsowell.pile.vo.web.IndexGeneralSituationVO">
|
<select id="getGeneralSituationInfo" resultType="com.jsowell.pile.vo.web.IndexGeneralSituationVO">
|
||||||
select
|
select
|
||||||
sum(t1.total_amount) as totalChargingAmount,
|
ifnull(sum(t1.total_amount), 0) as totalChargingAmount,
|
||||||
sum(t1.use_electricity) as totalChargingDegree,
|
ifnull(sum(t1.use_electricity), 0) as totalChargingDegree,
|
||||||
sum(t1.charge_num) as totalChargingQuantity
|
ifnull(sum(t1.charge_num), 0) as totalChargingQuantity
|
||||||
from
|
from
|
||||||
settle_order_report t1
|
settle_order_report t1
|
||||||
where
|
where
|
||||||
|
|||||||
Reference in New Issue
Block a user