|
@@ -472,8 +472,8 @@ public class WebsitMPurchaseLogic {
|
|
|
AdminUserCom adminUser = commonLogic.getAdminUser();
|
|
|
WebsitPurchase purchase = websitPurchaseService.getById(purchaseId);
|
|
|
if (Objects.isNull(purchase)
|
|
|
- || !StrUtil.equals(purchase.getFlag(), MaterialFlagEnum.SUBMIT.getKey())
|
|
|
- || StrUtil.equals(purchase.getIsRecheck(), IsYesNoEnum.YES.getKey())) {
|
|
|
+ || !(StrUtil.equals(purchase.getFlag(), MaterialFlagEnum.SUBMIT.getKey())
|
|
|
+ && StrUtil.equals(purchase.getIsRecheck(), IsYesNoEnum.YES.getKey()))) {
|
|
|
throw new RemoteServiceException("单据不存在或状态已发生变化");
|
|
|
}
|
|
|
|