left JOIN tb_cf_goodstype ds ON ds.goodstype_id = tw.goodstype_id
left JOIN ( SELECT count( * ) count, c.item_categorytwo FROM tb_cf_station_item c where c.enable_flag!=0 GROUP BY item_categorytwo ) t ON tw.goodstwotype_id = t.item_categorytwo
left JOIN ( SELECT count( * ) count, c.item_categorytwo FROM tb_cf_station_item c where c.enable_flag!=0 GROUP
BY item_categorytwo ) t ON tw.goodstwotype_id = t.item_categorytwo
WHERE 1=1
<iftest="name != null and name.trim() != ''">
AND goodstwotype_title LIKE concat('%',#{name},'%')
</if>
<iftest="category != null and category.trim() != ''">