package org.dromara.zhishu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.validation.constraints.NotNull;
import org.dromara.zhishu.domain.ShopGoodsPublishedLog;

public interface ShopGoodsPublishedLogService extends IService<ShopGoodsPublishedLog> {

    /**
     * 通过相关Id查询商品发布记录日志
     * @param platformId
     * @param aboutId
     * @param platformType
     * @param logType
     * @param operationType
     * @return
     */
    ShopGoodsPublishedLog queryPublishedLogByOrderSn(@NotNull(message = "平台订单编码不能为空") String platformId, @NotNull(message = "日志类型不能为空") String aboutId, @NotNull(message = "平台类型不能为空") Integer platformType, @NotNull(message = "日志类型不能为空") Integer logType, @NotNull(message = "操作类型不能为空") Integer operationType);

}
