fix sql error->jianmin

fix some sql errors