Commit b3c455ff by 王力

Merge branch 'dev_rescheduling0713' into 'develop'

修改

See merge request !228
2 parents 736ba016 0cfc77bb
......@@ -220,8 +220,8 @@ public class OrderAssignImpl implements OrderAssign {
if (order == null){
throw new BusinessException("订单不存在");
}
if(order.getDt() == expectBegin.toLocalDate()) {
throw new BusinessException("改约日期不与之前日期相同");
if(order.getDt().isEqual(expectBegin.toLocalDate())) {
throw new BusinessException("改约日期不与之前日期相同");
}
if (LocalDate.now().isAfter(expectBegin.toLocalDate())){
throw new BusinessException("改约日期不能小于今日");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!