核对处方确认方法下添加抛出异常以避免数据部分提交
This commit is contained in:
parent
8f4faabf3f
commit
7988187bcc
|
@ -669,6 +669,7 @@ namespace DM_Weight.ViewModels
|
|||
};
|
||||
_eventAggregator.GetEvent<SnackbarEvent>().Publish(alertMsg);
|
||||
logger.Info($"所选处方对应药品批次效期无库存{empChannelStock}");
|
||||
throw new Exception("事务回滚");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue