Commit afdf5811 by huangjinxin

fix:创单优化

1 parent 1bfbff2d
......@@ -221,7 +221,7 @@ public class OrderCreateServiceImpl implements OrderCreateService {
// 基础保存
String joinTags = CollectionUtils.isEmpty(req.getOrderTags()) ? "" : String.join(",", req.getOrderTags());
entity.setBeanTags(joinTags);
entity.setBeanPriority(req.getPriority());
entity.setBeanPriority(req.getPriority().equals("1") ? "紧急" : "正常");
entity.setIsMultiple(joinTags.contains("重物搬运") ? 1 : 0);
//一家多单
Result<String> addMultipleOrders = orderInfoService.addMultipleOrders(entity.getDt(), location.getAddressId(), orderId);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!