| | |
| | | * @param orderId |
| | | * @return |
| | | */ |
| | | List<LostOrder> selectByOrderId(String orderId); |
| | | List<LostOrder> selectByOrderIdAndType(@Param("orderId")String orderId,@Param("type") int type); |
| | | |
| | | /** |
| | | * 统计用户申诉次数 |
| | |
| | | |
| | | Order selectByPrimaryKey(Long id); |
| | | |
| | | // 根据订单号查找订单 |
| | | Order selectOrderByOrderId(String orderId); |
| | | |
| | | /** |
| | | * 根据订单号和订单类型查找订单 |
| | | * |
| | |
| | | * @param orderType |
| | | * @return |
| | | */ |
| | | List<Order> selectOrderByOrderIdAndOrderType(@Param("orderId") String orderId, @Param("orderType") int orderType); |
| | | Order selectOrderByOrderIdAndOrderType(@Param("orderId") String orderId, @Param("orderType") int orderType); |
| | | |
| | | List<Order> selectByUid(Long uid); |
| | | |
| | |
| | | yeshi_ec_lost_order where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <select id="selectByOrderId" resultMap="BaseResultMap" |
| | | parameterType="java.lang.String">select * from yeshi_ec_lost_order where orderId=#{0} |
| | | parameterType="java.lang.String">select * from yeshi_ec_lost_order where orderId=#{orderId} and `type`=#{type} |
| | | </select> |
| | | <select id="selectByPrimaryKey" resultMap="BaseResultMap" |
| | | parameterType="java.lang.Long">select * from yeshi_ec_lost_order where id=#{0}</select> |
| | |
| | | from yeshi_ec_order where uid = #{0} |
| | | </select> |
| | | |
| | | |
| | | <select id="selectOrderByOrderId" resultMap="BaseResultMap" |
| | | parameterType="java.lang.String"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from yeshi_ec_order where orderid = #{0} for update |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">delete from |
| | | yeshi_ec_order where id = #{id,jdbcType=BIGINT} |
| | | </delete> |