<select id="getLifecycleTemplateByName" resultType="com.mi.sc.plm.lifecycle.vo.LifecycleTemplateQueryVo">
select
<include refid="Base_Column_List"/>
from plm_lifecycle_template
<where>
BINARY template_name = #{templateName} and deleted = 0 and latest = 1
</where>
</select>
执行后异常
Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "BINARY" "BINARY"
at line 6, column 16.
Was expecting one of:
"!"
"("
"NOT"