想对字段在输出时进行非空验证,
在Print when exception处写
($F{users_addr}==null)?"":$F{users_addr}
报错误:Cannot cast from String to Boolean
改成:new java.lang.Boolean($F{users_addr}==null)?"":$F{users_addr}
报错误:Type mismatch:cannot convert from Boolean to boolean希望有遇到此类问题的朋友给指点一下,万分感谢!
在Print when exception处写
($F{users_addr}==null)?"":$F{users_addr}
报错误:Cannot cast from String to Boolean
改成:new java.lang.Boolean($F{users_addr}==null)?"":$F{users_addr}
报错误:Type mismatch:cannot convert from Boolean to boolean希望有遇到此类问题的朋友给指点一下,万分感谢!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货