@@ -1267,7 +1267,7 @@ func (this *OilGoodsAptitudeController) GoodsParentList() {
if Name != "" {
svc := goodsaptitude.GetOilGoodsAptitudeService(utils.DBE)
where1 := " (Name LIKE '%" + Name + "%' OR Code LIKE '" + Name + "%') "
- if Level != "" {
+ if Level == "2" {
where1 += " and (goods.GoodsLevel is null or goods.GoodsLevel = " + Level + ") "
}