货品页面
This commit is contained in:
@@ -80,6 +80,7 @@ public class LbGoodsController {
|
||||
@RequestParam(required = false) Long sellerId,
|
||||
@Parameter(description = "是否展示:0否 1是") @RequestParam(required = false) Integer isShow,
|
||||
@RequestParam(required = false) Integer status,
|
||||
@Parameter(description = "同步来源页码") @RequestParam(required = false) Integer currentPage,
|
||||
@Parameter(description = "创建开始时间,格式:yyyy-MM-dd HH:mm:ss")
|
||||
@RequestParam(required = false) String createdAtStart,
|
||||
@Parameter(description = "创建结束时间,格式:yyyy-MM-dd HH:mm:ss")
|
||||
@@ -98,6 +99,7 @@ public class LbGoodsController {
|
||||
sellerId,
|
||||
isShow,
|
||||
status,
|
||||
currentPage,
|
||||
createdAtStart,
|
||||
createdAtEnd,
|
||||
updatedAtStart,
|
||||
|
||||
@@ -23,6 +23,7 @@ public interface ILbGoodsService extends IService<LbGoods> {
|
||||
Long sellerId,
|
||||
Integer isShow,
|
||||
Integer status,
|
||||
Integer currentPage,
|
||||
String createdAtStart,
|
||||
String createdAtEnd,
|
||||
String updatedAtStart,
|
||||
|
||||
@@ -151,6 +151,7 @@ public class LbGoodsServiceImpl extends ServiceImpl<LbGoodsMapper, LbGoods> impl
|
||||
Long sellerId,
|
||||
Integer isShow,
|
||||
Integer status,
|
||||
Integer currentPage,
|
||||
String createdAtStart,
|
||||
String createdAtEnd,
|
||||
String updatedAtStart,
|
||||
@@ -186,6 +187,9 @@ public class LbGoodsServiceImpl extends ServiceImpl<LbGoodsMapper, LbGoods> impl
|
||||
if (status != null) {
|
||||
w.eq(LbGoods::getStatus, status);
|
||||
}
|
||||
if (currentPage != null) {
|
||||
w.eq(LbGoods::getCurrentPage, currentPage);
|
||||
}
|
||||
|
||||
LocalDateTime createdStart = parseDateTime(createdAtStart);
|
||||
if (createdAtStart != null && !createdAtStart.trim().isEmpty() && createdStart == null) {
|
||||
|
||||
Reference in New Issue
Block a user