|
|
@@ -663,7 +663,7 @@ public class Item extends Controller {
|
|
|
sqlFactory1.addParameter("siteid", siteid);
|
|
|
Rows rows = dbConnect.runSqlQuery(sqlFactory1.getSQL());
|
|
|
if(rows.isNotEmpty()){
|
|
|
- sqlList.add("update plm_item set marketingcategory='"+ rows.get(0).getString("itemclassname")+"' where siteid='"+siteid+"' and itemid="+id);
|
|
|
+ sqlList.add("update plm_item set marketingcategory='"+ rows.get(0).getString("itemclassid")+"' where siteid='"+siteid+"' and itemid="+id);
|
|
|
}
|
|
|
}
|
|
|
}
|