This commit is contained in:
2024-01-26 21:27:46 +08:00
parent 20c0c56021
commit 9a5b2d26d0

View File

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