dev #2

Merged
dashixiong merged 349 commits from dev into main 2026-02-11 01:55:46 +00:00
196 changed files with 19913 additions and 946 deletions
Showing only changes of commit 97c667bd77 - Show all commits

View File

@ -123,9 +123,9 @@ public class EmsSiteMonitorController extends BaseController{
* 获取所有电池簇
*/
@GetMapping("/getClusterNameList")
public AjaxResult getClusterNameList(@RequestParam String stackDeviceId)
public AjaxResult getClusterNameList(@RequestParam String siteId, @RequestParam String stackDeviceId)
{
return success(iEmsSiteService.getAllClusterInfo(stackDeviceId));
return success(iEmsSiteService.getAllClusterInfo(siteId, stackDeviceId));
}
/**

View File

@ -21,7 +21,7 @@ public interface IEmsSiteService
public List<Map<String,Object>> getAllStackInfo(String siteId);
public List<Map<String,Object>> getAllClusterInfo(String stackDeviceId);
public List<Map<String,Object>> getAllClusterInfo(String siteId, String stackDeviceId);
public List<EmsSiteSetting> getAllSiteInfoList(String siteName, String startTime, String endTime);

View File

@ -52,8 +52,8 @@ public class EmsSiteServiceImpl implements IEmsSiteService
* @return
*/
@Override
public List<Map<String, Object>> getAllClusterInfo(String parentId) {
return emsDevicesMapper.getDeviceInfoByParentId(null,parentId);
public List<Map<String, Object>> getAllClusterInfo(String siteId, String parentId) {
return emsDevicesMapper.getDeviceInfoByParentId(siteId,parentId);
}
/**