fix:修复订单查询bug

feature/Inventory
hungmin 2024-01-22 14:26:14 +08:00
parent fa0861c770
commit 2b72cdfd70
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ namespace Guru
public Product GetProduct(string productName) public Product GetProduct(string productName)
{ {
if (_storeController == null || _storeController.products == null) if (_storeController != null || _storeController.products != null)
{ {
var info = GetInfo(productName); var info = GetInfo(productName);
if (info != null) if (info != null)