mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 小程序查询充电站列表
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package com.jsowell.api.uniapp;/**
|
||||
* TODO
|
||||
*
|
||||
* @Date 2023/8/18 8:55
|
||||
* @author Lemon
|
||||
*/public class OccupyOrderController {
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user