feat:排队列表查询条件增加排队码编号
This commit is contained in:
parent
990eb566b0
commit
95ea36a780
@ -39,4 +39,7 @@ public class StorePinkSearchRequest implements Serializable {
|
|||||||
|
|
||||||
@ApiModelProperty(value = "是否已取消:0-未取消,1-已取消")
|
@ApiModelProperty(value = "是否已取消:0-未取消,1-已取消")
|
||||||
private Integer isRefund;
|
private Integer isRefund;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "排队码编号(年月日时分秒+六位随机数)")
|
||||||
|
private String queueCode;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -179,6 +179,9 @@ public class StorePinkServiceImpl extends ServiceImpl<StorePinkMapper, StorePink
|
|||||||
if (ObjectUtil.isNotNull(request.getQueueType())) {
|
if (ObjectUtil.isNotNull(request.getQueueType())) {
|
||||||
lqw.eq(StorePink::getQueueType, request.getQueueType());
|
lqw.eq(StorePink::getQueueType, request.getQueueType());
|
||||||
}
|
}
|
||||||
|
if (StrUtil.isNotBlank(request.getQueueCode())) {
|
||||||
|
lqw.eq(StorePink::getQueueCode, request.getQueueCode());
|
||||||
|
}
|
||||||
lqw.eq(StorePink::getKId, 0);
|
lqw.eq(StorePink::getKId, 0);
|
||||||
lqw.orderByDesc(StorePink::getId);
|
lqw.orderByDesc(StorePink::getId);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user