周六日
This commit is contained in:
@@ -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("参数不全");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user