数据权限过滤
// 数据权限过滤
$vs.sqlTools.and($sqlBean, 'MEMBER_CODE', $vs.user.MEMBER_CODE)
当前时间
// 当前时间
#set($now = $vs.date.getDbDate())
#if ($vs.util.isNull($now))
#set($now = $vs.date.getDbDate())
#end
乐观锁
// 乐观锁
#set($form.OPTIMISTIC_LOCK = $vs.util.GUID())
#set($form.OPTIMISTIC_LOCK = $vs.date.getTimeStamp($now))
#set($form.OPTIMISTIC_LOCK = $now)