update 小程序查询充电站列表

This commit is contained in:
Lemon
2023-08-18 09:27:22 +08:00
parent fe5389ce7a
commit 128a2e76e3
8 changed files with 59 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
package com.jsowell.api.uniapp;/**
* TODO
*
* @Date 2023/8/18 8:55
* @author Lemon
*/public class OccupyOrderController {
}

View File

@@ -59,9 +59,9 @@ public class PileController extends BaseController {
// 获取appid第三方平台用
String appId = request.getHeader("appId");
if (StringUtils.isNotBlank(appId)) {
// 获取merchantId
String merchantId = pileMerchantInfoService.getFirstLevelMerchantIdByAppId(appId);
queryStationDTO.setMerchantId(merchantId);
// 获取deptIds
List<String> deptIds = pileMerchantInfoService.getDeptIdsByAppId(appId);
queryStationDTO.setMerchantDeptIds(deptIds);
}
PageResponse pageResponse = pileStationInfoService.uniAppQueryStationInfoList(queryStationDTO);
response = new RestApiResponse<>(pageResponse);