当跳转页面报如下异常时:
script错误:java.lang.Exception: Any Constructor:无法将字符串[E《] 转换为double型。For input string: "E" script:if('null'='on','UPPER(getitemname('SplitYesNo',case (select 1 from ph_balanceinfo bi, ph_contractinfo ci where bi.contractserialno = ci.serialno and ci.applyserialno = pa.serialno and bi.serialno <> pb.serialno) when 1 then '1' else '0' end)) like <#SQ#>%<#SQ#>||UPPER(<#SQ#>1<#SQ#>)||<#SQ#>%<#SQ#>','getitemname('SplitYesNo',case (select 1 from ph_balanceinfo bi, ph_contractinfo ci where bi.contractserialno = ci.serialno and ci.applyserialno = pa.serialno and bi.serialno <> pb.serialno) when 1 then '1' else '0' end) = <#SQ#>1<#SQ#>')
原因:
数据库中没有吧单引号转换为相应的字符
原有:
image.png
gai
改正后:
image.png代码中会有替换<#SQ#>逻辑代码
image.png
网友评论