【update】测试类修改
This commit is contained in:
parent
f3c27b8291
commit
31ca86fa2e
|
@ -11,7 +11,6 @@ import org.springframework.data.relational.core.mapping.Table;
|
||||||
import java.io.Serial;
|
import java.io.Serial;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
import java.util.Date;
|
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@Table(name = "order_download_record")
|
@Table(name = "order_download_record")
|
||||||
|
|
|
@ -38,10 +38,8 @@ public class ManageTest {
|
||||||
OrderPageQuery dto=new OrderPageQuery();
|
OrderPageQuery dto=new OrderPageQuery();
|
||||||
dto.setOderNo("123");
|
dto.setOderNo("123");
|
||||||
OrderDownloadRecord downloadRecord=OrderDownloadRecord.builder()
|
OrderDownloadRecord downloadRecord=OrderDownloadRecord.builder()
|
||||||
.createTime(new Date())
|
|
||||||
.fileUrl("url")
|
.fileUrl("url")
|
||||||
.status("已完成")
|
.status("已完成")
|
||||||
.expireTime(new Date())
|
|
||||||
.fileName("文件名")
|
.fileName("文件名")
|
||||||
.queryCriteria(dto)
|
.queryCriteria(dto)
|
||||||
.build();
|
.build();
|
||||||
|
|
Loading…
Reference in New Issue