package com.jeesharp.business.modules.mall.service;

import com.jeesharp.business.modules.mall.entity.MallOrderLog;
import com.jeesharp.business.modules.mall.vo.MallOrderLogQueryVO;
import com.jeesharp.framework.mybatis.core.service.BaseInterface;

import java.util.List;

/**
 * 订单状态日志 Service 接口
 */
public interface MallOrderLogService extends BaseInterface<MallOrderLog, MallOrderLogQueryVO> {

    void createOrderLog(MallOrderLog entity);

    void updateOrderLog(MallOrderLog entity);
void recordOrderStatusChange(String orderId, String orderNo, Integer beforeStatus,
                                 Integer afterStatus, String operateType, String operatorId,
                                 String operatorName, String remark);

    List<MallOrderLog> getOrderLogs(String orderId);
}
