doum
2026-06-17 7ff92e90d2318f5c2597c4ba01e0cbfde983cec0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.doumee.service.business;
 
import com.doumee.core.model.LoginUserInfo;
 
/**
 * 根据商户租赁合同自动关联电表/空调设备
 */
public interface YwCustomerDeviceAutoBindService {
 
    /** 按合同同步设备关联(创建/生效时调用) */
    void syncByContractId(Integer contractId, LoginUserInfo user);
 
    /** 按商户同步所有有效合同下的设备 */
    void syncByCustomerId(Integer customerId, LoginUserInfo user);
 
    /** 合同退租/到期时解除自动关联 */
    void unbindByContractId(Integer contractId, LoginUserInfo user);
}