package com.thhy.secure.modules.biz.good.mapper;
|
|
import com.thhy.secure.modules.biz.good.entity.GoodDto;
|
import com.thhy.secure.modules.biz.good.entity.SecureGood;
|
import com.thhy.secure.modules.biz.good.entity.SecureGoodFile;
|
import org.springframework.stereotype.Component;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
/**
|
* Mapper 接口
|
* @author zhang_xiao_bo
|
* @since 2023-05-23 14:06:10
|
*/
|
@Component
|
public interface SecureGoodMapper {
|
|
|
SecureGood queryById(Serializable id);
|
|
Integer queryVersionById(Serializable id);
|
|
List<SecureGood> findList(GoodDto goodDto);
|
|
List<SecureGoodFile> fileList(GoodDto goodDto);
|
|
List<SecureGood> findAll();
|
|
void insert(SecureGood securegood);
|
|
void insertGoodFile(SecureGoodFile secureGoodFile);
|
|
void update(SecureGood securegood);
|
|
void deletelogic(Serializable id);
|
|
void deleteById(Serializable id);
|
|
void deleteFileByGoodId(String secureGoodId);
|
}
|