|
|
@@ -320,7 +320,7 @@ public class itemclass extends Controller {
|
|
|
}
|
|
|
if (content.containsKey("sys_enterpriseid")) {
|
|
|
if(content.getLong("sys_enterpriseid")>0){
|
|
|
- where = where + " and t1.itemclassid not in (SELECT itemclassid from sys_enterprise_saleclass WHERE sys_enterpriseid = " +
|
|
|
+ where = where + " and t1.itemclassid not in (SELECT ifnull(itemclassid,0) from sys_enterprise_saleclass WHERE sys_enterpriseid = " +
|
|
|
content.getLong("sys_enterpriseid") + " and siteid='" + siteid + "' )";
|
|
|
}
|
|
|
}
|