product category query function finished
product batch query finished