Merge branch 'refs/heads/test'

This commit is contained in:
zengtao01
2024-07-19 10:23:40 +08:00
3 changed files with 20 additions and 3 deletions

View File

@ -1,10 +1,12 @@
package cn.iocoder.yudao.module.member.controller.admin.diningplates.vo;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@ -32,4 +34,6 @@ public class DiningPlatesPageReqVO extends PageParam {
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime[] createTime;
private Long storeId;
}

View File

@ -36,4 +36,16 @@ public class DiningPlatesRespVO {
@ExcelProperty("创建时间")
private LocalDateTime createTime;
/**
* 所属门店
*/
private Long storeId;
/**
* 所属门店
*/
@ExcelProperty("所属门店")
private String storeName;
}

View File

@ -20,6 +20,7 @@ public interface DiningPlatesMapper extends BaseMapperX<DiningPlatesDO> {
.eqIfPresent(DiningPlatesDO::getDiningPlatesNum, reqVO.getDiningPlatesNum())
.eqIfPresent(DiningPlatesDO::getUserId, reqVO.getUserId())
.eqIfPresent(DiningPlatesDO::getStatus, reqVO.getStatus())
.eqIfPresent(DiningPlatesDO::getStoreId,reqVO.getStoreId())
.betweenIfPresent(DiningPlatesDO::getBindingTime, reqVO.getBindingTime())
.betweenIfPresent(DiningPlatesDO::getCreateTime, reqVO.getCreateTime())
.orderByDesc(DiningPlatesDO::getId));