Commit d5071bd8 authored by stone's avatar stone

[fix]增加权限控制

parent e52c4913
......@@ -17,4 +17,11 @@ var override_queryfields = [
}
];
override();
\ No newline at end of file
var add_datafilters = [ {
name : 'QUERY',
expression : "exists (select 1 from aut_trx_user_authorize a1, aut_owner_user_authorize a2 WHERE a1.trx_category = 'CONTRACT' and a1.trx_id = t1.contract_id AND trunc(sysdate) between a1.start_date AND nvl(a1.end_date, trunc(sysdate)) and a1.user_id = a2.owner_user_id AND a1.trx_category = a2.trx_category AND a2.authorized_user_id = ${/session/@user_id} AND trunc(sysdate) between a2.start_date and nvl(a2.end_date, trunc(sysdate)))"
}
];
override();
add_datafilter();
\ No newline at end of file
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