package com.ruoyi.bussiness.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.ruoyi.bussiness.domain.Compensate;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import java.util.List;
|
|
public interface CompensateService extends IService<Compensate> {
|
|
|
/**
|
* 修改补偿标准
|
* @param compensates
|
*/
|
void updateCompensate(List<Compensate> compensates);
|
|
|
/**
|
* 应安置面积计算
|
* @param currentCollectiveNum
|
* @param currentNoCollectiveNum
|
* @param time
|
* @return
|
*/
|
boolean compensateSettleAreaCalculate(Date time,Integer currentCollectiveNum, Integer currentNoCollectiveNum,BigDecimal area);
|
|
|
/**
|
* 应安置面积计算
|
* @param
|
* @return
|
*/
|
boolean compensateSettleAreaCalculate(BigDecimal orgArea, BigDecimal noOrgArea,BigDecimal area);
|
|
/**
|
* 自主购房补贴
|
* @return
|
*/
|
boolean compensateBuyCalculate(Date time,String street,
|
Integer currentCollectiveNum,Integer currentNoCollectiveNum,
|
BigDecimal compensationNewAmount,BigDecimal compensationOldAmount,
|
BigDecimal totalAmount);
|
|
|
/**
|
* 自主购房补贴
|
* @return
|
*/
|
boolean compensateBuyCalculateV2(Date time, String street,
|
BigDecimal orgArea,BigDecimal noOrgArea,
|
BigDecimal compensationNewAmount,BigDecimal compensationOldAmount,
|
BigDecimal money);
|
|
/**
|
* 过渡补贴
|
* @param currentCount 安置人数
|
* @return
|
*/
|
boolean compensateSubsidyCalculate(Integer currentCount,BigDecimal money);
|
|
/**
|
* 查询配置信息
|
* @param configKey
|
* @return
|
*/
|
Compensate selectCompensateByConfigKey(String configKey);
|
|
|
/**
|
* 房源告警
|
* @param currentCount
|
* @param area
|
* @return
|
*/
|
boolean houseCalculate(Integer currentCount,BigDecimal area);
|
|
}
|