周六日

This commit is contained in:
2024-01-29 17:30:35 +08:00
parent ae711074a6
commit 49bb638d57

View File

@@ -48,9 +48,9 @@ public class VegeCellarReserveOrderService extends MybatisBaseService<VegeCellar
public ResultBean submission(VegeCellarReserveOrderDto dto) {
ResultBean rb = new ResultBean().fail();
boolean b = isSatAndSun(dto.getReserveDate());
// if (!b) {
// return rb.setMsg("周六、周日不能预约提货");
// }
if (!b) {
return rb.setMsg("周六、周日不能预约提货");
}
if(StringUtils.isBlank(dto.getCustomerSid())){
return rb.setMsg("参数不全");
}