Commit b22ef265 authored by 陆正友's avatar 陆正友

数据所有者批量授权 新增数据权限

parent cd160c57
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: ericyin
$Date: 2013-3-19 下午4:55:00
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" baseTable="SYS_USER_V" defaultOrderBy="user_name" needAccessControl="false">
<bm:fields>
<bm:field name="user_id" databaseType="NUMBER" datatype="java.lang.Long" forInsert="ture" physicalName="USER_ID" prompt="HLS.USER_ID"/>
<bm:field name="user_name" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="100" forDisplay="true" forQuery="true" physicalName="USER_NAME" prompt="HLS.USER_NAME"/>
<bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="120" forDisplay="true" forQuery="true" physicalName="DESCRIPTION" prompt="HLS.EMPLOYEE_NAME"/> <!--HLS.DESCRIPTION-->
<bm:field name="start_date" databaseType="DATE" datatype="java.util.Date" physicalName="START_DATE" prompt="HLS.START_DATE"/>
<bm:field name="end_date" databaseType="DATE" datatype="java.util.Date" physicalName="END_DATE" prompt="HLS.END_DATE"/>
<bm:field name="employee_code" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="80" forDisplay="false" physicalName="EMPLOYEE_CODE" prompt="HLS.EMPLOYEE_CODE"/>
<bm:field name="employee_name" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="100" forDisplay="false" physicalName="EMPLOYEE_NAME" prompt="HLS.EMPLOYEE_NAME"/>
<bm:field name="frozen_flag" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="100" forDisplay="false" physicalName="FROZEN_FLAG" prompt="HLS.FROZEN_FLAG"/>
<bm:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="100" forDisplay="false" physicalName="ENABLED_FLAG" prompt="HLS.ENABLED_FLAG"/>
</bm:fields>
<bm:query-fields>
<bm:query-field field="user_name" queryOperator="like"/>
<bm:query-field field="description" queryOperator="like"/>
</bm:query-fields>
<bm:data-filters>
<bm:data-filter enforceOperations="query" expression="t1.start_date &lt;= sysdate and (t1.end_date &gt;= sysdate or t1.end_date is null)"/>
<bm:data-filter enforceOperations="query" expression="t1.frozen_flag != &apos;Y&apos;"/>
<bm:data-filter enforceOperations="query" expression="t1.enabled_flag = &apos;Y&apos;"/>
</bm:data-filters>
</bm:model>
......@@ -82,7 +82,7 @@
<a:field name="authorized_user_desc" prompt="HLS.DESCRIPTION"/>
<a:field name="session_id"/>
<a:field name="user_id"/>
<a:field name="user_name" lovGridHeight="300" lovHeight="450" lovService="basic.sys_user_for_lov" lovWidth="500" prompt="HLS.USER_NAME" required="true" title="AUT106.CHOOSE_USER">
<a:field name="user_name" lovGridHeight="300" lovHeight="450" lovService="basic.sys_user_for_lov_aut106" lovWidth="500" prompt="HLS.USER_NAME" required="true" title="AUT106.CHOOSE_USER">
<a:mapping>
<a:map from="user_name" to="user_name"/>
<a:map from="description" to="authorized_user_desc"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment