package com.doumee.service.business; import com.doumee.core.model.LoginUserInfo; import com.doumee.dao.business.dto.YwElectricalEditDTO; import com.doumee.dao.business.dto.YwElectricalOperateDTO; import com.doumee.dao.business.model.YwElectrical; import com.doumee.dao.business.model.YwElectricalData; import java.util.List; import java.util.Map; public interface YwElectricalBizService { YwElectricalEditDTO getDetail(Integer id); void updateDetail(YwElectricalEditDTO dto, LoginUserInfo user); Map getRemoteInfo(Integer electricalId); String operate(YwElectricalOperateDTO dto, LoginUserInfo user); boolean handleElectricalNotify(String responseContent, String timestamp, String sign); /** 主动查询单个异步任务状态并同步本地记录 */ String syncAsyncActionStatus(String oprId); /** 按充值记录 ID 手动同步(仅充值中电表记录) */ String syncChargeStatusById(Integer chargeId); /** 定时批量查询处理中的异步任务状态(回调丢失时的补偿) */ void syncPendingAsyncActionsScheduled(); void syncMeterDataScheduled(); /** 手动从第三方平台拉取抄表数据入库 */ String syncMeterDataFromPlatform(); void cleanLogBeforeThreeMonths(); void enrichList(List list); void enrichDataList(List list); }