public int getMpidCount(ParametersForm form){
   String sql="select *  from "+form.getTablename()+" where 1=1";
   if(form.getType()==1){
   sql=" and b.transformer_capacity>=0 and b.transformer_capacity<100";
  }
}调用的时候:int aa=getMpidCount(form);
输出来的sql是:and b.transformer_capacity>=0 and b.transformer_capacity<100为什么不是整句输出呢?不是从上往下执行吗?