; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: ORA-00933: SQL 命令未正确结束
] with root cause
java.sql.SQLSyntaxErrorException: ORA-00933: SQL 命令未正确结束
public interface MaterialUpdateMapper {
int SaveHead(SCM_MaterialUpdateListAHead user);
int GetBillId(String documentnumber);
int SaveItems(SCM_MaterialUpdateListA3 items);
}
<select id="GetBillId" resultType="int">
SELECT BILLID FROM SCM_MaterialUpdateListAHead documentnumber = #{documentnumber}
</select>
标准sql select billid from table where documentnumber = #{documentnumber};