添加字段
This commit is contained in:
		| @ -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; | ||||
|  | ||||
| } | ||||
| @ -36,4 +36,16 @@ public class DiningPlatesRespVO { | ||||
|     @ExcelProperty("创建时间") | ||||
|     private LocalDateTime createTime; | ||||
|  | ||||
|     /** | ||||
|      * 所属门店 | ||||
|      */ | ||||
|  | ||||
|     private Long storeId; | ||||
|  | ||||
|     /** | ||||
|      * 所属门店 | ||||
|      */ | ||||
|     @ExcelProperty("所属门店") | ||||
|     private String storeName; | ||||
|  | ||||
| } | ||||
| @ -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)); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 zengtao01
					zengtao01