|
|
@@ -169,6 +169,8 @@ public class PurchaseOrderServiceImpl implements PurchaseOrderService {
|
|
|
order.setStatus((short) (notReply > 0 ? Status.NOT_REPLY.value() : Status.REPLIED.value()));
|
|
|
if (purchaseOrderItemDao.getCountByReply(orderId) > 0)
|
|
|
order.setReply(Constant.YES);
|
|
|
+ else
|
|
|
+ order.setReply(Constant.NO);
|
|
|
if (purchaseOrderItemDao.getCountByEnd(orderId, Constant.YES) > 0)
|
|
|
order.setEnd(Constant.YES);
|
|
|
else
|