package com.goafanti.common.dao; import com.goafanti.common.model.NewOrderChange; import com.goafanti.common.model.NewOrderChangeExample; import com.goafanti.order.bo.NewOrderChangeBo; import java.math.BigDecimal; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Param; public interface NewOrderChangeMapper { int deleteByPrimaryKey(Integer id); int insert(NewOrderChange record); int insertSelective(NewOrderChange record); NewOrderChange selectByPrimaryKey(Integer id); int updateByPrimaryKeySelective(NewOrderChange record); int updateByPrimaryKey(NewOrderChange record); List selectByorderNo(String orderNo); int checkOderNo(String orderNo); NewOrderChangeBo selectById(Integer id); void addRefundInvoice(@Param("orderNo")String orderNo, @Param("amount")BigDecimal amount); void subtractRefundInvoice(@Param("orderNo")String orderNo,@Param("amount")BigDecimal amount); List> getOrderChange(String orderNo); NewOrderChangeBo selectByChangeId(String changeId); NewOrderChangeBo selectByorderNoAndStatus(String orderNo); }