我想满足这两个条件其中之一怎么写呀,就是上面的or下面的,目前这样没效果 ${if(GETUSERDEPARTMENTS(3, 1) == "公司总部", if(len(jydw)==0,"and 1=1"," and co.fromOrgName = '" + jydw + "'"), " and co.fromOrgName = '" + GETUSERDEPARTMENTS(3, 1) + "'")}
${if(GETUSERDEPARTMENTS(3, 1) == "公司总部", if(len(cjdw)==0,"and 1=1"," and co.toOrgName = '" + cjdw + "'"), " and co.toOrgName = '" + GETUSERDEPARTMENTS(3, 1) + "'")} |