# IHandlePropertySettingChange.java

    package cloud.wconnect.workperformance.service.monthlyreport;

    import cloud.wconnect.commonlib.pojo.dto.PropertyDTO;
    import cloud.wconnect.workperformance.entity.monthlyreport.AreaTypeConfig;
    import cloud.wconnect.workperformance.entity.monthlyreport.MonthlyReport;

    import java.util.List;
    import java.util.Map;

    /**
     * 资产区域设置变化的处理接口
     *
     * @author lichen
     * @date 2023/9/5
     */
    public interface IHandlePropertySettingChange {

        /**
         * 删除区域数据
         *
         * @param propertyDTO    资产DTO
         * @param monthlyReports 月报集合
         * @return void
         * @author lichen
         * @date 2023/9/5
         */
        void delete(PropertyDTO propertyDTO, List<MonthlyReport> monthlyReports);

        /**
         * 初始化区域数据
         *
         * @param propertyDTO            资产DTO
         * @param monthlyReports         月报集合
         * @param areaId2AreaTypeConfigs 区域分类集合
         * @return void
         * @author lichen
         * @date 2023/9/8
         */
        default void init(PropertyDTO propertyDTO, List<MonthlyReport> monthlyReports, Map<Integer, List<AreaTypeConfig>> areaId2AreaTypeConfigs) {
        }

    }