UnionShareSettlementMapper.java 965 Bytes
package com.yoho.unions.dal;

import com.yoho.unions.dal.model.UnionShareSettlement;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface UnionShareSettlementMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UnionShareSettlement record);

    int insertSelective(UnionShareSettlement record);

    UnionShareSettlement selectByPrimaryKey(Integer id);

    UnionShareSettlement selectByCode(String settlementCode);

    int selectCountByUid(@Param("uid")Integer uid, @Param("status")Byte status);

    BigDecimal selectTotalAmountByUid(Integer uid);

    int updateByPrimaryKeySelective(UnionShareSettlement record);

    int updateByPrimaryKey(UnionShareSettlement record);

    List<UnionShareSettlement> selectSettlementRecordByUid(@Param("uid") int uid, @Param("start") Integer start, @Param("size") Integer size);

    Integer selectSettlementRecordCount(@Param("uid") Integer uid);
}