class Comp implements DataProxy<LookerPostLevel> {

        @Resource
        private EruptUserService eruptUserService;

        @Override
        public String beforeFetch(List<Condition> conditions) {<FILL_FUNCTION_BODY>}

        @Override
        public void beforeAdd(LookerPostLevel lookerPostLevel) {
            lookerPostLevel.setCreateTime(new Date());
            lookerPostLevel.setCreateUser(new EruptUserPostVo(eruptUserService.getCurrentUid()));
        }

        @Override
        public void beforeUpdate(LookerPostLevel lookerPostLevel) {
            lookerPostLevel.setUpdateTime(new Date());
            lookerPostLevel.setUpdateUser(new EruptUser(eruptUserService.getCurrentUid()));
        }
    }

            EruptUser eruptUser = eruptUserService.getCurrentEruptUser();
            if (eruptUser.getIsAdmin()) return null;
            if (null == eruptUser.getEruptOrg() || null == eruptUser.getEruptPost()) {
                throw new EruptWebApiRuntimeException(eruptUser.getName() + " " + I18nTranslate.$translate("upms.no_bind_post"));
            }
            String eruptName = MetaContext.getErupt().getName();
            return "(" + eruptName + ".createUser.id = " + eruptUserService.getCurrentUid()
                    + " or " + eruptName + ".createUser.eruptOrg.id = " + eruptUser.getEruptOrg().getId() + " and "
                    + eruptName + ".createUser.eruptPost.weight < " + eruptUser.getEruptPost().getWeight() + ")";
        
<methods>public non-sealed void <init>() <variables>private java.lang.Long id