列表过滤及枚举字段特殊处理
/*列表过滤示例代码*/ var jobNature =rowData.jobNature ; if(jobNature != null){ filterParam = filterParam +" and EnterpriseJobIntension.jobNature in('"+jobNature+"','0') "; //filterParam = filterParam +" and EnterpriseJobIntension.jobNature ='全职' "; //filterParam = filterParam +" and id in (select farchivesBaseid from T_REC_EnterpriseJobIntension where fjobNature='"+jobNature+"') "; }
数据为枚举时,且QUERY里的字段类型int时,为过滤条件里必须设置int条件。
如果扩展QUERY的枚举字段EnterpriseJobIntension.jobNature在列表界面不正常,在Handler类中扩展afterGetListData方法,强制把字段值设置为String
列表过滤及枚举字段特殊处理
/*列表过滤示例代码*/var jobNature =rowData.jobNature ;if(jobNature != null){ filterParam = filterParam +" and EnterpriseJobInt...
点击下载文档
本文2024-09-16 23:48:30发表“s-hr cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-shr-56932.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章