feat:排队列表查询条件增加排队码编号

This commit is contained in:
不睡觉的月亮 2025-12-10 09:05:42 +08:00
parent 990eb566b0
commit 95ea36a780
2 changed files with 6 additions and 0 deletions

View File

@ -39,4 +39,7 @@ public class StorePinkSearchRequest implements Serializable {
@ApiModelProperty(value = "是否已取消:0-未取消,1-已取消")
private Integer isRefund;
@ApiModelProperty(value = "排队码编号(年月日时分秒+六位随机数)")
private String queueCode;
}

View File

@ -179,6 +179,9 @@ public class StorePinkServiceImpl extends ServiceImpl<StorePinkMapper, StorePink
if (ObjectUtil.isNotNull(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.orderByDesc(StorePink::getId);