|
@@ -1819,9 +1819,9 @@ func GetDrugStockCountList(orgId int64, storehouse_id int64, good_type int64, ke
|
1819
|
1819
|
db = db.Preload("DrugWarehouseInfo", "org_id = ? and status = 1 and is_check = 1", orgId)
|
1820
|
1820
|
}
|
1821
|
1821
|
|
1822
|
|
- if len(goodIds) > 0 {
|
1823
|
|
- db = db.Where("id in(?)", goodIds)
|
1824
|
|
- }
|
|
1822
|
+ //if len(goodIds) > 0 {
|
|
1823
|
+ // db = db.Where("id in(?)", goodIds)
|
|
1824
|
+ //}
|
1825
|
1825
|
|
1826
|
1826
|
if len(keyword) > 0 {
|
1827
|
1827
|
db = db.Where("drug_name like ? or manufacturer in(?)", likeKey, ids)
|