查询的是金额问题 所以是累计的 同一个部门 两次录入时间 比如2011-6-13 和 2011-6-14  就查询2011-6-14  的
select ZhiChuFeiYong from TBL_JXGL_ZCFY where BuMen_ID='"+szA[j][0]+"' and ZhiChuLeiXing_ID=1  and   RiQi=?? 不会写了  大哥们教教吧