|
@@ -70,6 +70,10 @@ public class OrderDetailsFacade extends OrderDetailsServiceImpl {
|
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
|
|
|
"订单明细不存在");
|
|
|
}
|
|
|
+ if(orderDetails.getAuditStatus() != AuditStatusEnum.NotAudit.getKey()){
|
|
|
+ throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
|
|
|
+ "该订单已被审核请勿重复操作");
|
|
|
+ }
|
|
|
orderDetails.setGmtModified(DateUtil.now());
|
|
|
orderDetails.setModifier(UserUtils.getCurrentPrincipleID());
|
|
|
orderDetails.setAuditStatus(auditStatusVO.getAuditStatus());
|