package com.changhong.epc.tenant.mapper.tenant.cost; import org.apache.ibatis.annotations.Param; import com.changhong.epc.bean.tenant.cost.CostFromMapping; import com.changhong.epc.bean.tenant.cost.extend.CostFromMappingExtend; import com.iemsoft.framework.cloud.mybatis.common.MybatisBaseMapper; import java.util.List; /** * * @ClassName: CostFromMappingMapper * @author [九鼎联合科技] * @date 2017年09月27日 下午02:48:35 */ public interface CostFromMappingMapper extends MybatisBaseMapper{ /** * 按CtId查询是否查询是否存在 */ CostFromMapping selectByctId(@Param("cost") CostFromMapping cost); int updateCost(CostFromMapping cost); int deleteForm(@Param("id") int id); CostFromMappingExtend selectCostType(CostFromMapping cost); /** *删除关联表单 */ int deleteFormByCtidAndType(@Param("ctId")Integer ctId,@Param("type")String type); List getConstFroms(CostFromMapping cost); List selectType(@Param("type") String type); }