天天看点

PostgreSQL - ERROR: could not determine data type of parameter $1

SQL

LIKE CONCAT('%', #{apiPageBo.apiName}, '%')      

报错

ERROR: could not determine data type of parameter $7

分析

解决

LIKE CONCAT('%', #{apiPageBo.apiName}::text, '%')