from tb_cf_descripiton d left join tb_cf_goodstype o on d.goodstype_id=o.goodstype_id left join
from tb_cf_descripiton d left join tb_cf_goodstype o on d.goodstype_id=o.goodstype_id left join
tb_cf_goodstwotype t on d.goodstwotype_id=t.goodstwotype_id
tb_cf_goodstwotype t on d.goodstwotype_id=t.goodstwotype_id
left join (select count(*) count,c.item_descrition_id from tb_cf_station_item c GROUP BY item_descrition_id ) t on d.descripition_id=t.item_descrition_id
WHERE 1=1
WHERE 1=1
<iftest="name != null and name.trim() != ''">
<iftest="name != null and name.trim() != ''">
AND descripition_name LIKE concat('%',#{name},'%')
AND descripition_name LIKE concat('%',#{name},'%')
INNER JOIN tb_cf_goodstype ds ON ds.goodstype_id = tw.goodstype_id
INNER JOIN tb_cf_goodstype ds ON ds.goodstype_id = tw.goodstype_id
INNER JOIN ( SELECT count( * ) count, c.item_categorytwo FROM tb_cf_station_item c GROUP BY item_categorytwo ) t ON tw.goodstwotype_id = t.item_categorytwo
WHERE 1=1
WHERE 1=1
<iftest="name != null and name.trim() != ''">
<iftest="name != null and name.trim() != ''">
AND goodstwotype_title LIKE concat('%',#{name},'%')
AND goodstwotype_title LIKE concat('%',#{name},'%')