### The error may exist in cn/survey/online/mapper/GenericMapper.xml

### The error may involve cn.survey.online.mapper.GenericMapper.getCityInfo-Inline

### The error occurred while setting parameters

### SQL: SELECT A.CITYID, A.CITYNAME FROM CITY_INFO A WHERE A.PROVINCEID = #provinceId#


### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5

; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5] with root cause

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5


找了半天,突然发现用的是mybatis,变量赋值应该用#{provinceId}