| | |
| | | import com.xcong.excoin.modules.otc.entity.OtcOrder; |
| | | import com.xcong.excoin.modules.otc.vo.OrderListVo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.web3j.abi.datatypes.Int; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | public interface OtcOrderDao extends BaseMapper<OtcOrder> { |
| | |
| | | |
| | | IPage<OrderListVo> selectOrdderListInPage(@Param("record") OtcOrder order, Page<OrderListVo> page); |
| | | |
| | | int updateOrderStatusByOrderNo(@Param("status") Integer status, @Param("orderNo") String orderNo); |
| | | int updateOrderStatusByOrderNo(@Param("status") Integer status, @Param("payName") String payName, @Param("orderNo") String orderNo); |
| | | |
| | | OtcOrder selectOrderByOrderNoAndType(@Param("orderNo") String orderNo, @Param("orderType") String orderType); |
| | | |
| | | List<OtcOrder> selectOrderListWithStatusAndType(@Param("type") String orderType, @Param("status") Integer status); |
| | | |
| | | Integer selectMemberCntForEntrust(@Param("entrustMemberId") Long entrustMemberId); |
| | | |
| | | Integer selectTotalOrderCount(@Param("entrustMemberId") Long entrustMemberId, @Param("status") Integer status); |
| | | |
| | | BigDecimal selectMemberAvgPayTime(@Param("memberId") Long memberId); |
| | | |
| | | BigDecimal selectMemberAvgCoinTime(@Param("memberId") Long memberId); |
| | | |
| | | List<OtcOrder> selectOrderListForUser(@Param("memberId") Long memberId, @Param("status") Integer status); |
| | | |
| | | BigDecimal selectOrderTotalAmount(@Param("memberId") Long memberId); |
| | | } |