${if(len(orgcodes) == 0,"select shi_code,shi_name,count(*) c from zz_am_cai_wu_biao"+
if(len(mi) == 0,"","and jing_ying_xing_shou_ru>= '" + mi + "'") +
if(len(ma) == 0,"","and jing_ying_xing_shou_ru<= '" + ma + "'")+
"GROUP BY shi_code,shi_name","其他语句")}