You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.3 KiB

package com.example.demo.mapper;
import com.example.demo.domain.entity.User;
import com.example.demo.domain.vo.GoldDetail;
import com.example.demo.domain.vo.Total;
import lombok.Data;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @program: GOLD
* @ClassName GoldDetailMapper
* @description:
* @author: huangqizhen
* @create: 2025−06-23 13:47
* @Version 1.0
**/
@Mapper
public interface GoldDetailMapper {
List<GoldDetail> getGoldDetail(GoldDetail goldDetail);
List<GoldDetail> getGoldDetail1(@Param("pageNum") Integer pageNum,
@Param("pageSize") Integer pageSize,
@Param("goldDetail") GoldDetail goldDetail);
Total getTotal(GoldDetail goldDetail);
List<User> getGold(User user);
Total GoldTotal(User user);
@Data
public static class ExportRecordIdHolder{
private Long id;
}
void insertExportRecord(
@Param("recordId") ExportRecordIdHolder recordId, // 用于接收主键
@Param("account") Integer account,
@Param("type") Integer type,
@Param("state") Integer state,
@Param("url") String url,
@Param("fileName") String fileName,
@Param("dataNum") Integer dataNum
);
}