doum
3 天以前 7ec3683c8e41460f4bb0bd3a6677198742313e2b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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<String, Object> 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();
 
    /** 手动从第三方平台拉取指定时间段抄表数据入库 */
    String syncMeterDataFromPlatform(String readTimeBegin, String readTimeEnd);
 
    void cleanLogBeforeThreeMonths();
 
    void enrichList(List<YwElectrical> list);
 
    void enrichDataList(List<YwElectricalData> list);
}