package com.palmnest.service.estateserve;

import com.palmnest.model.estateserve.DepositItemInformationForm;
import com.palmnest.service.GenericManager;

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

/**
 * 服务押金细项配置业务处处理层
 *
 * @author 金牙
 */
public interface DepositItemInformationFormManager extends GenericManager<DepositItemInformationForm, Integer> {

	/**
	 * 根据服务ID查询押金配置项
	 *
	 * @param serviceTypeInfoId
	 * @return
	 */
	public List<DepositItemInformationForm> getDepositItemInformationFormList(Integer serviceTypeInfoId) throws Exception;

	/**
	 * 增加删除或修改押金配置项
	 *
	 * @param dInformationFormsList
	 * @return
	 * @throws Exception
	 */
	public Map<String, Object> saveUpdateDepositItemInformationForm(List<DepositItemInformationForm> dInformationFormsList) throws Exception;

}
