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