package com.goafanti.common.dao; import com.goafanti.common.model.TTaskMid; import java.math.BigDecimal; import java.util.List; import org.apache.ibatis.annotations.Param; public interface TTaskMidMapper { int deleteByPrimaryKey(Integer id); int insert(TTaskMid record); int insertSelective(TTaskMid record); TTaskMid selectByPrimaryKey(Integer id); int updateByPrimaryKeySelective(TTaskMid record); int updateByPrimaryKey(TTaskMid record); int updateCostAmount(@Param("tid")Integer tid, @Param("costAmount")BigDecimal costAmount); int updatePaymentAmount(@Param("tid")Integer tid, @Param("paymentAmount")BigDecimal paymentAmount, @Param("type")Integer type); void updateCertificatesCountByTid(@Param("tid")Integer tid, @Param("count")Integer count); List selectListByTid(Integer tid); void updateByTid(TTaskMid tm); void addValue(Integer xzs, Integer bhs); void updateCountBytid(Integer taskId); }