显示ListUI中0的值
来源:互联网 发布:淘宝左拦轮播图片尺寸 编辑:程序博客网 时间:2024/06/05 05:52
重写getQueryExecutor方法
/**
* 获取Query执行接口。
*/
protected IQueryExecutor getQueryExecutor(IMetaDataPK queryPK, EntityViewInfo viewInfo)
{
IQueryExecutor exec = null;
if (getMainOrgContext() != null && FrameWorkUtils.getCurrentOrgUnit(getMainOrgContext()) != null)
{
exec = QueryExecutorFactory.getRemoteInstanceWithObjectContext(queryPK, getMainOrgContext());
exec.setObjectView(viewInfo);
}
else
{
exec = super.getQueryExecutor(queryPK, viewInfo);
}
boolean b=true;
if (mainQuery!=null&&mainQuery.getSorter() != null && mainQuery.getSorter().size() > 0)
{
this.setIsIgnoreOrder(true);
}
else
{
this.setIsIgnoreOrder(false);
b=false;
}
exec.option().isIgnoreOrder =b;
exec.option().isAutoIgnoreZero = false;
exec.option().isAutoTranslateBoolean = true;
exec.option().isAutoTranslateEnum = true;
exec.option().topCount = getMaxReturnRowCount();
exec.option().pageCount=KDTDataRequestManager.defaultPageRow;
if (UIConfigUtility.getCofigValue("QueryTransactionType","isReadUnCommited","false").equalsIgnoreCase("true"))
exec.option().transactionIsolation=java.sql.Connection.TRANSACTION_READ_UNCOMMITTED;
if (this.getUIContext() != null && this.getUIContext().get("IGNORE_DATAPERMISSION_CHECK") != null)
{
try
{
if (Boolean.TRUE.equals(this.getUIContext().get("IGNORE_DATAPERMISSION_CHECK")))
{
exec.option().isIgnorePermissionCheck = true;
}
}
catch (ClassCastException e)
{
logger.error("get IGNORE_DATAPERMISSION_CHECK error", e);
}
}
return exec;
}
- 显示ListUI中0的值
- 在ListUI中设置EditUI的模式
- ListUI中增加了分录的字段后,query中的sql语句显示出来的是按照顺序显示出来的,而ListUI中显示出来的数据确实乱的
- listUI中改变选中表格产生的事件
- ListUI添加自己的过滤条件
- EditUI,ListUI的标题及左下角状态栏的更改
- EAS BOS去除listUI界面的过过滤条件
- duilib 如果获取listui 当前选择的项GetCursel
- ListUI函数调用顺序
- 给listUI添加排序字段
- c#中decimal的去0显示
- c#中decimal的去0显示
- asp中如何显示数据中二进制值的图片
- oracle中显示.0
- .net mvc3.0中带html标签的值显示在页面中不被转义的方法
- .net mvc3.0中带html标签的值显示在页面中不被转义的方法
- .net mvc3.0中带html标签的值显示在页面中不被转义的方法
- 打开ListUI时先弹出过滤框
- 了解泛型
- 读佛体会——对佛的三个层次认识
- 设置httpd.conf的DocumentRoot值为其他目录时出现“Document root must be a directory”的问题
- Server.Transfer Response.Redirect的区别(二)
- 需求分析阶段如何与用户面谈的过程
- 显示ListUI中0的值
- 朴素的“阴阳”看“泡妞”
- 装修心得搜集
- #if defined(...)的含义
- 曾经看过的经典小说
- Java Socket通讯例子
- 进程的工作目录
- gdb调试及gdbserver远程调试
- 防止 XSS 攻击 解决方案