public static <T> boolean getAUDBaseInfo(T paramCntr, boolean isAdd,
            BaseEntity defOpEntity,
            StringBuilder sBuffer,
            ProcessResult result) {
        // check and get data version id
        if (!WebParameterUtils.getLongParamValue(paramCntr, WebFieldDef.DATAVERSIONID,
                false, (defOpEntity == null
                        ? TBaseConstants.META_VALUE_UNDEFINED
                        : defOpEntity.getDataVerId()),
                sBuffer, result)) {
            return result.isSuccess();
        }
        final long dataVerId = (long) result.getRetData();
        // check and get createUser or modifyUser
        String createUsr = null;
        Date createDate = new Date();
        if (isAdd) {
            // check create user field
            if (!WebParameterUtils.getStringParamValue(paramCntr, WebFieldDef.CREATEUSER,
                    defOpEntity == null,
                    (defOpEntity == null ? createUsr : defOpEntity.getCreateUser()),
                    sBuffer, result)) {
                return result.isSuccess();
            }
            createUsr = (String) result.getRetData();
            // check and get create date
            if (!WebParameterUtils.getDateParameter(paramCntr, WebFieldDef.CREATEDATE, false,
                    ((defOpEntity == null || defOpEntity.getCreateDate() == null)
                            ? createDate
                            : defOpEntity.getCreateDate()),
                    sBuffer, result)) {
                return result.isSuccess();
            }
            createDate = (Date) result.getRetData();
        }
        // check modify user field
        if (!WebParameterUtils.getStringParamValue(paramCntr, WebFieldDef.MODIFYUSER,
                (defOpEntity == null && !isAdd),
                (defOpEntity == null ? createUsr : defOpEntity.getModifyUser()),
                sBuffer, result)) {
            return result.isSuccess();
        }
        String modifyUser = (String) result.getRetData();
        // check and get modify date
        if (!WebParameterUtils.getDateParameter(paramCntr, WebFieldDef.MODIFYDATE, false,
                ((defOpEntity == null || defOpEntity.getModifyDate() == null)
                        ? createDate
                        : defOpEntity.getModifyDate()),
                sBuffer, result)) {
            return result.isSuccess();
        }
        Date modifyDate = (Date) result.getRetData();
        result.setSuccResult(new BaseEntity(dataVerId,
                createUsr, createDate, modifyUser, modifyDate));
        return result.isSuccess();
    }
Parse the parameter value required for add update and delete

@param paramCntr   parameter container object
@param isAdd       if add operation
@param defOpEntity default value set,
                  if not null, it must fill required field values
@param sBuffer     string buffer
@param result      process result of parameter value
@return the process result
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/utils/WebParameterUtils.java