|
|
@@ -127,8 +127,6 @@ public class PurchaseOrderServiceImpl implements PurchaseOrderService {
|
|
|
item.setReplyQty(replyQty + reply.getQty());
|
|
|
if (item.getReplyQty() > item.getQty())
|
|
|
throw new IllegalOperatorException("回复的数量合计超过了订单数量");
|
|
|
- // 该行回复状态
|
|
|
- item.setStatus((short) (Double.compare(item.getReplyQty(), item.getQty()) == 0 ? Status.REPLIED.value() : Status.NOT_REPLY.value()));
|
|
|
purchaseOrderReplyDao.save(reply);
|
|
|
purchaseOrderItemDao.updateByReply(reply.getDelivery(), reply.getRemark(), item.getId());
|
|
|
// 订单主记录状态
|