hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 98
values | lang stringclasses 21
values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 118 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 118 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 135 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1 1.03M | max_line_length int64 2 1.03M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
801c17cfe61a6e517e36044982d8c3c40dbed3f5 | 3,186 | java | Java | core/src/main/java/com/squarespace/template/InstructionTable.java | Squarespace/template-compiler | 5e50fdf0e88a26716d0aaf512b74adab738cc7a4 | [
"Apache-2.0"
] | 40 | 2015-07-15T01:56:57.000Z | 2022-01-25T18:35:03.000Z | core/src/main/java/com/squarespace/template/InstructionTable.java | Squarespace/template-compiler | 5e50fdf0e88a26716d0aaf512b74adab738cc7a4 | [
"Apache-2.0"
] | 27 | 2015-09-01T22:18:43.000Z | 2021-12-02T17:56:39.000Z | core/src/main/java/com/squarespace/template/InstructionTable.java | Squarespace/template-compiler | 5e50fdf0e88a26716d0aaf512b74adab738cc7a4 | [
"Apache-2.0"
] | 12 | 2015-07-14T19:25:21.000Z | 2021-11-09T20:23:11.000Z | /**
* Copyright (c) 2014 SQUARESPACE, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.squarespace.template;
import java.util.ArrayList;
import java.util.List;
/**
* Mapping of fixed instruction identifiers. Instructions which have variant
* forms (predicates, variable references) are handled separately.
*/
public class InstructionTable {
private static final int HASHMAP_BUCKETS = 32;
private static final StringViewMap<StringView, InstructionType> table = new StringViewMap<>(HASHMAP_BUCKETS);
private static final List<String> symbolList = new ArrayList<>();
/**
* Adds a mapping from the string identifier to the instruction type.
*/
static void add(String str, InstructionType type) {
add(str, type, true);
}
/**
* Adds a mapping from the string identifier to the instruction type.
*/
static void add(String str, InstructionType type, boolean isSymbol) {
table.put(new StringView(str), type);
if (isSymbol) {
symbolList.add(str);
}
}
static {
add(".alternates", InstructionType.ALTERNATES_WITH, false);
add(".ctx", InstructionType.CTXVAR);
add(".end", InstructionType.END);
add(".eval", InstructionType.EVAL);
add(".if", InstructionType.IF);
add(".include", InstructionType.INCLUDE);
add(".inject", InstructionType.INJECT);
add(".macro", InstructionType.MACRO);
add(".meta-left", InstructionType.META_LEFT);
add(".meta-right", InstructionType.META_RIGHT);
add(".newline", InstructionType.NEWLINE);
add(".or", InstructionType.OR_PREDICATE);
add(".repeated", InstructionType.REPEATED, false);
add(".section", InstructionType.SECTION);
add(".space", InstructionType.SPACE);
add(".tab", InstructionType.TAB);
add(".var", InstructionType.BINDVAR);
// Special-case for instructions containing whitespace (yeah).
symbolList.add(".alternates with");
symbolList.add(".repeated section");
}
/**
* Used for debugging the internal table layout.
*/
public static String dump() {
try {
return table.dump();
} catch (Exception e) {
throw new RuntimeException("Error dumping instruction table", e);
}
}
/**
* Returns the instruction table.
*/
public static StringViewMap<StringView, InstructionType> getTable() {
return table;
}
/**
* Returns the instruction type for the given symbol.
*/
public static InstructionType get(StringView symbol) {
return table.get(symbol);
}
/**
* Returns all symbols registered in the table.
*/
public static String[] getSymbols() {
return symbolList.toArray(Constants.EMPTY_ARRAY_OF_STRING);
}
}
| 29.229358 | 111 | 0.695229 |
f27c50936a777ea15823a0ac2558a2e76a914739 | 1,266 | asm | Assembly | programs/oeis/052/A052747.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/052/A052747.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/052/A052747.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A052747: a(0) = a(1) = a(2) = 0; a(n) = n!/(n-2) for n > 2.
; 0,0,0,6,12,40,180,1008,6720,51840,453600,4435200,47900160,566092800,7264857600,100590336000,1494484992000,23712495206400,400148356608000,7155594141696000
mov $22,$0
mov $24,$0
lpb $24
clr $0,22
mov $0,$22
sub $24,1
sub $0,$24
mov $19,$0
mov $21,$0
lpb $21
mov $0,$19
trn $21,1
sub $0,$21
mov $15,$0
mov $17,2
lpb $17
mov $0,$15
sub $17,1
add $0,$17
sub $0,1
mov $11,$0
mov $13,2
lpb $13
mov $0,$11
sub $13,1
add $0,$13
sub $0,1
mov $1,2
mov $3,$0
cal $3,142
mov $7,$0
add $0,10
div $3,2
lpb $0
mov $0,$7
pow $0,5
div $0,10
mov $7,8
lpe
sub $7,$1
div $3,$7
mov $1,$3
mov $14,$13
lpb $14
mov $12,$1
sub $14,1
lpe
lpe
lpb $11
mov $11,0
sub $12,$1
lpe
mov $1,$12
mov $18,$17
lpb $18
mov $16,$1
sub $18,1
lpe
lpe
lpb $15
mov $15,0
sub $16,$1
lpe
mov $1,$16
mul $1,2
add $20,$1
lpe
add $23,$20
lpe
mov $1,$23
| 17.108108 | 155 | 0.420221 |
f03149894a1a1db841d1f4b4176a844bc1ba3dd2 | 2,880 | py | Python | glacis_core/api/get_keys.py | ImperiumSec/glacis_core | b9dd0ad0f92dfd89c8ee1791c03ee1a8c6e93500 | [
"MIT"
] | null | null | null | glacis_core/api/get_keys.py | ImperiumSec/glacis_core | b9dd0ad0f92dfd89c8ee1791c03ee1a8c6e93500 | [
"MIT"
] | null | null | null | glacis_core/api/get_keys.py | ImperiumSec/glacis_core | b9dd0ad0f92dfd89c8ee1791c03ee1a8c6e93500 | [
"MIT"
] | null | null | null | from ..models import EntityOnServer, AccessToken, Organisation, Server, ServerUser, Key, KeyFetchEvent, AuditNote, AuditEvent, LoginAttempt
from django.template import Context, Template
from django.views.decorators.csrf import csrf_exempt
from django.http import HttpResponse
from uuid import uuid4
from datetime import datetime
import json
@csrf_exempt
def get_keys(request):
"""
Get Keys API - used in conjunction with the v2.1 client
"""
# input is something similar to:
# {
# "server_id":
# "access_token": {
# id:""
# value:""
# },
# username: ""
# origin_ip: ""
# key_fp: ""
# key_type: ""
# }
data = json.loads(request.body)
# 1. Decide if acceptable request
token = AccessToken.get_validated_token(data["access_token"]["id"], data["access_token"]["value"])
# Validate access_token
# FIXME: refaactor all this code to prevent data leakage through errors
server = Server.objects.filter(active=True).filter(org=token.org).filter(public_id=data["server_id"]).get()
la = LoginAttempt()
la.username = data['username']
la.key_fp = data['key_fp']
la.remote_ip = data['origin_ip']
la.server_ip = request.META['REMOTE_ADDR']
la.public_id = str(uuid4())
la.server = server
la.audit_type = AuditEvent.TYPE_KEYFETCH
la.audit_status = AuditEvent.STATUS_OPEN
la.reported_at = datetime.now()
la.save()
# 2. pull key data
key = None
server_user = ServerUser.objects.filter(server=server).filter(name=data["username"])
target_key = Key.objects.filter(key_fingerprint=data["key_fp"]).get()
cont = True
if server_user == 0:
# login attempt
cont = False
if target_key == 0:
cont = False
if cont:
# look for EntityOnServer to match
try:
target_eos = EntityOnServer.objects.filter(server_user=server_user).filter(named_key=target_key).get()
#print("EOS %s" % target_eos )
key = target_key
except Exception:
# FIXME: do a nicer exception
targets = EntityOnServer.objects.filter(server_user=server_user).filter(entity=target_key.owner)
if len(targets) > 0:
key = target_key
else:
raise Exception("Boom")
else:
key = Key.objects.filter(owner=target_eos.entity).filter(id=target_key.id).get()
if key.active and key.key_fingerprint == data["key_fp"]:
pass
else:
key = None
# Key should now be a Key object
#print ("--> %s" % key)
output = ""
if key:
sub_template = Template("ssh-rsa {{ key.key }}")
c = Context({"key":key})
output = sub_template.render(c)
return HttpResponse(output) | 27.692308 | 139 | 0.613194 |
80c5fdbea50eede4d6b74604a4ad2cfde6ad703b | 9,375 | java | Java | vt-java-filesystem/src/main/java/uk/os/vt/filesystem/StorageImpl.java | snodnipper/vt-support | e7debc492889c552b99fa3d2c838a4c4a643222f | [
"Apache-2.0"
] | 3 | 2017-09-29T15:41:25.000Z | 2019-01-14T13:31:22.000Z | vt-java-filesystem/src/main/java/uk/os/vt/filesystem/StorageImpl.java | snodnipper/vt-support | e7debc492889c552b99fa3d2c838a4c4a643222f | [
"Apache-2.0"
] | 4 | 2017-10-11T20:04:57.000Z | 2018-09-07T08:59:36.000Z | vt-java-filesystem/src/main/java/uk/os/vt/filesystem/StorageImpl.java | snodnipper/vt-support | e7debc492889c552b99fa3d2c838a4c4a643222f | [
"Apache-2.0"
] | 2 | 2019-10-22T03:57:08.000Z | 2020-04-20T14:23:01.000Z | /*
* Copyright (C) 2016 Ordnance Survey
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package uk.os.vt.filesystem;
import com.google.common.primitives.Ints;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.reactivex.Observable;
import io.reactivex.Single;
import io.reactivex.disposables.Disposable;
import io.reactivex.exceptions.Exceptions;
import io.reactivex.functions.BiFunction;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.filefilter.AbstractFileFilter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import uk.os.vt.Entry;
import uk.os.vt.Metadata;
import uk.os.vt.MetadataProvider;
import uk.os.vt.Storage;
import uk.os.vt.StorageResult;
public final class StorageImpl implements Storage, MetadataProvider {
private static final int[] UNDEFINED_ZXY = new int[]{};
private final File directory;
private final boolean gzipEnabled;
private static final Logger LOG = LoggerFactory.getLogger(StorageImpl.class);
@Override
public Single<Metadata> generateDefault() {
final int[] zMinMax = getMaxMin(tileFilenames(directory));
return FilesystemUtil
.getTiles(new File(directory, String.valueOf(zMinMax[1])).getAbsolutePath(), 2)
.map(FilesystemUtil::toZxy).reduce(UNDEFINED_ZXY, new BiFunction<int[], int[], int[]>() {
@Override
public int[] apply(int[] aa, int[] bb) throws Exception {
return aa == UNDEFINED_ZXY ? (bb == UNDEFINED_ZXY ? UNDEFINED_ZXY : bb)
: new int[] {Math.max(aa[0], bb[0]), Math.max(aa[1], bb[1]),
Math.max(aa[2], bb[2])};
}
}).map(zxy -> {
if (zxy == UNDEFINED_ZXY) {
return new Metadata.Builder().build();
}
// TODO should be able to translate tile coordinates to
// bounds shortly!
return new Metadata.Builder().setMinZoom(zMinMax[0]).setMaxZoom(zMinMax[1]).build();
}).toObservable().singleOrError();
}
@Override
public Disposable putMetadata(Single<Metadata> metadata) {
return metadata.subscribe(m -> {
final File file = new File(directory, "config.json");
try {
FileUtils.writeStringToFile(file, m.getTileJson().toString(), "UTF-8");
} catch (final IOException ex) {
LOG.error("problem writing metadata", ex);
}
});
}
private StorageImpl(File directory, boolean gzipEnabled) {
this.directory = directory;
this.gzipEnabled = gzipEnabled;
}
@Override
public void close() throws Exception {
// no resources to free
}
@Override
public Observable<Entry> getEntries() {
return getEntries(directory);
}
private static Observable<Entry> getEntries(File directory) {
return FilesystemUtil.getTiles(directory.getPath()).map(file -> {
try {
return FilesystemUtil.toEntry(file);
} catch (final IOException ex) {
throw Exceptions.propagate(ex);
}
});
}
@Override
public Observable<Entry> getEntries(int zoom) {
return FilesystemUtil.getTiles(directory.getPath() + File.separator + zoom, 2).map(file -> {
try {
return FilesystemUtil.toEntry(file);
} catch (final IOException ex) {
throw Exceptions.propagate(ex);
}
});
}
@Override
public Observable<Entry> getEntry(int zoom, int col, int row) {
return FilesystemUtil.getTiles(
directory.getPath() + File.separator + zoom + File.separator + col + File.separator + row,
4).map(file -> {
try {
return FilesystemUtil.toEntry(file);
} catch (final IOException ex) {
throw Exceptions.propagate(ex);
}
});
}
@Override
public Observable<Integer> getMaxZoomLevel() {
return Observable.defer(() -> {
final int[] zoomLevels = getZoomLevels();
return zoomLevels.length > 0 ? Observable.just(zoomLevels[zoomLevels.length - 1])
: Observable.empty();
});
}
@Override
public Observable<Integer> getMinZoomLevel() {
return Observable.defer(() -> {
final int[] zoomLevels = getZoomLevels();
return zoomLevels.length > 0 ? Observable.just(zoomLevels[0]) : Observable.empty();
});
}
@Override
@SuppressFBWarnings("RV_RETURN_VALUE_IGNORED")
public void putEntries(Observable<Entry> entries) {
entries.subscribe(entry -> {
try {
FilesystemUtil.addEntry(directory, entry, gzipEnabled);
} catch (final IOException ex) {
throw Exceptions.propagate(ex);
}
});
}
@Override
public Observable<StorageResult> put(Observable<Entry> entries) {
return entries.map(entry -> {
try {
FilesystemUtil.addEntry(directory, entry, gzipEnabled);
return new StorageResult(entry);
} catch (final IOException ex) {
return new StorageResult(entry, new IOException("cannot put entry", ex));
}
});
}
@Override
public Observable<Metadata> getMetadata() {
return Observable.defer(() -> {
final File metadata = new File(directory, "config.json");
try {
if (metadata.exists()) {
final String raw = FileUtils.readFileToString(metadata, "UTF-8");
final Metadata result = new Metadata.Builder().setTileJson(raw).build();
return Observable.just(result);
}
} catch (final IOException ex) {
throw Exceptions.propagate(ex);
}
return Observable.empty();
});
}
@Override
public Observable<StorageResult> delete(Observable<Entry> entries) {
return entries.map(entry -> {
try {
FilesystemUtil.removeEntry(directory, entry);
return new StorageResult(entry);
} catch (final IOException ex) {
return new StorageResult(entry, new IOException("cannot delete entry", ex));
}
});
}
private int[] getMaxMin(String[] value) {
int max = Integer.MIN_VALUE;
int min = Integer.MAX_VALUE;
for (int i = 0; i < value.length; i++) {
final int d = Integer.parseInt(value[i]);
max = Math.max(max, d);
min = Math.min(min, d);
}
return new int[] {min, max};
}
private int[] toIntArray(String[] value) {
final int[] result = new int[value.length];
for (int i = 0; i < value.length; i++) {
result[i] = Integer.parseInt(value[i]);
}
return result;
}
private static String[] tileFilenames(File directory) {
return directory.list(new AbstractFileFilter() {
@Override
public boolean accept(File dir, String name) {
return name.matches("\\d*");
}
});
}
private int[] getZoomLevels() {
final List<Integer> zoomLevels = new ArrayList<>();
final File[] files = directory.listFiles();
if (files == null) {
return new int[]{};
}
final Pattern pattern = Pattern.compile("^([0-9]|1[0-9]|2[0-2])$");
for (final File file : files) {
final String fileName = file.getName();
final Matcher matcher = pattern.matcher(fileName);
if (matcher.matches()) {
final int value = Integer.parseInt(matcher.group());
zoomLevels.add(value);
}
}
final int[] result = Ints.toArray(zoomLevels);
Arrays.sort(result);
return result;
}
public static final class Builder {
private final File directory;
private boolean createIfNotExist;
private boolean gzipEnabled = true;
public Builder(String directory) throws IOException {
this.directory = new File(directory);
}
public Builder(File directory) throws IOException {
this.directory = directory;
}
public Builder createIfNotExist() {
createIfNotExist = true;
return this;
}
/**
* Set gzip compression.
*
* @param gzipEnabled set true if individual files should be gzipped, default.
* @return this builder
*/
public Builder setGzipCompression(boolean gzipEnabled) {
this.gzipEnabled = gzipEnabled;
return this;
}
/**
* Build the storage.
*
* @return the tile storage
* @throws IOException thrown on IO error
*/
public StorageImpl build() throws IOException {
if (createIfNotExist && !directory.exists()) {
LOG.info(String.format("making directory '%s'", directory));
boolean isSuccess = directory.mkdirs();
if (!isSuccess) {
throw new IOException(String.format("could not create directory: '%s'", directory));
}
}
if (!directory.isDirectory()) {
throw new IOException(String.format("not a directory: '%s'", directory));
}
return new StorageImpl(directory, gzipEnabled);
}
}
}
| 30.048077 | 98 | 0.645867 |
96b48104a78883cc91d347fe7bff0b8c9dd32a08 | 1,374 | cpp | C++ | src/GLSim/core/Logic.cpp | Morange21/3DEngine | 1aa5e0c1e4c6e79ca7736f2ad4df2224e1bc4ec6 | [
"MIT"
] | null | null | null | src/GLSim/core/Logic.cpp | Morange21/3DEngine | 1aa5e0c1e4c6e79ca7736f2ad4df2224e1bc4ec6 | [
"MIT"
] | null | null | null | src/GLSim/core/Logic.cpp | Morange21/3DEngine | 1aa5e0c1e4c6e79ca7736f2ad4df2224e1bc4ec6 | [
"MIT"
] | null | null | null | #include "GLSim/core/Logic.h"
Logic::Logic(std::vector<Component::COMPONENT_TYPE> requiredComponents, const std::string& name)
:m_requiredComponents(requiredComponents),
m_name(name)
{
}
Logic::~Logic()
{
}
void Logic::setObjectList(std::vector<Object*>* vector)
{
m_objectList = vector;
}
bool Logic::setParent(Object* parent)
{
for(Component::COMPONENT_TYPE comp : m_requiredComponents)
{
switch(comp)
{
case Component::TRANSFORM:
{
if(parent->getComponent<Transform>() == nullptr)
{
//todo: Message Boxes
fprintf(stdout, "Parent object, %s, does not have required TRANSFORM component, for logic, %s", parent->getName(), m_name);
return false;
}
}
break;
case Component::RENDER_MESH:
{
if(parent->getComponent<RenderMesh>() == nullptr)
{
//todo: Message Boxes
fprintf(stdout, "Parent object, %s, does not have required RENDER MESH component, for logic, %s", parent->getName(), m_name);
return false;
}
}
break;
case Component::CAMERA:
{
if(parent->getComponent<Camera>() == nullptr)
{
//todo: Message Boxes
fprintf(stdout, "Parent object, %s, does not have required CAMERA component, for logic, %s", parent->getName(), m_name);
return false;
}
}
break;
default:
break;
}
}
m_parent = parent;
return true;
}
void Logic::receiveMessage(Message& message)
{
} | 20.507463 | 129 | 0.669578 |
ba4809367b65bdf818b33059d3910b64c1d0ebf1 | 149 | sql | SQL | src/test/resources/autoinc.test_45.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 131 | 2015-03-31T18:59:14.000Z | 2022-03-09T09:51:06.000Z | src/test/resources/autoinc.test_45.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 20 | 2015-03-31T21:35:38.000Z | 2018-07-02T16:15:51.000Z | src/test/resources/autoinc.test_45.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 43 | 2015-04-28T02:01:55.000Z | 2021-06-06T09:33:38.000Z | -- autoinc.test
--
-- execsql {
-- DROP TABLE t2;
-- SELECT name FROM sqlite_sequence;
-- }
DROP TABLE t2;
SELECT name FROM sqlite_sequence; | 18.625 | 40 | 0.657718 |
9f07a3d564df5ace5d9823d763f0e8ef8ef55456 | 2,037 | go | Go | go/rpcwrap/bsonrpc/custom_codecs.go | fanngyuan/vitess | 8e4f697be6c06dfb50f91cb083e156bdf45b72f8 | [
"BSD-3-Clause"
] | null | null | null | go/rpcwrap/bsonrpc/custom_codecs.go | fanngyuan/vitess | 8e4f697be6c06dfb50f91cb083e156bdf45b72f8 | [
"BSD-3-Clause"
] | null | null | null | go/rpcwrap/bsonrpc/custom_codecs.go | fanngyuan/vitess | 8e4f697be6c06dfb50f91cb083e156bdf45b72f8 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2012, Google Inc. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package bsonrpc
import (
"bytes"
"code.google.com/p/vitess/go/bson"
"code.google.com/p/vitess/go/bytes2"
rpc "code.google.com/p/vitess/go/rpcplus"
)
type RequestBson struct {
*rpc.Request
}
func (req *RequestBson) MarshalBson(buf *bytes2.ChunkedWriter) {
lenWriter := bson.NewLenWriter(buf)
bson.EncodePrefix(buf, bson.Binary, "ServiceMethod")
bson.EncodeString(buf, req.ServiceMethod)
bson.EncodePrefix(buf, bson.Long, "Seq")
bson.EncodeUint64(buf, uint64(req.Seq))
buf.WriteByte(0)
lenWriter.RecordLen()
}
func (req *RequestBson) UnmarshalBson(buf *bytes.Buffer) {
bson.Next(buf, 4)
kind := bson.NextByte(buf)
for kind != bson.EOO {
key := bson.ReadCString(buf)
switch key {
case "ServiceMethod":
req.ServiceMethod = bson.DecodeString(buf, kind)
case "Seq":
req.Seq = bson.DecodeUint64(buf, kind)
default:
panic(bson.NewBsonError("Unrecognized tag %s", key))
}
kind = bson.NextByte(buf)
}
}
type ResponseBson struct {
*rpc.Response
}
func (resp *ResponseBson) MarshalBson(buf *bytes2.ChunkedWriter) {
lenWriter := bson.NewLenWriter(buf)
bson.EncodePrefix(buf, bson.Binary, "ServiceMethod")
bson.EncodeString(buf, resp.ServiceMethod)
bson.EncodePrefix(buf, bson.Long, "Seq")
bson.EncodeUint64(buf, uint64(resp.Seq))
bson.EncodePrefix(buf, bson.Binary, "Error")
bson.EncodeString(buf, resp.Error)
buf.WriteByte(0)
lenWriter.RecordLen()
}
func (resp *ResponseBson) UnmarshalBson(buf *bytes.Buffer) {
bson.Next(buf, 4)
kind := bson.NextByte(buf)
for kind != bson.EOO {
key := bson.ReadCString(buf)
switch key {
case "ServiceMethod":
resp.ServiceMethod = bson.DecodeString(buf, kind)
case "Seq":
resp.Seq = bson.DecodeUint64(buf, kind)
case "Error":
resp.Error = bson.DecodeString(buf, kind)
default:
panic(bson.NewBsonError("Unrecognized tag %s", key))
}
kind = bson.NextByte(buf)
}
}
| 23.147727 | 66 | 0.713795 |
16746b0899659dfb4c4f01619061d4283afd19ea | 429 | h | C | redditAPI/RAPThreadTopicTableViewCell.h | woudini/lzytltbrwsr | ccd03c4fda27803478c5893f0b08a0b232d1c15a | [
"MIT"
] | null | null | null | redditAPI/RAPThreadTopicTableViewCell.h | woudini/lzytltbrwsr | ccd03c4fda27803478c5893f0b08a0b232d1c15a | [
"MIT"
] | null | null | null | redditAPI/RAPThreadTopicTableViewCell.h | woudini/lzytltbrwsr | ccd03c4fda27803478c5893f0b08a0b232d1c15a | [
"MIT"
] | null | null | null | //
// RAPThreadTopicTableViewCell.h
// redditAPI
//
// Created by Woudini on 2/5/15.
// Copyright (c) 2015 Hi Range. All rights reserved.
//
#import "KILabel.h"
#import <UIKit/UIKit.h>
@interface RAPThreadTopicTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *usernameLabel;
@property (weak, nonatomic) IBOutlet KILabel *topicLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@end
| 25.235294 | 60 | 0.750583 |
0ab27a6d3ff88bb53b37668dd08d3ab13e21ebe6 | 1,676 | go | Go | rmcp.go | lucklucif/ipmigo | b2ae2e5288df44d40f4dcca35f9a2e814682f4ce | [
"MIT"
] | 13 | 2019-05-18T01:40:04.000Z | 2022-01-25T01:32:42.000Z | rmcp.go | lucklucif/ipmigo | b2ae2e5288df44d40f4dcca35f9a2e814682f4ce | [
"MIT"
] | 1 | 2021-11-23T11:09:22.000Z | 2021-12-14T10:24:13.000Z | rmcp.go | lucklucif/ipmigo | b2ae2e5288df44d40f4dcca35f9a2e814682f4ce | [
"MIT"
] | 5 | 2019-07-23T13:43:10.000Z | 2022-01-06T12:46:22.000Z | package ipmigo
import (
"encoding/hex"
"fmt"
)
const (
rmcpHeaderSize = 4
rmcpVersion1 = 0x06
rmcpNoAckSeq = 0xff // no RMCP ACK (Section 13.2.1)
)
// RMCP(Remote Management Control Protocol) Class of Message (Section 13.1.3)
type rmcpClass uint8
const (
rmcpClassASF rmcpClass = 0x06
rmcpClassIPMI = 0x07
rmcpClassOEM = 0x08
)
func (c rmcpClass) IsAck() bool {
return c&0x80 != 0
}
func (c rmcpClass) String() string {
var s string
switch n := c & 0xf; n {
case rmcpClassASF:
s = "ASF"
case rmcpClassIPMI:
s = "IPMI"
case rmcpClassOEM:
s = "OEM"
default:
s = fmt.Sprintf("Reserved(%d)", n)
}
if c.IsAck() {
return "ACK " + s
} else {
return "Normal " + s
}
}
// RMCP Message Header (Section 13.1.3)
type rmcpHeader struct {
Version uint8
Reserved uint8
Sequence uint8
Class rmcpClass
}
func (r *rmcpHeader) Marshal() ([]byte, error) {
return []byte{
r.Version,
r.Reserved,
r.Sequence,
byte(r.Class),
}, nil
}
func (r *rmcpHeader) Unmarshal(buf []byte) ([]byte, error) {
if len(buf) < rmcpHeaderSize {
return nil, &MessageError{
Message: fmt.Sprintf("Invalid RMCP header size : %d", len(buf)),
Detail: hex.EncodeToString(buf),
}
}
r.Version = buf[0]
r.Reserved = buf[1]
r.Sequence = buf[2]
r.Class = rmcpClass(buf[3])
return buf[rmcpHeaderSize:], nil
}
func (r *rmcpHeader) String() string {
return fmt.Sprintf(
`{"Version":%d,"Reserved":%d,"Sequence":%d,"Class":"%s"}`,
r.Version, r.Reserved, r.Sequence, r.Class)
}
func newRMCPHeaderForIPMI() *rmcpHeader {
return &rmcpHeader{
Version: rmcpVersion1,
Sequence: rmcpNoAckSeq,
Class: rmcpClassIPMI,
}
}
| 18.021505 | 77 | 0.647375 |
753684a90c29b063513c3b155cf0289deffd4f36 | 894 | cs | C# | Runtime/Script/Manager/Network/Extension/TransportEventArgsExtension.cs | BlackFire-Studio/BlackFire.Unity | 49b7076c018b3ef465cec83bd5c0b04624bfc8ff | [
"MIT"
] | 1 | 2018-09-27T01:38:05.000Z | 2018-09-27T01:38:05.000Z | Runtime/Script/Manager/Network/Extension/TransportEventArgsExtension.cs | BlackFire-Studio/BlackFire.Unity | 49b7076c018b3ef465cec83bd5c0b04624bfc8ff | [
"MIT"
] | 1 | 2019-01-13T10:12:04.000Z | 2019-01-13T10:12:04.000Z | Runtime/Script/Manager/Network/Extension/TransportEventArgsExtension.cs | BlackFire-Studio/BlackFire.Unity | 49b7076c018b3ef465cec83bd5c0b04624bfc8ff | [
"MIT"
] | null | null | null | /*
--------------------------------------------------
| Copyright © 2008 Mr-Alan. All rights reserved. |
| Website: www.0x69h.com |
| Mail: mr.alan.china@gmail.com |
| QQ: 835988221 |
--------------------------------------------------
*/
using System.Text;
using BlackFire.Unity.Network;
namespace BlackFire.Unity
{
public static class TransportEventArgsExtension
{
public static string GetMessageString(this TransportEventArgs transportEventArgs,Encoding encoding)
{
return encoding.GetString(transportEventArgs.Message,0,transportEventArgs.Length);
}
public static string GetMessageString(this TransportEventArgs transportEventArgs)
{
return Encoding.UTF8.GetString(transportEventArgs.Message, 0, transportEventArgs.Length);
}
}
}
| 30.827586 | 107 | 0.57047 |
2617f64f6b5e4d879e4ada1cbce590c77c2679fa | 7,154 | java | Java | src/main/java/org/kilocraft/essentials/api/util/TickManager.java | DrexHD/KiloEssentials | d1b1ed09d2b11addcd13c3282334a20c0744edb2 | [
"MIT"
] | 2 | 2021-04-25T02:18:09.000Z | 2021-06-18T15:31:26.000Z | src/main/java/org/kilocraft/essentials/api/util/TickManager.java | DrexHD/KiloEssentials | d1b1ed09d2b11addcd13c3282334a20c0744edb2 | [
"MIT"
] | null | null | null | src/main/java/org/kilocraft/essentials/api/util/TickManager.java | DrexHD/KiloEssentials | d1b1ed09d2b11addcd13c3282334a20c0744edb2 | [
"MIT"
] | 5 | 2020-06-23T14:48:04.000Z | 2021-09-25T10:45:48.000Z | package org.kilocraft.essentials.api.util;
import net.minecraft.entity.EntityType;
import net.minecraft.predicate.entity.EntityPredicates;
import net.minecraft.server.network.ServerPlayerEntity;
import net.minecraft.server.world.ServerWorld;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Box;
import net.minecraft.util.math.ChunkPos;
import net.minecraft.util.registry.Registry;
import net.minecraft.world.GameMode;
import net.minecraft.world.WorldAccess;
import org.kilocraft.essentials.api.KiloEssentials;
import org.kilocraft.essentials.api.ModConstants;
import org.kilocraft.essentials.util.settings.ServerSettings;
public class TickManager {
//Ticks worth one real day
private final static int STORED_TICKS = 72000;
//Cached tick times for mspt and tps calculations
private static final long[] TICK_TIMES = new long[STORED_TICKS];
/*
* Arrays that store the tps & mspt of the last x seconds
* index - time
* 0 - 5s
* 1 - 15s
* 2 - 1m
* 3 - 5m
* 4 - 15m
* 5 - 1h
* */
private final static int[] TICK_STORAGE_SIZES = {100, 300, 1200, 6000, 18000, 72000};
public static double[] tps = new double[TICK_STORAGE_SIZES.length];
public static double[] mspt = new double[TICK_STORAGE_SIZES.length];
private static int currentTick = 0;
private TickManager() {
}
public static void onTick() {
currentTick = KiloEssentials.getMinecraftServer().getTicks();
//Get the tick length of the previous
long[] lastTickLengths = KiloEssentials.getMinecraftServer().lastTickLengths;
long lastTickLength = lastTickLengths[(currentTick + lastTickLengths.length - 1) % lastTickLengths.length];
//Make sure the value was initialized
if (lastTickLength != 0) {
TICK_TIMES[currentTick % STORED_TICKS] = lastTickLength;
}
calculateTps();
if (currentTick % ServerSettings.tick_utils_update_rate == 0 && ServerSettings.tick_utils_automated)
automatedTickUtils();
}
private static void calculateTps() {
for (int i = 0; i < TICK_STORAGE_SIZES.length; i++) {
if (i == 0 || currentTick % (i * 5) == 0) writeTpsAndMspt(i);
}
}
private static void writeTpsAndMspt(int index) {
//Time used for calculating ticks per second (each tick is at least 50ms long)
double totalTickTime = 0;
//Time used for calculating average ms per tick
double actualTotalTickTime = 0;
int validTicks = 0;
int length = Math.min(TICK_STORAGE_SIZES[index], STORED_TICKS);
for (int i = 0; i < length; i++) {
long tickTime = TICK_TIMES[(currentTick - i + STORED_TICKS) % STORED_TICKS];
if (tickTime != 0) {
//Calculate tick length (has to be at least 50ms, because that is how long the server will wait if it finished quicker)
totalTickTime += Math.max(tickTime, 50000000);
actualTotalTickTime += tickTime;
validTicks++;
}
}
if (validTicks > 0) {
double averageTickLength = actualTotalTickTime / validTicks;
double averageTPS = 1000000000 / (totalTickTime / validTicks);
tps[index] = averageTPS;
mspt[index] = averageTickLength / 1000000;
}
}
private static void automatedTickUtils() {
checkViewDistance(mspt[0]);
checkMobcaps(mspt[0]);
checkTickDistance(mspt[0]);
}
private static void checkViewDistance(double mspt) {
int viewDistance = ServerSettings.getViewDistance();
if (mspt > 45 && ServerSettings.tick_utils_global_mobcap <= ServerSettings.tick_utils_min_mobcap && ServerSettings.getViewDistance() > ServerSettings.tick_utils_min_view_distance) {
ServerSettings.setViewDistance(viewDistance - 1);
} else if (mspt < 35 && viewDistance < ServerSettings.tick_utils_max_view_distance) {
ServerSettings.setViewDistance(viewDistance + 1);
}
}
private static void checkTickDistance(double mspt) {
int tickDistance = ServerSettings.tick_utils_tick_distance;
if (mspt > 40 && tickDistance > ServerSettings.tick_utils_min_tick_distance) {
ServerSettings.setInt("tick_utils.tick_distance", ServerSettings.tick_utils_tick_distance - 1);
} else if (mspt < 30 && tickDistance < ServerSettings.tick_utils_max_tick_distance && ServerSettings.tick_utils_global_mobcap >= ServerSettings.tick_utils_max_mobcap) {
ServerSettings.setInt("tick_utils.tick_distance", ServerSettings.tick_utils_tick_distance + 1);
}
}
private static void checkMobcaps(double mspt) {
if (mspt > 45 && ServerSettings.tick_utils_tick_distance == ServerSettings.tick_utils_min_tick_distance && ServerSettings.tick_utils_global_mobcap > ServerSettings.tick_utils_min_mobcap) {
ServerSettings.setFloat("tick_utils.global_mobcap", ServerSettings.tick_utils_global_mobcap - 0.1F);
} else if (mspt < 35 && ServerSettings.tick_utils_global_mobcap < ServerSettings.tick_utils_max_mobcap && ServerSettings.getViewDistance() == ServerSettings.tick_utils_max_view_distance) {
ServerSettings.setFloat("tick_utils.global_mobcap", ServerSettings.tick_utils_global_mobcap + 0.1F);
}
}
public static boolean shouldTick(ChunkPos pos, ServerWorld world) {
if (ServerSettings.tick_utils_tick_distance == -1 || ServerSettings.tick_utils_tick_distance >= ServerSettings.getViewDistance()) {
return true;
}
for (ServerPlayerEntity player : world.getPlayers()) {
if (player.interactionManager.getGameMode() != GameMode.SPECTATOR && player.getChunkPos().getChebyshevDistance(pos) <= ServerSettings.tick_utils_tick_distance) {
return true;
}
}
return false;
}
public static boolean isEntityLimitReached(WorldAccess world, BlockPos pos, String id, EntityType<?>... entityType) {
if (entityType == null || entityType.length == 0) return true;
int range = ServerSettings.getInt("entity_limit." + id + ".range");
int limit = ServerSettings.getInt("entity_limit." + id + ".limit");
// Ignore negative values
if (range > 0 && limit > 0) {
// Count mobs from all given types
int entityCount = 0;
for (EntityType<?> type : entityType) {
entityCount += world.getEntitiesByType(type, new Box(pos.mutableCopy().add(range, range, range), pos.mutableCopy().add(-range, -range, -range)), EntityPredicates.EXCEPT_SPECTATOR).size();
}
return limit <= entityCount;
}
return false;
}
public static boolean isEntityLimitReached(WorldAccess world, BlockPos pos, EntityType<?>... entityType) {
return isEntityLimitReached(world, pos, Registry.ENTITY_TYPE.getId(entityType[0]).getPath(), entityType);
}
public static String getFormattedMSPT() {
return ModConstants.DECIMAL_FORMAT.format(mspt[0]);
}
}
| 45.858974 | 203 | 0.676405 |
fd0d1fa74c8061b3eb526f12136bb86f111fb90b | 808,677 | sql | SQL | doc/erp_tb_entity_fields_dml.sql | JoeIOU/metedata_fusion_tools | 3cf45338c4ae28e043142bf728ee6c91749ff72e | [
"Apache-2.0"
] | null | null | null | doc/erp_tb_entity_fields_dml.sql | JoeIOU/metedata_fusion_tools | 3cf45338c4ae28e043142bf728ee6c91749ff72e | [
"Apache-2.0"
] | null | null | null | doc/erp_tb_entity_fields_dml.sql | JoeIOU/metedata_fusion_tools | 3cf45338c4ae28e043142bf728ee6c91749ff72e | [
"Apache-2.0"
] | null | null | null | INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559889226883072', '3', '采购交易核算需求', 'ac_accounting_event_t', 'ac_accounting_event_t', '采购交易核算需求', '1398550861977378816', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559896915042304', '3', '验收头', 'ac_header_t', 'ac_header_t', '验收头', '1398550830260051968', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559898152361984', '3', '验收行', 'ac_line_t', 'ac_line_t', '验收行', '1398550816410460160', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559793928101888', '3', '关联交易验收控制宽表', 'ac_rt_control_t', 'ac_rt_control_t', '关联交易验收控制宽表', '1398550830792728576', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:13', '1004', '2021-05-29 16:40:13');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559880032968704', '3', '标准验收控制宽表', 'ac_standard_control_t', 'ac_standard_control_t', '标准验收控制宽表', '1398550831312822272', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559895677722624', '3', '验收事务', 'ac_transaction_t', 'ac_transaction_t', '验收事务', '1398550831837110272', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559839289499648', '3', '应付发票事件', 'apwf_event_t', 'apwf_event_t', '应付发票事件', '1398550860337405952', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:24', '1004', '2021-05-29 16:40:24');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559840518430720', '3', '应付发票事件1', 'apwf_event_t1', 'apwf_event_t1', '应付发票事件1', '1398550858768736256', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:24', '1004', '2021-05-29 16:40:24');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559843018235904', '3', '应付发票分配行', 'apwf_invoice_distribution_t', 'apwf_invoice_distribution_t', '应付发票分配行', '1398550859804729344', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:25', '1004', '2021-05-29 16:40:25');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559845677424640', '3', '应付发票核销分配行', 'apwf_invoice_offset_dist_t', 'apwf_invoice_offset_dist_t', '应付发票核销分配行', '1398550859293024256', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:25', '1004', '2021-05-29 16:40:25');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559841776721920', '3', '应付发票付款计划行', 'apwf_invoice_pay_schedule_t', 'apwf_invoice_pay_schedule_t', '应付发票付款计划行', '1398550832353009664', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:24', '1004', '2021-05-29 16:40:24');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559844247166976', '3', '应付发票头', 'APWF_INVOICE_REGISTER_T', 'APWF_INVOICE_REGISTER_T', '应付发票头', '1398550844499714048', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:25', '1004', '2021-05-29 16:40:25');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559858662989824', '3', '支付分配行', 'apwf_payment_distribution_t', 'apwf_payment_distribution_t', '支付分配行', '1398550840259272704', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:28', '1004', '2021-05-29 16:40:28');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559861146017792', '3', '支付行', 'apwf_payment_line_t', 'apwf_payment_line_t', '支付行', '1398550846399733760', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:29', '1004', '2021-05-29 16:40:29');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559859896115200', '3', '支付头', 'apwf_payment_t', 'apwf_payment_t', '支付头', '1398550845850279936', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:29', '1004', '2021-05-29 16:40:29');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559846923132928', '3', '应付发票行', 'APWF_PAY_INTERFACE_LINE_T', 'APWF_PAY_INTERFACE_LINE_T', '应付发票行', '1398550845191774208', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:26', '1004', '2021-05-29 16:40:26');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559836554813440', '3', '库存组织信息', 'bas_inv_org_info_t', 'bas_inv_org_info_t', '库存组织信息', '1398550815395438592', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:23', '1004', '2021-05-29 16:40:23');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559837917962240', '3', '库存组织参数', 'bas_inv_org_parameters_t', 'bas_inv_org_parameters_t', '库存组织参数', '1398550834974449664', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:24', '1004', '2021-05-29 16:40:24');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559819676934144', '3', '子库', 'bas_subinventories_t', 'bas_subinventories_t', '子库', '1398550835481960448', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:19', '1004', '2021-05-29 16:40:19');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559832666693632', '3', '库存交易活动', 'bas_transaction_actions_t', 'bas_transaction_actions_t', '库存交易活动', '1398550832885686272', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:22', '1004', '2021-05-29 16:40:22');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559833878847488', '3', '库存交易类型', 'bas_transaction_types_t', 'bas_transaction_types_t', '库存交易类型', '1398550833405779968', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:23', '1004', '2021-05-29 16:40:23');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559803516280832', '3', '合同履行行', 'CFC_FULFILL_LINE_T', 'CFC_FULFILL_LINE_T', '合同履行行', '1398550847511224320', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:15', '1004', '2021-05-29 16:40:15');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559802274766848', '3', '合同履行单元', 'CFC_FULFILL_UNIT_T', 'CFC_FULFILL_UNIT_T', '合同履行单元', '1398550850816335872', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:15', '1004', '2021-05-29 16:40:15');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559828745019392', '3', '库存交易成本', 'cst_inv_transaction_t', 'cst_inv_transaction_t', '库存交易成本', '1398550867039903744', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:21', '1004', '2021-05-29 16:40:21');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559887855345664', '3', '采购交易成本', 'cst_rcv_transaction_t', 'cst_rcv_transaction_t', '采购交易成本', '1398550817459036160', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559882557939712', '3', '物料标准成本明细', 'cst_std_item_cost_details_t', 'cst_std_item_cost_details_t', '物料标准成本明细', '1398550839202308096', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559881261899776', '3', '物料标准成本', 'cst_std_item_cost_t', 'cst_std_item_cost_t', '物料标准成本', '1398550838694797312', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559883812036608', '3', '物料移动平均成本', 'cst_wac_item_cost_t', 'cst_wac_item_cost_t', '物料移动平均成本', '1398550817983324160', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559800852897792', '3', '合同头', 'CS_CONTRACT_T', 'CS_CONTRACT_T', '合同头', '1398550863025954816', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:15', '1004', '2021-05-29 16:40:15');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559807257600000', '3', '合同行-S', 'CS_ORDER_ITEM_SPART_T', 'CS_ORDER_ITEM_SPART_T', '合同行-S', '1398550865978744832', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:16', '1004', '2021-05-29 16:40:16');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559804770377728', '3', '合同模型行', 'CS_ORDER_ITEM_T', 'CS_ORDER_ITEM_T', '合同模型行', '1398550866519810048', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:16', '1004', '2021-05-29 16:40:16');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559806007697408', '3', '合同行-C', 'CS_PO_LINE_T', 'CS_PO_LINE_T', '合同行-C', '1398550864263274496', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:16', '1004', '2021-05-29 16:40:16');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559783144546304', '3', '付款单元', 'CS_PU_T', 'CS_PU_T', '付款单元', '1398550863726403584', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:10', '1004', '2021-05-29 16:40:10');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559773225017344', '3', 'LE证件信息', 'hac_md_legal_entity_identity_t', 'hac_md_legal_entity_identity_t', 'LE证件信息', '1398550834450161664', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:08', '1004', '2021-05-29 16:40:08');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559822281596928', '3', '客户管理信息', 'hac_md_legal_entity_manage_t', 'hac_md_legal_entity_manage_t', '客户管理信息', '1398550865420902400', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:20', '1004', '2021-05-29 16:40:20');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559771908005888', '3', 'LE基本信息', 'hac_md_legal_entity_t', 'hac_md_legal_entity_t', 'LE基本信息', '1398550833921679360', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:08', '1004', '2021-05-29 16:40:08');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559796570513408', '3', '分录明细头', 'hah_ae_header_t', 'hah_ae_header_t', '分录明细头', '1398550837105156096', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:14', '1004', '2021-05-29 16:40:14');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559795182198784', '3', '分录与明细账关系', 'hah_ae_line_link_t', 'hah_ae_line_link_t', '分录与明细账关系', '1398550836538925056', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:13', '1004', '2021-05-29 16:40:13');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559799309393920', '3', '分录明细行的扩展维度', 'hah_ae_line_sr_t', 'hah_ae_line_sr_t', '分录明细行的扩展维度', '1398550836014637056', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:14', '1004', '2021-05-29 16:40:14');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559797933662208', '3', '分录明细行', 'hah_ae_line_t', 'hah_ae_line_t', '分录明细行', '1398550819015122944', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:14', '1004', '2021-05-29 16:40:14');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559784453169152', '3', '会计事件', 'hah_ec_event_t', 'hah_ec_event_t', '会计事件', '1398550861457285120', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:11', '1004', '2021-05-29 16:40:11');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559785837289472', '3', '会计事件处理对象', 'hah_ec_transaction_entity_t', 'hah_ec_transaction_entity_t', '会计事件处理对象', '1398550818499223552', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:11', '1004', '2021-05-29 16:40:11');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559856041549824', '3', '应收发票调整', 'har_invoice_adjustment_t', 'har_invoice_adjustment_t', '应收发票调整', '1398550854016589824', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:28', '1004', '2021-05-29 16:40:28');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559852203761664', '3', '应收发票核销明细', 'har_invoice_application_t', 'har_invoice_application_t', '应收发票核销明细', '1398550854540877824', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:27', '1004', '2021-05-29 16:40:27');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559849662013440', '3', '应收发票分配行', 'har_invoice_distribution_t', 'har_invoice_distribution_t', '应收发票分配行', '1398550852464697344', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:26', '1004', '2021-05-29 16:40:26');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559848273698816', '3', '应收发票事件', 'har_invoice_event_t', 'har_invoice_event_t', '应收发票事件', '1398550853500690432', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:26', '1004', '2021-05-29 16:40:26');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559850899333120', '3', '应收发票头', 'har_invoice_header_t', 'har_invoice_header_t', '应收发票头', '1398550849713233920', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:27', '1004', '2021-05-29 16:40:27');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559854670012416', '3', '应收发票行', 'har_invoice_line_t', 'har_invoice_line_t', '应收发票行', '1398550851885883392', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:28', '1004', '2021-05-29 16:40:28');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559857362755584', '3', '应收收款计划', 'har_invoice_payment_schedule_t', 'har_invoice_payment_schedule_t', '应收收款计划', '1398550852984791040', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:28', '1004', '2021-05-29 16:40:28');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559853441081344', '3', '应收发票税行', 'har_invoice_tax_line_t', 'har_invoice_tax_line_t', '应收发票税行', '1398550855627202560', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:27', '1004', '2021-05-29 16:40:27');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559872550330368', '3', '收据核销明细', 'HAR_RECEIPT_APPLICATION_T', 'HAR_RECEIPT_APPLICATION_T', '收据核销明细', '1398550856164073472', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559873842176000', '3', '收据费用详情', 'HAR_RECEIPT_CHARGES_T', 'HAR_RECEIPT_CHARGES_T', '收据费用详情', '1398550858248642560', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559869995999232', '3', '收据分配行', 'HAR_RECEIPT_DISTRIBUTION_T', 'HAR_RECEIPT_DISTRIBUTION_T', '收据分配行', '1398550857200066560', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:31', '1004', '2021-05-29 16:40:31');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559868704153600', '3', '收据事件', 'HAR_RECEIPT_EVENT_T', 'HAR_RECEIPT_EVENT_T', '收据事件', '1398550857720160256', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:31', '1004', '2021-05-29 16:40:31');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559871304622080', '3', '收据历史记录', 'HAR_RECEIPT_HISTORY_T', 'HAR_RECEIPT_HISTORY_T', '收据历史记录', '1398550856671584256', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559877562523648', '3', '杂收明细', 'HAR_RECEIPT_MISC_DETAIL_T', 'HAR_RECEIPT_MISC_DETAIL_T', '杂收明细', '1398550864884031488', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559867399725056', '3', '收据', 'HAR_RECEIPT_T', 'HAR_RECEIPT_T', '收据', '1398550855069360128', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:31', '1004', '2021-05-29 16:40:31');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559765083873280', '3', 'BOM头表', 'hbom_bill_of_materials_t', 'hbom_bill_of_materials_t', 'BOM头表', '1398550868616962048', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:06', '1004', '2021-05-29 16:40:06');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559767856308224', '3', 'BOM行表', 'hbom_bl_components_t', 'hbom_bl_components_t', 'BOM行表', '1398550869137055744', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:07', '1004', '2021-05-29 16:40:07');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559823514722304', '3', '工艺路线头表', 'hbom_bl_operational_routings_t', 'hbom_bl_operational_routings_t', '工艺路线头表', '1398550869715869696', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:20', '1004', '2021-05-29 16:40:20');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559766467993600', '3', 'BOM标准工序资源关系表', 'hbom_bl_operation_resources_t', 'hbom_bl_operation_resources_t', 'BOM标准工序资源关系表', '1398550871427145728', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:07', '1004', '2021-05-29 16:40:07');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559824831733760', '3', '工艺路线行表', 'hbom_bl_operation_sequences_t', 'hbom_bl_operation_sequences_t', '工艺路线行表', '1398550870265323520', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:20', '1004', '2021-05-29 16:40:20');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559770473553920', '3', 'Item基本信息 - 常用属性', 'hbom_mat_system_items_t', 'hbom_mat_system_items_t', 'Item基本信息 - 常用属性', '1398550870835748864', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:07', '1004', '2021-05-29 16:40:07');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559893077254144', '3', '销售订单头', 'hord_order_header_t', 'hord_order_header_t', '销售订单头', '1398550851353206784', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559894373294080', '3', '销售订单行', 'hord_order_line_t', 'hord_order_line_t', '销售订单行', '1398550850258493440', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559813481947136', '3', '在制订单物料', 'HWIP_ORDER_COMPONENTS_T', 'HWIP_ORDER_COMPONENTS_T', '在制订单物料', '1398550867564191744', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:18', '1004', '2021-05-29 16:40:18');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559814723461120', '3', '在制订单物料交易', 'HWIP_ORDER_MATERIAL_TRANS_T', 'HWIP_ORDER_MATERIAL_TRANS_T', '在制订单物料交易', '1398550868096868352', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:18', '1004', '2021-05-29 16:40:18');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559809761599488', '3', '在制订单工序', 'HWIP_ORDER_OPERATIONS_T', 'HWIP_ORDER_OPERATIONS_T', '在制订单工序', '1398550842935238656', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:17', '1004', '2021-05-29 16:40:17');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559811015696384', '3', '在制订单工序移动', 'HWIP_ORDER_OPERATION_TRANS_T', 'HWIP_ORDER_OPERATION_TRANS_T', '在制订单工序移动', '1398550843455332352', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:17', '1004', '2021-05-29 16:40:17');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559812253016064', '3', '在制订单工序资源', 'HWIP_ORDER_RESOURCES_T', 'HWIP_ORDER_RESOURCES_T', '在制订单工序资源', '1398550843975426048', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:17', '1004', '2021-05-29 16:40:17');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559815964975104', '3', '在制订单资源交易', 'HWIP_ORDER_RESOURCE_TRANS_T', 'HWIP_ORDER_RESOURCE_TRANS_T', '在制订单资源交易', '1398550860924608512', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:18', '1004', '2021-05-29 16:40:18');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559818435420160', '3', '在制资源交易核算需求', 'HWIP_TRANS_ACCREQ_T', 'HWIP_TRANS_ACCREQ_T', '在制资源交易核算需求', '1398550815881977856', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:19', '1004', '2021-05-29 16:40:19');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559817202294784', '3', '在制资源交易成本分配信息', 'HWIP_TRANS_DISTRIBUTIONS_T', 'HWIP_TRANS_DISTRIBUTIONS_T', '在制资源交易成本分配信息', '1398550839730790400', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:19', '1004', '2021-05-29 16:40:19');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559808503308288', '3', '在制订单头', 'HWIP_WIP_ORDERS_T', 'HWIP_WIP_ORDERS_T', '在制订单头', '1398550819547799552', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:17', '1004', '2021-05-29 16:40:17');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559791260524544', '3', '关联交易头', 'ic_transaction_header_t', 'ic_transaction_header_t', '关联交易头', '1398550846982742016', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:12', '1004', '2021-05-29 16:40:12');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559792636256256', '3', '关联交易行', 'ic_transaction_line', 'ic_transaction_line', '关联交易行', '1398550849147002880', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:13', '1004', '2021-05-29 16:40:13');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559835250384896', '3', '库存现有量', 'inv_onhand_quantities_t', 'inv_onhand_quantities_t', '库存现有量', '1398550820067893248', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:23', '1004', '2021-05-29 16:40:23');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559775695462400', '3', 'PO头', 'po_header_t', 'po_header_t', 'PO头', '1398550820596375552', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:09', '1004', '2021-05-29 16:40:09');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559774453948416', '3', 'PO分配行', 'po_line_distribution_t', 'po_line_distribution_t', 'PO分配行', '1398550821120663552', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:08', '1004', '2021-05-29 16:40:08');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559779432587264', '3', 'PO行发运行', 'po_line_shipment_t', 'po_line_shipment_t', 'PO行发运行', '1398550821636562944', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:10', '1004', '2021-05-29 16:40:10');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559778191073280', '3', 'PO行', 'po_line_t', 'po_line_t', 'PO行', '1398550822206988288', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:09', '1004', '2021-05-29 16:40:09');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559789968678912', '3', '关联交易PO控制宽表', 'po_rt_control_t', 'po_rt_control_t', '关联交易PO控制宽表', '1398550822743859200', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:12', '1004', '2021-05-29 16:40:12');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559878795649024', '3', '标准PO控制宽表', 'po_standard_control_t', 'po_standard_control_t', '标准PO控制宽表', '1398550823268147200', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559776953753600', '3', 'PO税行', 'po_tax_line_t', 'po_tax_line_t', 'PO税行', '1398550823796629504', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:09', '1004', '2021-05-29 16:40:09');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559781898838016', '3', '交付项目基本信息', 'project_t', 'project_t', '交付项目基本信息', '1398550824908120064', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:10', '1004', '2021-05-29 16:40:10');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559890472591360', '3', '销售收入成本核算单头', 'rcr_rev_cost_acc_bill_header_t', 'rcr_rev_cost_acc_bill_header_t', '销售收入成本核算单头', '1398550841307848704', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559891772825600', '3', '销售收入成本核算单行', 'rcr_rev_cost_acc_bill_line_t', 'rcr_rev_cost_acc_bill_line_t', '销售收入成本核算单行', '1398550841832136704', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559863620657152', '3', '收入成本核算单分配行', 'rcr_rev_cost_distribution_t', 'rcr_rev_cost_distribution_t', '收入成本核算单分配行', '1398550837654609920', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:30', '1004', '2021-05-29 16:40:30');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559862383337472', '3', '收入成本核算单事件', 'rcr_rev_cost_event_t', 'rcr_rev_cost_event_t', '收入成本核算单事件', '1398550838170509312', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:29', '1004', '2021-05-29 16:40:29');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559875083689984', '3', '服务成本核算单头', 'rcr_scr_acc_bill_header_t', 'rcr_scr_acc_bill_header_t', '服务成本核算单头', '1398550840775172096', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559876325203968', '3', '服务成本核算单行', 'rcr_scr_acc_bill_line_t', 'rcr_scr_acc_bill_line_t', '服务成本核算单行', '1398550824325111808', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559769253011456', '3', 'Corporate汇率发布信息', 'RM_CORP_RATE_RELEASE_T', 'RM_CORP_RATE_RELEASE_T', 'Corporate汇率发布信息', '1398550825428213760', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:07', '1004', '2021-05-29 16:40:07');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559826127773696', '3', '币种信息', 'RM_CURRENCY_INFO_T', 'RM_CURRENCY_INFO_T', '币种信息', '1398550825944113152', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:21', '1004', '2021-05-29 16:40:21');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559780657324032', '3', 'SPOT汇率发布信息', 'RM_RATE_RELEASE_T', 'RM_RATE_RELEASE_T', 'SPOT汇率发布信息', '1398550826468401152', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:10', '1004', '2021-05-29 16:40:10');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559864916697088', '3', '收入触发记录头', 'RTS_REVENUE_SCHEDULES_T', 'RTS_REVENUE_SCHEDULES_T', '收入触发记录头', '1398550848618520576', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:30', '1004', '2021-05-29 16:40:30');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559866162405376', '3', '收入触发记录行', 'RTS_REVENUE_TRIGGER_LINE_T', 'RTS_REVENUE_TRIGGER_LINE_T', '收入触发记录行', '1398550848106815488', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:30', '1004', '2021-05-29 16:40:30');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559787217215488', '3', '供应商SITE信息', 'SBI_SITE_T', 'SBI_SITE_T', '供应商SITE信息', '1398550826988494848', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:11', '1004', '2021-05-29 16:40:11');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559788588752896', '3', '供应商头信息', 'SBI_SUPPLIER_T', 'SBI_SUPPLIER_T', '供应商头信息', '1398550827563114496', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:12', '1004', '2021-05-29 16:40:12');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559821048471552', '3', '子项目信息', 'subproject_t', 'subproject_t', '子项目信息', '1398550828154511360', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:20', '1004', '2021-05-29 16:40:20');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559827373481984', '3', '库存交易', 'txn_inv_transactions_t', 'txn_inv_transactions_t', '库存交易', '1398550828691382272', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:21', '1004', '2021-05-29 16:40:21');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559831358070784', '3', '库存交易核算需求', 'txn_inv_transaction_costs_t', 'txn_inv_transaction_costs_t', '库存交易核算需求', '1398550862505861120', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:22', '1004', '2021-05-29 16:40:22');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559830120751104', '3', '库存交易成本分配信息', 'txn_inv_trans_distributions_t', 'txn_inv_trans_distributions_t', '库存交易成本分配信息', '1398550816934748160', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:22', '1004', '2021-05-29 16:40:22');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559886416699392', '3', '税种信息', 'utx_tax_categories_t', 'utx_tax_categories_t', '税种信息', '1398550842402562048', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398561413206269952', '3', '税码信息', 'utx_tax_codes_t', 'utx_tax_codes_t', '税码信息', '1398550829215670272', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39');
INSERT INTO `demo`.`md_entities` (`md_entity_id`, `tenant_id`, `md_entity_name`, `md_entity_code`, `md_entity_name_en`, `md_entity_desc`, `md_tables_id`, `sys_flag`, `public_flag`, `text_column1`, `text_column2`, `text_column3`, `text_column4`, `text_column5`, `int_column1`, `int_column2`, `int_column3`, `num_column1`, `num_column2`, `num_column3`, `date_column1`, `date_column2`, `date_column3`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`) VALUES ('1398559885103882240', '3', '税率信息', 'utx_tax_rates_t', 'utx_tax_rates_t', '税率信息', '1398550829723181056', 'N', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35');
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559874760728583', '3', '1398559873842176000', 'coa_department_code', 'coa_department_code', 'char', '30', NULL, 'Y', 'N', 'N', 'COA部门段编码:主数据COA部门段', '1398550858441580552', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559874760728584', '3', '1398559873842176000', 'coa_account_code', 'coa_account_code', 'char', '10', NULL, 'Y', 'N', 'N', 'COA会计科目段编码:主数据COA会计科目段', '1398550858441580553', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559874760728585', '3', '1398559873842176000', 'coa_product_code', 'coa_product_code', 'char', '50', NULL, 'Y', 'N', 'N', 'COA产品段编码:主数据COA产品段', '1398550858441580554', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559874760728586', '3', '1398559873842176000', 'coa_ic_code', 'coa_ic_code', 'char', '30', NULL, 'Y', 'N', 'N', 'COA IC段编码:主数据COA IC段', '1398550858441580555', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559874760728587', '3', '1398559873842176000', 'unit_code', 'unit_code', 'char', '30', NULL, 'Y', 'N', 'N', '管理单元编码:管理单元的唯一标识', '1398550858441580556', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559874760728588', '3', '1398559873842176000', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '创建人:审计字段', '1398550858441580557', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559874760728589', '3', '1398559873842176000', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '创建日期:审计字段', '1398550858441580558', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559874760728590', '3', '1398559873842176000', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '最后修改人:审计字段', '1398550858441580559', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559874760728591', '3', '1398559873842176000', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '最后修改日期:审计字段', '1398550858441580560', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559874760728592', '3', '1398559873842176000', 'description', 'description', 'char', '500', NULL, 'Y', 'N', 'N', '对本条记录的说明:审计字段', '1398550858441580561', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:32', '1004', '2021-05-29 16:40:32', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875788333056', '3', '1398559875083689984', 'src_acc_bill_header_id', 'src_acc_bill_header_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '服务成本核算单头ID:用于唯一标识一条服务成本核算单头记录的ID,雪花算法生成。', '1398550840972304384', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048256', '3', '1398559875083689984', 'src_acc_bill_number', 'src_acc_bill_number', 'char', '50', NULL, 'Y', 'N', 'N', '服务成本核算单编码:用于唯一标识一条服务成本核算单头记录的编码', '1398550840972304385', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048257', '3', '1398559875083689984', 'partition_number', 'partition_number', 'int', NULL, NULL, 'Y', 'N', 'N', '分片键:分区字段,IT提升性能用', '1398550840972304386', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048258', '3', '1398559875083689984', 'unit_code', 'unit_code', 'char', '30', NULL, 'Y', 'N', 'N', '管理单元编码:交易控制层模块之间的关键通信要素,以及分库的关键要素', '1398550840972304387', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048259', '3', '1398559875083689984', 'contract_number', 'contract_number', 'char', '20', NULL, 'Y', 'N', 'N', '华为合同号:在内部相关系统中调用,按公司定义的合同号规则确定。规范华为集团内的合同号编码规则,指导各流程环节正确使用合同号,保证每个合同被唯一识别', '1398550840972304388', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048260', '3', '1398559875083689984', 'sub_project_number', 'sub_project_number', 'char', '40', NULL, 'Y', 'N', 'N', '子项目编码:通常是由4开头的7位编码,用于标识子项目。基于交付契约(可以是内部契约)建立,直接产生交易层面的数据,满足不同维度的财务核算要求。', '1398550840972304389', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048261', '3', '1398559875083689984', 'project_number', 'project_number', 'char', '40', NULL, 'Y', 'N', 'N', '交付项目编码:核算多维度要求', '1398550840972304390', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048262', '3', '1398559875083689984', 'coa_company_code', 'coa_company_code', 'char', '30', NULL, 'Y', 'N', 'N', 'COA公司段编码:来源于PO的公司段,以支撑服务成本的COA公司段生成', '1398550840972304391', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048263', '3', '1398559875083689984', 'coa_geo_pc_code', 'coa_geo_pc_code', 'char', '10', NULL, 'Y', 'N', 'N', 'COA区域段编码:来源于PO的区域段,以支撑服务成本的COA部门段生成', '1398550840972304392', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048264', '3', '1398559875083689984', 'task_number', 'task_number', 'char', '100', NULL, 'Y', 'N', 'N', 'TASK编码:来源于PO上的task Number,用于匹配服务成本解析结论', '1398550840972304393', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048265', '3', '1398559875083689984', 'coa_product_code', 'coa_product_code', 'char', '50', NULL, 'Y', 'N', 'N', 'COA产品段编码:来源于PO分配行的产品段,以支撑服务成本的COA部门段生成', '1398550840972304394', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048266', '3', '1398559875083689984', 'coa_account_code', 'coa_account_code', 'char', '10', NULL, 'Y', 'N', 'N', 'COA会计科目段编码:来源PO上的科目段,服务成本仅核算557/129/135的科目。', '1398550840972304395', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048267', '3', '1398559875083689984', 'coa_department_code', 'coa_department_code', 'char', '30', NULL, 'Y', 'N', 'N', 'COA部门段编码:来源于PO分配行的部门段,以支撑服务成本的COA 部门段生成', '1398550840972304396', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048268', '3', '1398559875083689984', 'coa_bu_code', 'coa_bu_code', 'char', '10', NULL, 'Y', 'N', 'N', 'COA BU段编码:来源于PO分配行的BU段,以支撑服务成本的COA BU段生成', '1398550840972304397', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048269', '3', '1398559875083689984', 'coa_ic_code', 'coa_ic_code', 'char', '30', NULL, 'Y', 'N', 'N', 'COA IC段编码:来源于PO分配行的IC段,以支撑服务成本的COA IC段生成', '1398550840972304398', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048270', '3', '1398559875083689984', 'category_id', 'category_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '采购品类ID:采购品类Category分类的唯一标识', '1398550840972304399', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048271', '3', '1398559875083689984', 'closed_code', 'closed_code', 'char', '25', NULL, 'Y', 'N', 'N', '订单关闭状态:取PO发运行的关闭代码(CLOSED_CODE),取值包括:OPEN、CLOSED、CLOSED FOR INVOICE、CLOSED FOR RECEIVING、FINALLY CLOSED。用于核算逻辑处理,未全部验收的场景,若状态关闭那么以验收数量作为PO总数量', '1398550840972304400', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048272', '3', '1398559875083689984', 'transaction_currency_code', 'transaction_currency_code', 'char', '15', NULL, 'Y', 'N', 'N', '交易币币种代码:取PO头上的币种,作为预提的交易币币种,为核算基本要求。', '1398550840972304401', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048273', '3', '1398559875083689984', 'unit_price', 'unit_price', 'decimal', '38', '18', 'Y', 'N', 'N', '采购单价:取PO发运行的单价,用于计算服务成本金额。对于多里程碑方案(分批验收),一个PO行对应多个PO发运行,单价会进行拆分。', '1398550840972304402', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048274', '3', '1398559875083689984', 'quantity', 'quantity', 'decimal', '24', '6', 'Y', 'N', 'N', '数量:来源于PO行,用于计算PO总金额。', '1398550840972304403', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048275', '3', '1398559875083689984', 'quantity_ordered', 'quantity_ordered', 'decimal', '24', '6', 'Y', 'N', 'N', 'PO订单数量:来源于采购PO,取分配行上的Quantity,用于计算PO采购总数量', '1398550840972304404', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048276', '3', '1398559875083689984', 'quantity_delivered', 'quantity_delivered', 'decimal', '24', '6', 'Y', 'N', 'N', 'PO入库数量:来源于采购PO,取分配行上的Quantity Delivered,用于计算PO采购总数量', '1398550840972304405', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048277', '3', '1398559875083689984', 'quantity_cancelled', 'quantity_cancelled', 'decimal', '24', '6', 'Y', 'N', 'N', 'PO取消数量:来源于采购PO,取分配行的Quantity Cancelled,用于计算PO采购总数量', '1398550840972304406', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048278', '3', '1398559875083689984', 'transaction_amount', 'transaction_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '交易币金额:用于计算服务成本预提金额。', '1398550840972304407', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048279', '3', '1398559875083689984', 'functional_currency_code', 'functional_currency_code', 'char', '15', NULL, 'Y', 'N', 'N', '本位币币种代码:核算基本要求', '1398550840972304408', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048280', '3', '1398559875083689984', 'supplier_code', 'supplier_code', 'char', '30', NULL, 'Y', 'N', 'N', '供应商编码:取PO头上的供应商编码,为服务成本多维度核算要求。', '1398550840972304409', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048281', '3', '1398559875083689984', 'document_distribution_id', 'document_distribution_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '单据分配行ID:对于PO来源,为PO分配行ID;对于AP来源,为AP分配行ID。用于追溯前端交易的信息。', '1398550840972304410', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048282', '3', '1398559875083689984', 'document_source', 'document_source', 'char', '50', NULL, 'Y', 'N', 'N', '单据来源编码:来源于PO或AP', '1398550840972304411', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048283', '3', '1398559875083689984', 'start_date', 'start_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', 'PO开始时间:优先取PO发运行的开始时间,为空时取PO发运行的创建时间,用于计算直线法比例。', '1398550840972304412', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048284', '3', '1398559875083689984', 'end_date', 'end_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', 'PO结束时间:优先取PO发运行的结束时间,为空时取PO发运行的创建时间,用于计算直线法比例。', '1398550840972304413', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048285', '3', '1398559875083689984', 'po_number', 'po_number', 'char', '20', NULL, 'Y', 'N', 'N', 'PO号:来源于PO头,多维度核算需求。', '1398550840972304414', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048286', '3', '1398559875083689984', 'approval_status', 'approval_status', 'char', '25', NULL, 'Y', 'N', 'N', 'PO审批状态:服务成本核算只取审批通过的PO数据。', '1398550840972304415', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048287', '3', '1398559875083689984', 'approve_date', 'approve_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', 'PO审批日期:取PO头的审批时间,用于确定预提的数据范围,没有审批时间,就取创建时间。采购订单没有会计期,比如5月1号结账4月份的,用这个时间来判断', '1398550840972304416', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048288', '3', '1398559875083689984', 'expenditure_category_code', 'expenditure_category_code', 'char', '30', NULL, 'Y', 'N', 'N', '支出类别编码:用于判断服务成本的不同类型,和会计事件类型组合确定最终的科目,是决定会计科目的因素之一。', '1398550840972304417', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048289', '3', '1398559875083689984', 'exchange_rate_type', 'exchange_rate_type', 'char', '100', NULL, 'Y', 'N', 'N', '汇率类型:来源于PO头,分析参考用。', '1398550840972304418', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048290', '3', '1398559875083689984', 'exchange_rate_date', 'exchange_rate_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '汇率日期:来源于PO头,分析参考用。', '1398550840972304419', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048291', '3', '1398559875083689984', 'exchange_rate', 'exchange_rate', 'decimal', '38', '18', 'Y', 'N', 'N', '汇率值:来源于PO头,为PO创建时点的汇率,用于计算本位币金额。', '1398550840972304420', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048292', '3', '1398559875083689984', 'ou_name', 'ou_name', 'char', '20', NULL, 'Y', 'N', 'N', 'OU名称:通常以OU+公司简称+公司编码来表示,支撑未来多组织多账簿核算', '1398550840972304421', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048293', '3', '1398559875083689984', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '创建人:IT审计字段', '1398550840972304422', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048294', '3', '1398559875083689984', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '创建日期:IT审计字段', '1398550840972304423', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048295', '3', '1398559875083689984', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '最后修改人:IT审计字段', '1398550840972304424', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048296', '3', '1398559875083689984', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '最后修改日期:IT审计字段', '1398550840972304425', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048297', '3', '1398559875083689984', 'description', 'description', 'char', '500', NULL, 'Y', 'N', 'N', '对本条记录的说明:IT审计字段', '1398550840972304426', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048298', '3', '1398559875083689984', 'query_fields', 'query_fields', 'text', NULL, NULL, 'Y', 'N', 'N', '查询域,实际存储值包括:\r\nPO创建时间,po_created_date,timestamp\r\nPO审批时间,po_approved_date,timestamp\r\nPO行描述,po_line_description,varchar(240)\r\n物料编码,item_code,varchar(40)\r\n采购来源,po_source,varchar(150)', '1398550840972304427', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048299', '3', '1398559875083689984', 'attribute1', 'attribute1', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域1:一层品类名称,category_level1,varchar(40)', '1398550840972304428', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048300', '3', '1398559875083689984', 'attribute2', 'attribute2', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域2:二层品类名称,category_level2,varchar(40)', '1398550840972304429', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048301', '3', '1398559875083689984', 'attribute3', 'attribute3', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域3:三层品类名称,category_level3,varchar(40)', '1398550840972304430', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048302', '3', '1398559875083689984', 'attribute4', 'attribute4', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域4:未启用', '1398550840972304431', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048303', '3', '1398559875083689984', 'attribute5', 'attribute5', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域5:未启用', '1398550840972304432', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048304', '3', '1398559875083689984', 'attribute6', 'attribute6', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域6:未启用', '1398550840972304433', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048305', '3', '1398559875083689984', 'attribute7', 'attribute7', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域7:未启用', '1398550840972304434', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048306', '3', '1398559875083689984', 'attribute8', 'attribute8', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域8:未启用', '1398550840972304435', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048307', '3', '1398559875083689984', 'attribute9', 'attribute9', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域9:未启用', '1398550840972304436', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048308', '3', '1398559875083689984', 'attribute10', 'attribute10', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域10:未启用', '1398550840972304437', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048309', '3', '1398559875083689984', 'attribute11', 'attribute11', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域11:未启用', '1398550840972304438', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048310', '3', '1398559875083689984', 'attribute12', 'attribute12', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域12:未启用', '1398550840972304439', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048311', '3', '1398559875083689984', 'attribute13', 'attribute13', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域13:未启用', '1398550840972304440', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048312', '3', '1398559875083689984', 'attribute14', 'attribute14', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域14:未启用', '1398550840972304441', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048313', '3', '1398559875083689984', 'attribute15', 'attribute15', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域15:未启用', '1398550840972304442', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048314', '3', '1398559875083689984', 'attribute16', 'attribute16', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域16:未启用', '1398550840972304443', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048315', '3', '1398559875083689984', 'attribute17', 'attribute17', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域17:未启用', '1398550840972304444', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048316', '3', '1398559875083689984', 'attribute18', 'attribute18', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域18:未启用', '1398550840972304445', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048317', '3', '1398559875083689984', 'attribute19', 'attribute19', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域19:未启用', '1398550840972304446', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559875998048318', '3', '1398559875083689984', 'attribute20', 'attribute20', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域20:未启用', '1398550840972304447', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877021458432', '3', '1398559876325203968', 'src_acc_bill_line_id', 'src_acc_bill_line_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '服务成本核算单行ID:用于唯一标识一条服务成本核算单行记录的ID,雪花算法生成。', '1398550824576770048', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367936', '3', '1398559876325203968', 'src_acc_bill_line_number', 'src_acc_bill_line_number', 'char', '50', NULL, 'Y', 'N', 'N', '服务成本核算单行编码:用于唯一标识一条服务成本核算单行记录的编码。', '1398550824576770049', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367937', '3', '1398559876325203968', 'partition_number', 'partition_number', 'int', NULL, NULL, 'Y', 'N', 'N', '分片键:分区字段,IT提升性能用', '1398550824576770050', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367938', '3', '1398559876325203968', 'src_acc_bill_line_type', 'src_acc_bill_line_type', 'char', '30', NULL, 'Y', 'N', 'N', '服务成本核算单行类型:包括预提Accrual和验收Transaction。', '1398550824576770051', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367939', '3', '1398559876325203968', 'src_acc_bill_header_id', 'src_acc_bill_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '服务成本核算单头ID:用于服务成本核算单头表上的主键ID。', '1398550824576770052', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367940', '3', '1398559876325203968', 'pre_src_acc_bill_line_id', 'pre_src_acc_bill_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '上一次服务成本核算单行ID:用于标识上一次预提的成本核算单行ID', '1398550824576770053', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367941', '3', '1398559876325203968', 'related_src_acc_bill_line_id', 'related_src_acc_bill_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '关联服务成本核算单行ID:用于标识预提对应关联的验收行ID。', '1398550824576770054', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367942', '3', '1398559876325203968', 'current_flag', 'current_flag', 'char', '1', NULL, 'Y', 'N', 'N', '当前记录标识:用于标识当前的核算单记录', '1398550824576770055', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367943', '3', '1398559876325203968', 'transaction_id', 'transaction_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO交易ID:来源采购明细账,用于追溯PO验收事务数据', '1398550824576770056', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367944', '3', '1398559876325203968', 'ou_name', 'ou_name', 'char', '20', NULL, 'Y', 'N', 'N', 'OU名称:通常以OU+公司简称+公司编码来表示,支撑未来多组织多账簿核算', '1398550824576770057', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367945', '3', '1398559876325203968', 'unit_code', 'unit_code', 'char', '30', NULL, 'Y', 'N', 'N', '管理单元编码:交易控制层模块之间的关键通信要素,以及分库的关键要素', '1398550824576770058', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367946', '3', '1398559876325203968', 'quantity', 'quantity', 'decimal', '24', '6', 'Y', 'N', 'N', '数量:取自采购验收明细帐上的数量,用于支撑分配行金额计算。', '1398550824576770059', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367947', '3', '1398559876325203968', 'cost_analysis_conclusion', 'cost_analysis_conclusion', 'char', '30', NULL, 'Y', 'N', 'N', '服务成本解析结论:用于记录验收行生成时点的成本解析结论。', '1398550824576770060', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367948', '3', '1398559876325203968', 'accumulated_percent', 'accumulated_percent', 'decimal', '5', '4', 'Y', 'N', 'N', '累计比例:从收入触发记录获取的累计收入触发比例。', '1398550824576770061', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367949', '3', '1398559876325203968', 'nrec_tax_transaction_amount', 'nrec_tax_transaction_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '不可抵扣税交易币金额:对于验收场景,入账金额为含不可抵扣税金额。\r\n对于预提场景,入账金额为不含不可抵扣税金额。', '1398550824576770062', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367950', '3', '1398559876325203968', 'nrec_tax_functional_amount', 'nrec_tax_functional_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '不可抵扣税本位币金额:不可抵扣税为验收明细账传递,或收入中心自行计算。计算公式为:(含税金额-不含税金额)*不可扣税税率。\r\n对于验收场景,入账金额为含不可抵扣税金额。\r\n对于预提场景,入账金额为不含不可抵扣税金额。', '1398550824576770063', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367951', '3', '1398559876325203968', 'current_net_transaction_amount', 'current_net_transaction_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '当期不含税交易币金额:不可抵扣税为验收明细账传递,或收入中心自行计算。计算公式为:(含税金额-不含税金额)*不可扣税税率。\r\n对于验收场景,入账金额为含不可抵扣税金额。\r\n对于预提场景,入账金额为不含不可抵扣税金额。', '1398550824576770064', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367952', '3', '1398559876325203968', 'current_net_functional_amount', 'current_net_functional_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '当期不含税本位币金额:对于验收行,取自采购验收明细帐,用于计算服务成本结转的入账金额。\r\n对于预提行,用本次按进度法计算应预提总金额-截止上次累计预提金额。用于生成当期入账所需的预提金额', '1398550824576770065', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367953', '3', '1398559876325203968', 'accum_net_transaction_amount', 'accum_net_transaction_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '累计不含税交易币金额:仅预提行使用,用本次按进度法计算应预提总金额-截止上次累计预提金额,用于生成当期入账所需的预提金额', '1398550824576770066', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367954', '3', '1398559876325203968', 'accum_net_functional_amount', 'accum_net_functional_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '累计不含税本位币金额:仅预提行使用,用本次按进度法计算应预提总金额-截止上次累计预提金额。用于生成当期入账所需的预提金额', '1398550824576770067', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367955', '3', '1398559876325203968', 'transaction_currency_code', 'transaction_currency_code', 'char', '15', NULL, 'Y', 'N', 'N', '交易币币种代码:核算基本要求', '1398550824576770068', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367956', '3', '1398559876325203968', 'functional_currency_code', 'functional_currency_code', 'char', '15', NULL, 'Y', 'N', 'N', '本位币币种代码:前端传入或取账套默认的本位币种,核算基本要求', '1398550824576770069', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367957', '3', '1398559876325203968', 'transaction_date', 'transaction_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '交易时间:收入中心按规则计算,用于生成会计期。', '1398550824576770070', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367958', '3', '1398559876325203968', 'transaction_type', 'transaction_type', 'char', '25', NULL, 'Y', 'N', 'N', '交易类型:取自采购验收交易上的交易类型,用于识别该笔验收记录是验收还是退验', '1398550824576770071', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367959', '3', '1398559876325203968', 'exchange_rate_date', 'exchange_rate_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '汇率日期:对于验收场景,继承PO Exchange Date(收货日期)。对于预提场景,取交易时间。', '1398550824576770072', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367960', '3', '1398559876325203968', 'exchange_rate_type', 'exchange_rate_type', 'char', '100', NULL, 'Y', 'N', 'N', '汇率类型:前端传入或取账套默认的汇率类型。', '1398550824576770073', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367961', '3', '1398559876325203968', 'exchange_rate', 'exchange_rate', 'decimal', '38', '18', 'Y', 'N', 'N', '汇率值:如果验收明细帐传递本币金额,则无需带上汇率信息', '1398550824576770074', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367962', '3', '1398559876325203968', 'query_fields', 'query_fields', 'text', NULL, NULL, 'Y', 'N', 'N', '查询域:未启用', '1398550824576770075', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367963', '3', '1398559876325203968', 'attribute1', 'attribute1', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域1:未启用', '1398550824576770076', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367964', '3', '1398559876325203968', 'attribute2', 'attribute2', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域2:未启用', '1398550824576770077', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367965', '3', '1398559876325203968', 'attribute3', 'attribute3', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域3:未启用', '1398550824576770078', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367966', '3', '1398559876325203968', 'attribute4', 'attribute4', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域4:未启用', '1398550824576770079', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367967', '3', '1398559876325203968', 'attribute5', 'attribute5', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域5:未启用', '1398550824576770080', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367968', '3', '1398559876325203968', 'attribute6', 'attribute6', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域6:未启用', '1398550824576770081', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367969', '3', '1398559876325203968', 'attribute7', 'attribute7', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域7:未启用', '1398550824576770082', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367970', '3', '1398559876325203968', 'attribute8', 'attribute8', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域8:未启用', '1398550824576770083', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367971', '3', '1398559876325203968', 'attribute9', 'attribute9', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域9:未启用', '1398550824576770084', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367972', '3', '1398559876325203968', 'attribute10', 'attribute10', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域10:未启用', '1398550824576770085', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367973', '3', '1398559876325203968', 'attribute11', 'attribute11', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域11:未启用', '1398550824576770086', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367974', '3', '1398559876325203968', 'attribute12', 'attribute12', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域12:未启用', '1398550824576770087', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367975', '3', '1398559876325203968', 'attribute13', 'attribute13', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域13:未启用', '1398550824576770088', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367976', '3', '1398559876325203968', 'attribute14', 'attribute14', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域14:未启用', '1398550824576770089', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367977', '3', '1398559876325203968', 'attribute15', 'attribute15', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域15:未启用', '1398550824576770090', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367978', '3', '1398559876325203968', 'attribute16', 'attribute16', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域16:未启用', '1398550824576770091', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367979', '3', '1398559876325203968', 'attribute17', 'attribute17', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域17:未启用', '1398550824576770092', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367980', '3', '1398559876325203968', 'attribute18', 'attribute18', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域18:未启用', '1398550824576770093', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367981', '3', '1398559876325203968', 'attribute19', 'attribute19', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域19:未启用', '1398550824576770094', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367982', '3', '1398559876325203968', 'attribute20', 'attribute20', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域20:未启用', '1398550824576770095', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367983', '3', '1398559876325203968', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '创建人:IT审计字段', '1398550824576770096', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367984', '3', '1398559876325203968', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '创建日期:IT审计字段', '1398550824576770097', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367985', '3', '1398559876325203968', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '最后修改人:IT审计字段', '1398550824576770098', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367986', '3', '1398559876325203968', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '最后修改日期:IT审计字段', '1398550824576770099', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559877235367987', '3', '1398559876325203968', 'description', 'description', 'char', '500', NULL, 'Y', 'N', 'N', '对本条记录的说明:IT审计字段', '1398550824576770100', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878254583808', '3', '1398559877562523648', 'misc_distribution_id', 'misc_distribution_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '杂收分配行ID:杂收分配行主键', '1398550865097940992', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493312', '3', '1398559877562523648', 'receipt_id', 'receipt_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '收据ID:收据表主键', '1398550865097940993', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493313', '3', '1398559877562523648', 'receipt_history_id', 'receipt_history_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '收据历史ID:收据历史记录表主键', '1398550865097940994', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493314', '3', '1398559877562523648', 'coa_company_code', 'coa_company_code', 'char', '30', NULL, 'Y', 'N', 'N', 'COA公司段编码:主数据COA公司段', '1398550865097940995', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493315', '3', '1398559877562523648', 'coa_bu_code', 'coa_bu_code', 'char', '10', NULL, 'Y', 'N', 'N', 'COA BU段编码:主数据COA BU段', '1398550865097940996', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493316', '3', '1398559877562523648', 'coa_geo_pc_code', 'coa_geo_pc_code', 'char', '10', NULL, 'Y', 'N', 'N', 'COA区域段编码:主数据COA区域段', '1398550865097940997', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493317', '3', '1398559877562523648', 'coa_department_code', 'coa_department_code', 'char', '30', NULL, 'Y', 'N', 'N', 'COA部门段编码:主数据COA部门段', '1398550865097940998', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493318', '3', '1398559877562523648', 'coa_account_code', 'coa_account_code', 'char', '10', NULL, 'Y', 'N', 'N', 'COA会计科目段编码:主数据COA会计科目段', '1398550865097940999', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493319', '3', '1398559877562523648', 'coa_product_code', 'coa_product_code', 'char', '50', NULL, 'Y', 'N', 'N', 'COA产品段编码:主数据COA产品段', '1398550865097941000', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493320', '3', '1398559877562523648', 'coa_ic_code', 'coa_ic_code', 'char', '30', NULL, 'Y', 'N', 'N', 'COA IC段编码:主数据COA IC段', '1398550865097941001', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493321', '3', '1398559877562523648', 'unit_code', 'unit_code', 'char', '30', NULL, 'Y', 'N', 'N', '管理单元编码:管理单元的唯一标识', '1398550865097941002', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493322', '3', '1398559877562523648', 'distribution_amount', 'distribution_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '分配行金额:杂收分配行金额', '1398550865097941003', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493323', '3', '1398559877562523648', 'functional_distribution_amount', 'functional_distribution_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '分配行本位币金额:杂收分配行本位币金额', '1398550865097941004', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493324', '3', '1398559877562523648', 'tax_activity_name', 'tax_activity_name', 'char', '50', NULL, 'Y', 'N', 'N', '税码:杂收分配行税码', '1398550865097941005', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493325', '3', '1398559877562523648', 'comments', 'comments', 'char', '500', NULL, 'Y', 'N', 'N', '备注:杂收分配行备注', '1398550865097941006', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493326', '3', '1398559877562523648', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '创建人:审计字段', '1398550865097941007', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493327', '3', '1398559877562523648', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '创建日期:审计字段', '1398550865097941008', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493328', '3', '1398559877562523648', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '最后修改人:审计字段', '1398550865097941009', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493329', '3', '1398559877562523648', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '最后修改日期:审计字段', '1398550865097941010', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493330', '3', '1398559877562523648', 'description', 'description', 'char', '500', NULL, 'Y', 'N', 'N', '对本条记录的说明:审计字段', '1398550865097941011', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559878468493331', '3', '1398559877562523648', 'receipt_event_id', 'receipt_event_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '收据事件ID:收据事件表主键', '1398550865097941012', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879496097792', '3', '1398559878795649024', 'po_line_shipment_id', 'po_line_shipment_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '发运行主键ID', '1398550823452696576', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879496097793', '3', '1398559878795649024', 'PO_STANDARD_CONTROL_ID', 'PO_STANDARD_CONTROL_ID', 'CHAR', '200', NULL, 'N', 'N', 'N', '主键', '1398550823452696618', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:33', '1004', '2021-05-29 16:40:33', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007296', '3', '1398559878795649024', 'close_code', 'close_code', 'char', '10', NULL, 'Y', 'N', 'N', '待删除', '1398550823452696577', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007297', '3', '1398559878795649024', 'supplier_site_code', 'supplier_site_code', 'char', '30', NULL, 'Y', 'N', 'N', 'Site名称是识别和区别Site的依据', '1398550823452696578', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007298', '3', '1398559878795649024', 'shipment_number', 'shipment_number', 'bigint', NULL, NULL, 'Y', 'N', 'N', '发运行号', '1398550823452696579', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007299', '3', '1398559878795649024', 'po_header_id', 'po_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO头表主键', '1398550823452696580', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007300', '3', '1398559878795649024', 'po_line_id', 'po_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '系统自动产生的PO行号', '1398550823452696581', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007301', '3', '1398559878795649024', 'po_number', 'po_number', 'char', '20', NULL, 'Y', 'N', 'N', '华为采购订单号。', '1398550823452696582', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007302', '3', '1398559878795649024', 'po_line_number', 'po_line_number', 'bigint', NULL, NULL, 'Y', 'N', 'N', '行号', '1398550823452696583', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007303', '3', '1398559878795649024', 'supplier_number', 'supplier_number', 'char', '30', NULL, 'Y', 'N', 'N', '供应商在系统中的编码,一家供应商在华为只有一个供应商编码。供应商编码是区别供应商的主要有效标识', '1398550823452696584', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007304', '3', '1398559878795649024', 'supplier_site_id', 'supplier_site_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'IT主键', '1398550823452696585', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007305', '3', '1398559878795649024', 'po_quantity', 'po_quantity', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550823452696586', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007306', '3', '1398559878795649024', 'currency_code', 'currency_code', 'char', '15', NULL, 'Y', 'N', 'N', '官方使用的货币单位代码标识称为货币代码,用于表示一个国家/地区使用的货币单位,当发生外币交易业务时需在相关交易单据上标识', '1398550823452696587', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007307', '3', '1398559878795649024', 'unit_price', 'unit_price', 'decimal', '38', '18', 'Y', 'N', 'N', '单价', '1398550823452696588', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007308', '3', '1398559878795649024', 'quantity_waiting_receive', 'quantity_waiting_receive', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550823452696589', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007309', '3', '1398559878795649024', 'quantity_received', 'quantity_received', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550823452696590', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007310', '3', '1398559878795649024', 'quantity_accepted', 'quantity_accepted', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550823452696591', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007311', '3', '1398559878795649024', 'quantity_deliveried', 'quantity_deliveried', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550823452696592', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007312', '3', '1398559878795649024', 'quantity_billed', 'quantity_billed', 'decimal', '38', '18', 'Y', 'N', 'N', '整数,或者小数', '1398550823452696593', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007313', '3', '1398559878795649024', 'quantity_bill_available', 'quantity_bill_available', 'decimal', '38', '18', 'Y', 'N', 'N', '整数,或者小数', '1398550823452696594', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007314', '3', '1398559878795649024', 'status', 'status', 'char', '30', NULL, 'Y', 'N', 'N', 'PO审批状态', '1398550823452696595', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007315', '3', '1398559878795649024', 'RETAINAGE_RELEASED_AMOUNT', 'RETAINAGE_RELEASED_AMOUNT', 'decimal', '38', '10', 'Y', 'N', 'N', '采购金额', '1398550823452696596', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007316', '3', '1398559878795649024', 'RETAINAGE_WITHHELD_AMOUNT', 'RETAINAGE_WITHHELD_AMOUNT', 'decimal', '38', '10', 'Y', 'N', 'N', '采购金额', '1398550823452696597', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007317', '3', '1398559878795649024', 'RECEIPT_REQUIRED_FLAG', 'RECEIPT_REQUIRED_FLAG', 'char', '1', NULL, 'Y', 'N', 'N', '作业人员可在接收画面手工选择是否接收例外', '1398550823452696598', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007318', '3', '1398559878795649024', 'INSPECTION_REQUIRED_FLAG', 'INSPECTION_REQUIRED_FLAG', 'char', '1', NULL, 'Y', 'N', 'N', '作业人员可在接收画面手工选择是否接收例外', '1398550823452696599', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007319', '3', '1398559878795649024', 'AC_FINISHED_FLAG', 'AC_FINISHED_FLAG', 'char', '1', NULL, 'Y', 'N', 'N', '作业人员可在接收画面手工选择是否接收例外', '1398550823452696600', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007320', '3', '1398559878795649024', 'INVOICE_MATCH_OPTION', 'INVOICE_MATCH_OPTION', 'char', '25', NULL, 'Y', 'N', 'N', '', '1398550823452696601', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007321', '3', '1398559878795649024', 'pr_line_id', 'pr_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'pr行id', '1398550823452696602', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007322', '3', '1398559878795649024', 'UNIT_CODE', 'UNIT_CODE', 'char', '30', NULL, 'Y', 'N', 'N', '', '1398550823452696603', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007323', '3', '1398559878795649024', 'CANCEL_FLAG', 'CANCEL_FLAG', 'char', '1', NULL, 'Y', 'N', 'N', '', '1398550823452696604', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007324', '3', '1398559878795649024', 'closed_code', 'closed_code', 'char', '25', NULL, 'Y', 'N', 'N', '订单是否关闭', '1398550823452696605', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007325', '3', '1398559878795649024', 'QUANTITY_REJECTED', 'QUANTITY_REJECTED', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550823452696606', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007326', '3', '1398559878795649024', 'QUANTITY_RECEIVING', 'QUANTITY_RECEIVING', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550823452696607', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007327', '3', '1398559878795649024', 'QUANTITY_CANCELLED', 'QUANTITY_CANCELLED', 'decimal', '24', '6', 'Y', 'N', 'N', '', '1398550823452696608', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007328', '3', '1398559878795649024', 'BPA_HEADER_ID', 'BPA_HEADER_ID', 'bigint', NULL, NULL, 'Y', 'N', 'N', '', '1398550823452696609', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007329', '3', '1398559878795649024', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '用于记录创建数据的用户ID', '1398550823452696610', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007330', '3', '1398559878795649024', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '用于记录创建数据的日期和时间', '1398550823452696611', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007331', '3', '1398559878795649024', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '用于记录最后修改数据的用户ID', '1398550823452696612', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007332', '3', '1398559878795649024', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '用于记录最后修改数据的日期及时间', '1398550823452696613', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007333', '3', '1398559878795649024', 'DESCRIPTION', 'DESCRIPTION', 'char', '500', NULL, 'Y', 'N', 'N', '用于备注说明的字段,推荐备注类的属性统一引用的标准', '1398550823452696614', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007334', '3', '1398559878795649024', 'invoice_close_tolerance', 'invoice_close_tolerance', 'decimal', '38', '18', 'Y', 'N', 'N', '发票关闭允差', '1398550823452696615', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007335', '3', '1398559878795649024', 'last_update_version', 'last_update_version', 'bigint', NULL, NULL, 'Y', 'N', 'N', '记录最后修改的版本号,用于并发控制以及分布式部署的数据对比', '1398550823452696616', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007336', '3', '1398559878795649024', 'OWNER_ORG_ID', 'OWNER_ORG_ID', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'Foundation库存组织ID', '1398550823452696617', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007337', '3', '1398559878795649024', 'receive_close_tolerance', 'receive_close_tolerance', 'decimal', '38', '18', 'Y', 'N', 'N', '接收关闭允差', '1398550823452696619', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007338', '3', '1398559878795649024', 'SHIPMENT_CREATION_DATE', 'SHIPMENT_CREATION_DATE', 'timestamp', NULL, NULL, 'Y', 'N', 'N', 'XX的活动、单据的交易日期', '1398550823452696620', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007339', '3', '1398559878795649024', 'SOURCE_HEADER_ID', 'SOURCE_HEADER_ID', 'bigint', NULL, NULL, 'Y', 'N', 'N', '单据来源哪个系统,ego/ibuy等系统', '1398550823452696621', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007340', '3', '1398559878795649024', 'SOURCE_LINE_ID', 'SOURCE_LINE_ID', 'bigint', NULL, NULL, 'Y', 'N', 'N', '如果价格来源类型为BPA,则为BPA的行ID,依次类推。', '1398550823452696622', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007341', '3', '1398559878795649024', 'SOURCE_TYPE', 'SOURCE_TYPE', 'char', '50', NULL, 'Y', 'N', 'N', 'BPA,Catalog,RFQ,自定义等', '1398550823452696623', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007342', '3', '1398559878795649024', 'item_code', 'item_code', 'char', '40', NULL, 'Y', 'N', 'N', '物料编码', '1398550823452696624', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007343', '3', '1398559878795649024', 'amount_cancelled', 'amount_cancelled', 'decimal', '38', '10', 'Y', 'N', 'N', 'amount_cancelled', '1398550823452696625', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559879710007344', '3', '1398559878795649024', 'VCI_FLAG', 'VCI_FLAG', 'char', '1', NULL, 'Y', 'N', 'N', 'VCI_FLAG', '1398550823452696626', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880725028864', '3', '1398559880032968704', 'ac_line_id', 'ac_line_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '验收行表主键', '1398550831501565952', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880725028865', '3', '1398559880032968704', 'AC_STANDARD_CONTROL_ID', 'AC_STANDARD_CONTROL_ID', 'CHAR', '200', NULL, 'N', 'N', 'N', 'Ac Standard ControlID', '1398550831501565975', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938368', '3', '1398559880032968704', 'last_update_version', 'last_update_version', 'bigint', NULL, NULL, 'Y', 'N', 'N', '记录最后修改的版本号,用于并发控制以及分布式部署的数据对比', '1398550831501565953', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938369', '3', '1398559880032968704', 'OWNER_ORG_ID', 'OWNER_ORG_ID', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'Foundation库存组织ID', '1398550831501565954', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938370', '3', '1398559880032968704', 'ac_header_id', 'ac_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '', '1398550831501565955', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938371', '3', '1398559880032968704', 'ACCEPTANCE_PERCENT', 'ACCEPTANCE_PERCENT', 'decimal', '34', '18', 'Y', 'N', 'N', '根据PO分配行拆分的比例', '1398550831501565956', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938372', '3', '1398559880032968704', 'CALCULATE_PO_PERCENT', 'CALCULATE_PO_PERCENT', 'decimal', '34', '18', 'Y', 'N', 'N', '根据PO分配行拆分的比例', '1398550831501565957', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938373', '3', '1398559880032968704', 'DESCRIPTION', 'DESCRIPTION', 'char', '500', NULL, 'Y', 'N', 'N', '用于备注说明的字段,推荐备注类的属性统一引用的标准', '1398550831501565958', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938374', '3', '1398559880032968704', 'unit_code', 'unit_code', 'char', '30', NULL, 'Y', 'N', 'N', '交易控制层模块之间的关键通信要素,以及分库的关键要素', '1398550831501565959', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938375', '3', '1398559880032968704', 'supplier_code', 'supplier_code', 'char', '30', NULL, 'Y', 'N', 'N', '供应商在系统中的编码,一家供应商在华为只有一个供应商编码。供应商编码是区别供应商的主要有效标识', '1398550831501565960', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938376', '3', '1398559880032968704', 'ac_number', 'ac_number', 'char', '30', NULL, 'Y', 'N', 'N', '验收单号', '1398550831501565961', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938377', '3', '1398559880032968704', 'ac_line_number', 'ac_line_number', 'bigint', NULL, NULL, 'Y', 'N', 'N', '验收行号', '1398550831501565962', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938378', '3', '1398559880032968704', 'po_header_id', 'po_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO头表主键', '1398550831501565963', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938379', '3', '1398559880032968704', 'po_line_id', 'po_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '系统自动产生的PO行号', '1398550831501565964', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938380', '3', '1398559880032968704', 'PO_LINE_SHIPMENT_ID', 'PO_LINE_SHIPMENT_ID', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'po发运行id', '1398550831501565965', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938381', '3', '1398559880032968704', 'AC_LINE_APPROVAL_STATUS', 'AC_LINE_APPROVAL_STATUS', 'char', '25', NULL, 'Y', 'N', 'N', '', '1398550831501565966', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938382', '3', '1398559880032968704', 'AC_HEADER_APPROVAL_STATUS', 'AC_HEADER_APPROVAL_STATUS', 'char', '25', NULL, 'Y', 'N', 'N', '验收行状态', '1398550831501565967', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938383', '3', '1398559880032968704', 'quantity_submitted', 'quantity_submitted', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550831501565968', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938384', '3', '1398559880032968704', 'quantity', 'quantity', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550831501565969', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938385', '3', '1398559880032968704', 'TRIGGER_DATE', 'TRIGGER_DATE', 'char', '100', NULL, 'Y', 'N', 'N', '对账触发时间', '1398550831501565970', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938386', '3', '1398559880032968704', 'quantity_confirmed', 'quantity_confirmed', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550831501565971', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938387', '3', '1398559880032968704', 'quantity_received', 'quantity_received', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550831501565972', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938388', '3', '1398559880032968704', 'quantity_accepted', 'quantity_accepted', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550831501565973', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938389', '3', '1398559880032968704', 'quantity_rejected', 'quantity_rejected', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550831501565974', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938390', '3', '1398559880032968704', 'quantity_delivered', 'quantity_delivered', 'decimal', '24', '6', 'Y', 'N', 'N', '', '1398550831501565976', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938391', '3', '1398559880032968704', 'quantity_returning', 'quantity_returning', 'decimal', '24', '6', 'Y', 'N', 'N', '整数,或者小数', '1398550831501565977', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938392', '3', '1398559880032968704', 'quantity_returned', 'quantity_returned', 'decimal', '24', '6', 'Y', 'N', 'N', '退验事务生成的数量', '1398550831501565978', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938393', '3', '1398559880032968704', 'quantity_billed', 'quantity_billed', 'decimal', '38', '18', 'Y', 'N', 'N', '整数,或者小数', '1398550831501565979', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938394', '3', '1398559880032968704', 'quantity_bill_available', 'quantity_bill_available', 'decimal', '38', '18', 'Y', 'N', 'N', '整数,或者小数', '1398550831501565980', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938395', '3', '1398559880032968704', 'RETURN_FLAG', 'RETURN_FLAG', 'char', '1', NULL, 'Y', 'N', 'N', '', '1398550831501565981', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938396', '3', '1398559880032968704', 'PARENT_AC_LINE_ID', 'PARENT_AC_LINE_ID', 'bigint', NULL, NULL, 'Y', 'N', 'N', '验收行表主键', '1398550831501565982', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938397', '3', '1398559880032968704', 'RECEIVE_TRANSACTION_DATE', 'RECEIVE_TRANSACTION_DATE', 'timestamp', NULL, NULL, 'Y', 'N', 'N', 'XX的活动、单据的交易日期', '1398550831501565983', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938398', '3', '1398559880032968704', 'ACTUAL_END_DATE', 'ACTUAL_END_DATE', 'timestamp', NULL, NULL, 'Y', 'N', 'N', 'XX的活动、单据的交易日期', '1398550831501565984', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938399', '3', '1398559880032968704', 'expected_receipt_date', 'expected_receipt_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '供应商填写预约送货单的时候,要预约货物预计送达的时间', '1398550831501565985', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938400', '3', '1398559880032968704', 'USER_ACCEPT_FLAG', 'USER_ACCEPT_FLAG', 'char', '1', NULL, 'Y', 'N', 'N', '是否来自ISDP验收', '1398550831501565986', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938401', '3', '1398559880032968704', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '用于记录创建数据的用户ID', '1398550831501565987', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938402', '3', '1398559880032968704', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '用于记录创建数据的日期和时间', '1398550831501565988', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938403', '3', '1398559880032968704', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '用于记录最后修改数据的用户ID', '1398550831501565989', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938404', '3', '1398559880032968704', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '用于记录最后修改数据的日期及时间', '1398550831501565990', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938405', '3', '1398559880032968704', 'po_milestone_id', 'po_milestone_id', 'bigint', '20', NULL, 'Y', 'N', 'N', '标准里程碑的Id', '1398550831501565991', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559880938938406', '3', '1398559880032968704', 'milestone_name', 'milestone_name', 'char', '50', NULL, 'Y', 'N', 'N', '付款里程碑名称', '1398550831501565992', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559881966542848', '3', '1398559881261899776', 'item_code', 'item_code', 'CHAR', '40', NULL, 'N', 'N', 'N', '物料编码||物料编码', '1398550838879346688', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559881966542849', '3', '1398559881261899776', 'organization_code', 'organization_code', 'CHAR', '3', NULL, 'N', 'N', 'N', '库存组织编码:库存组织的编码。', '1398550838879346689', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559881966542850', '3', '1398559881261899776', 'cost_type_code', 'cost_type_code', 'CHAR', '50', NULL, 'N', 'N', 'N', '成本类型编码:是此实体的业务主键之一,区分不同成本类型的成本。\r\n包含:法人冻结成本类型:Frozen- (Frozen Standard Cost Type) 。集团冻结成本类型:GROUP。成本类型编码是成本类型的业务唯一识别标识,包含:Frozen- (Frozen Standard Cost Type) 适用范围:深供、海供制造组织 Draft - ( Draft Standard Cost Type ) 适用范围:深供、海供制造组织 Current - ( Standard cost including cost markup by Hisilicon) 适用范围:深供制造组织 Pending - ( Pending Standard Cost Type) 适用范围:深供制造组织 PAC - (Periodic Average Cost) 适用范围:巴西', '1398550838879346690', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784000', '3', '1398559881261899776', 'cost_update_batch_id', 'cost_update_batch_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '标准成本更新批ID:标准成本更新的记录唯一识别标识', '1398550838879346691', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784001', '3', '1398559881261899776', 'pl_material_cost', 'pl_material_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '前层料本要素成本:料本要素的单位成本,是法人层面的料本,用于归集物料成本', '1398550838879346692', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784002', '3', '1398559881261899776', 'pl_material_overhead_cost', 'pl_material_overhead_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '前层物料费用要素成本:物料间接费用要素的单位成本,用于归集物料管理费或负担成本', '1398550838879346693', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784003', '3', '1398559881261899776', 'pl_resource_cost', 'pl_resource_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '前层资源要素成本:资源要素的单位成本', '1398550838879346694', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784004', '3', '1398559881261899776', 'pl_outside_processing_cost', 'pl_outside_processing_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '前层外协费用要素成本:外协费用要素的单位成本', '1398550838879346695', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784005', '3', '1398559881261899776', 'pl_overhead_cost', 'pl_overhead_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '前层制造费用要素成本:制造费用要素的单位成本', '1398550838879346696', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784006', '3', '1398559881261899776', 'pl_item_cost', 'pl_item_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '前层法人成本:法人相关要素(1-5要素)的汇总单位成本;1.料本要素,2.物料费用要素,3.资源费用要素,4.外协费用要素,5.制造费用要素,6.集团料本要素', '1398550838879346697', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784007', '3', '1398559881261899776', 'tl_material_cost', 'tl_material_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '本层料本要素成本:料本要素的单位成本,是法人层面的料本,用于归集物料成本', '1398550838879346698', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784008', '3', '1398559881261899776', 'tl_material_overhead_cost', 'tl_material_overhead_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '本层物料费用要素成本:物料间接费用要素的单位成本,用于归集物料管理费或负担成本', '1398550838879346699', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784009', '3', '1398559881261899776', 'tl_resource_cost', 'tl_resource_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '本层资源要素成本:资源要素的单位成本', '1398550838879346700', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784010', '3', '1398559881261899776', 'tl_outside_processing_cost', 'tl_outside_processing_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '本层外协费用要素成本:外协费用要素的单位成本', '1398550838879346701', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784011', '3', '1398559881261899776', 'tl_overhead_cost', 'tl_overhead_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '本层制造费用要素成本:制造费用要素的单位成本', '1398550838879346702', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784012', '3', '1398559881261899776', 'tl_item_cost', 'tl_item_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '本层法人成本:法人相关要素(1-5要素)的汇总单位成本;1.料本要素,2.物料费用要素,3.资源费用要素,4.外协费用要素,5.制造费用要素,6.集团料本要素', '1398550838879346703', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784013', '3', '1398559881261899776', 'material_cost', 'material_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '料本要素成本:料本要素的单位成本,是法人层面的料本,用于归集物料成本', '1398550838879346704', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784014', '3', '1398559881261899776', 'material_overhead_cost', 'material_overhead_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '物料费用要素成本:物料间接费用要素的单位成本,用于归集物料管理费或负担成本', '1398550838879346705', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784015', '3', '1398559881261899776', 'resource_cost', 'resource_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '资源要素成本:资源要素的单位成本', '1398550838879346706', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784016', '3', '1398559881261899776', 'outside_processing_cost', 'outside_processing_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '外协费用要素成本:外协费用要素的单位成本', '1398550838879346707', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784017', '3', '1398559881261899776', 'overhead_cost', 'overhead_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '制造费用要素成本:制造费用要素的单位成本', '1398550838879346708', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784018', '3', '1398559881261899776', 'item_cost', 'item_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '法人成本:法人相关要素(1-5要素)的汇总单位成本;1.料本要素,2.物料费用要素,3.资源费用要素,4.外协费用要素,5.制造费用要素,6.集团料本要素', '1398550838879346709', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784019', '3', '1398559881261899776', 'based_on_rollup_flag', 'based_on_rollup_flag', 'char', '1', NULL, 'Y', 'N', 'N', '基于卷积标识:是否基于卷积标识,说明其物料成本是否卷积获取(Y),还是业务录入(N);(物料标准成本可基于业务输入或卷积获取)', '1398550838879346710', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784020', '3', '1398559881261899776', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '创建人:用于记录创建数据的用户ID', '1398550838879346711', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784021', '3', '1398559881261899776', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '创建日期:用于记录创建数据的日期和时间', '1398550838879346712', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784022', '3', '1398559881261899776', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '最后修改日期:用于记录最后修改数据的日期及时间', '1398550838879346713', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784023', '3', '1398559881261899776', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '最后修改人:用于记录最后修改数据的用户ID', '1398550838879346714', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559882230784024', '3', '1398559881261899776', 'description', 'description', 'char', '600', NULL, 'Y', 'N', 'N', '描述:记录的描述信息,用于备注记录', '1398550838879346715', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883266777088', '3', '1398559882557939712', 'std_item_cost_details_id', 'std_item_cost_details_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '物料标准成本明细ID:资源费率的记录唯一识别标识', '1398550839403634688', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883476492288', '3', '1398559882557939712', 'item_code', 'item_code', 'char', '40', NULL, 'Y', 'N', 'N', '物料编码||物料编码', '1398550839403634689', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883476492289', '3', '1398559882557939712', 'organization_code', 'organization_code', 'char', '3', NULL, 'Y', 'N', 'N', '库存组织编码:库存组织的编码。', '1398550839403634690', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883476492290', '3', '1398559882557939712', 'cost_element_code', 'cost_element_code', 'char', '50', NULL, 'Y', 'N', 'N', '成本要素编码:成本要素的业务唯一标识', '1398550839403634691', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686592', '3', '1398559882557939712', 'cost_type_code', 'cost_type_code', 'char', '50', NULL, 'Y', 'N', 'N', '成本类型编码:是此实体的业务主键之一,区分不同成本类型的成本。\r\n包含:法人冻结成本类型:Frozen- (Frozen Standard Cost Type) 。集团冻结成本类型:GROUP。成本类型编码是成本类型的业务唯一识别标识,包含:Frozen- (Frozen Standard Cost Type) 适用范围:深供、海供制造组织 Draft - ( Draft Standard Cost Type ) 适用范围:深供、海供制造组织 Current - ( Standard cost including cost markup by Hisilicon) 适用范围:深供制造组织 Pending - ( Pending Standard Cost Type) 适用范围:深供制造组织 PAC - (Periodic Average Cost) 适用范围:巴西', '1398550839403634692', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686593', '3', '1398559882557939712', 'operation_sequence_id', 'operation_sequence_id', 'int', NULL, NULL, 'Y', 'N', 'N', '工艺路线行ID:操作序列内码', '1398550839403634693', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686594', '3', '1398559882557939712', 'operation_seq_num', 'operation_seq_num', 'bigint', NULL, NULL, 'Y', 'N', 'N', '工艺路线序号:同一工艺路线下的工序序号', '1398550839403634694', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686595', '3', '1398559882557939712', 'bom_department_id', 'bom_department_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '部门ID:暂不用,但保留着', '1398550839403634695', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686596', '3', '1398559882557939712', 'level_type_code', 'level_type_code', 'char', '50', NULL, 'Y', 'N', 'N', '层级类型:层级类型的编码以区分本层及前层成本', '1398550839403634696', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686597', '3', '1398559882557939712', 'resource_overhead_code', 'resource_overhead_code', 'char', '10', NULL, 'Y', 'N', 'N', '资源编码:BOM资源或制造费用的编码', '1398550839403634697', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686598', '3', '1398559882557939712', 'resource_seq_num', 'resource_seq_num', 'bigint', NULL, NULL, 'Y', 'N', 'N', '资源顺序号:定义资源序号', '1398550839403634698', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686599', '3', '1398559882557939712', 'resource_overhead_rate', 'resource_overhead_rate', 'decimal', '38', '10', 'Y', 'N', 'N', 'BOM资源制费费率:子要素的费率', '1398550839403634699', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686600', '3', '1398559882557939712', 'item_units', 'item_units', 'decimal', '38', '10', 'Y', 'N', 'N', '物料标准单位数量:物料标准单位的数量(引用产品BOM的标准)', '1398550839403634700', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686601', '3', '1398559882557939712', 'usage_rate', 'usage_rate', 'decimal', '38', '10', 'Y', 'N', 'N', '标准单位费率:标准单位的费率(引用产品BOM的标准)', '1398550839403634701', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686602', '3', '1398559882557939712', 'rate_basis_type_code', 'rate_basis_type_code', 'char', '50', NULL, 'Y', 'N', 'N', '费率基线类型编码:费率基线类型的业务唯一标识', '1398550839403634702', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686603', '3', '1398559882557939712', 'basis_resource_code', 'basis_resource_code', 'char', '10', NULL, 'Y', 'N', 'N', '资源编码:BOM资源或制造费用的编码', '1398550839403634703', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686604', '3', '1398559882557939712', 'basis_factor', 'basis_factor', 'decimal', '38', '10', 'Y', 'N', 'N', '基准类型因子:物料基准类型的因子', '1398550839403634704', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686605', '3', '1398559882557939712', 'net_yield_or_shrinkage_factor', 'net_yield_or_shrinkage_factor', 'decimal', '38', '10', 'Y', 'N', 'N', '工艺路线损耗因子:工艺路线损耗的因子', '1398550839403634705', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686606', '3', '1398559882557939712', 'item_cost', 'item_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '法人成本:法人相关要素(1-5要素)的汇总单位成本;1.料本要素,2.物料费用要素,3.资源费用要素,4.外协费用要素,5.制造费用要素,6.集团料本要素', '1398550839403634706', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686607', '3', '1398559882557939712', 'rollup_source_type', 'rollup_source_type', 'char', '50', NULL, 'Y', 'N', 'N', '卷积类型:卷积来源的类型', '1398550839403634707', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686608', '3', '1398559882557939712', 'yielded_cost', 'yielded_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '工艺路线损耗成本:工艺路线损耗的成本', '1398550839403634708', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686609', '3', '1398559882557939712', 'source_organization_code', 'source_organization_code', 'char', '3', NULL, 'Y', 'N', 'N', '来源库存组织编码:库存组织的编码。', '1398550839403634709', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686610', '3', '1398559882557939712', 'supplier_code', 'supplier_code', 'char', '30', NULL, 'Y', 'N', 'N', '供应商编码:供应商在系统中的编码,一家供应商在华为只有一个供应商编码。供应商编码是区别供应商的主要有效标识', '1398550839403634710', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686611', '3', '1398559882557939712', 'allocation_percent', 'allocation_percent', 'decimal', '38', '10', 'Y', 'N', 'N', '分摊比例:成本来源补充规则的比例-如同一物料,即有AI件、P件时,需要根据成本来源补充的供应商的分摊比例进行分摊', '1398550839403634711', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686612', '3', '1398559882557939712', 'supplier_site_id', 'supplier_site_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '供应商SITE ID:IT主键', '1398550839403634712', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686613', '3', '1398559882557939712', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '创建人:用于记录创建数据的用户ID', '1398550839403634713', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686614', '3', '1398559882557939712', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '创建日期:用于记录创建数据的日期和时间', '1398550839403634714', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686615', '3', '1398559882557939712', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '最后修改日期:用于记录最后修改数据的日期及时间', '1398550839403634715', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686616', '3', '1398559882557939712', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '最后修改人:用于记录最后修改数据的用户ID', '1398550839403634716', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559883480686617', '3', '1398559882557939712', 'description', 'description', 'char', '600', NULL, 'Y', 'N', 'N', '描述:记录的描述信息,用于备注记录', '1398550839403634717', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:34', '1004', '2021-05-29 16:40:34', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902464', '3', '1398559883812036608', 'wac_item_cost_id', 'wac_item_cost_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '物料移动平均成本ID||物料移动平均成本记录的唯一识别标识', '1398550818172067840', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902465', '3', '1398559883812036608', 'unit_code', 'unit_code', 'CHAR', '30', NULL, 'N', 'N', 'N', '管理单元编码||交易控制层模块之间的关键通信要素,以及分库的关键要素', '1398550818172067841', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902466', '3', '1398559883812036608', 'organization_code', 'organization_code', 'CHAR', '3', NULL, 'N', 'N', 'N', '库存组织编码||库存组织的编码。', '1398550818172067843', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902467', '3', '1398559883812036608', 'item_code', 'item_code', 'CHAR', '40', NULL, 'N', 'N', 'N', '物料编码||物料的编码', '1398550818172067844', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902468', '3', '1398559883812036608', 'cost_group_code', 'cost_group_code', 'CHAR', '50', NULL, 'N', 'N', 'N', '成本计价组编码||成本计价组的业务唯一标识', '1398550818172067845', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902469', '3', '1398559883812036608', 'cost_group_quantity', 'cost_group_quantity', 'DECIMAL', '24', '6', 'N', 'N', 'N', '计价组数量||已计价的计价组物料数量', '1398550818172067846', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902470', '3', '1398559883812036608', 'material_cost', 'material_cost', 'DECIMAL', '38', '18', 'N', 'N', 'N', '料本要素成本||料本要素的单位成本,是法人层面的料本,用于归集物料成本', '1398550818172067847', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902471', '3', '1398559883812036608', 'material_overhead_cost', 'material_overhead_cost', 'DECIMAL', '38', '18', 'N', 'N', 'N', '物料费用要素成本||物料间接费用要素的单位成本,用于归集物料管理费或负担成本', '1398550818172067848', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902472', '3', '1398559883812036608', 'resource_cost', 'resource_cost', 'DECIMAL', '38', '18', 'N', 'N', 'N', '资源要素成本||资源要素的单位成本', '1398550818172067849', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902473', '3', '1398559883812036608', 'outside_processing_cost', 'outside_processing_cost', 'DECIMAL', '38', '18', 'N', 'N', 'N', '外协费用要素成本||外协费用要素的单位成本', '1398550818172067850', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902474', '3', '1398559883812036608', 'overhead_cost', 'overhead_cost', 'DECIMAL', '38', '18', 'N', 'N', 'N', '制造费用要素成本||制造费用要素的单位成本', '1398550818172067851', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902475', '3', '1398559883812036608', 'gc_material_cost', 'gc_material_cost', 'DECIMAL', '38', '18', 'N', 'N', 'N', '集团料本要素成本||集团视角的料本要素的单位成本', '1398550818172067852', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902476', '3', '1398559883812036608', 'item_cost', 'item_cost', 'DECIMAL', '38', '18', 'N', 'N', 'N', '成本||法人相关要素(1-5要素)的汇总单位成本;1.料本要素,2.物料费用要素,3.资源费用要素,4.外协费用要素,5.制造费用要素,6.集团料本要素', '1398550818172067853', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902477', '3', '1398559883812036608', 'create_transaction_id', 'create_transaction_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '创建库存交易ID||首次创建物料成本的交易ID', '1398550818172067855', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902478', '3', '1398559883812036608', 'last_update_transaction_id', 'last_update_transaction_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '最后更新交易ID||最后更新物料成本的交易ID', '1398550818172067856', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902479', '3', '1398559883812036608', 'creation_date', 'creation_date', 'DATETIME', NULL, NULL, 'N', 'N', 'N', '创建日期||记录数据创建开始时间', '1398550818172067857', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902480', '3', '1398559883812036608', 'created_by', 'created_by', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '创建人ID||标识创建人,对于雇员的情况,使用唯一编码,该编号是全网唯一,用于识别具体的用户;对于非雇员的情况,使用匿名编号,确保只能代表“一名用户”,但不做具体的自然人识别,避免涉及GPDR', '1398550818172067858', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902481', '3', '1398559883812036608', 'last_updated_by', 'last_updated_by', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '最后修改人||标识最后修改人,对于雇员的情况,使用唯一编码,该编号是全网唯一,用于识别具体的用户;对于非雇员的情况,使用匿名编号,确保只能代表“一名用户”,但不做具体的自然人识别,避免涉及GPDR', '1398550818172067859', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884499902482', '3', '1398559883812036608', 'last_update_date', 'last_update_date', 'DATETIME', NULL, NULL, 'N', 'N', 'N', '最后修改日期||记录最后数据更新时间', '1398550818172067860', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884835446784', '3', '1398559883812036608', 'ou_name', 'ou_name', 'char', '20', NULL, 'Y', 'N', 'N', 'OU名称||OU名称', '1398550818172067842', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884835446785', '3', '1398559883812036608', 'gc_item_cost', 'gc_item_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '集团成本||集团相关要素(2-6要素)的汇总单位成本;1.料本要素,2.物料费用要素,3.资源费用要素,4.外协费用要素,5.制造费用要素,6.集团料本要素', '1398550818172067854', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559884835446786', '3', '1398559883812036608', 'description', 'description', 'char', '600', NULL, 'Y', 'N', 'N', '描述||记录的描述信息,用于备注记录', '1398550818172067861', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559885812719616', '3', '1398559885103882240', 'tax_rate_id', 'tax_rate_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '税率ID,IT主键,系统自动生成,不可空,唯一', '1398550829920313344', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559885812719617', '3', '1398559885103882240', 'tax_rate_code_id', 'tax_rate_code_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', 'IT主键,系统自动生成,不可空。唯一', '1398550829920313345', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559885812719618', '3', '1398559885103882240', 'status', 'status', 'CHAR', '10', NULL, 'N', 'N', 'N', '税率状态,预设值Enabled、Disabled,不可空,取自Vlookup:UTX_STATUS_VALUES', '1398550829920313351', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559885812719619', '3', '1398559885103882240', 'tax_rate', 'tax_rate', 'DECIMAL', '38', '10', 'N', 'N', 'N', '具体税码对应税率,比如 6.5和7,默认百分比,不可空', '1398550829920313352', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559885812719620', '3', '1398559885103882240', 'effective_from', 'effective_from', 'DATE', NULL, NULL, 'N', 'N', 'N', '税制和税务主体关系生效日期\r\n规则:年/月/日 例1900/5/21 不可空', '1398550829920313353', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559885812719621', '3', '1398559885103882240', 'created_by', 'created_by', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '标准字段,用于记录创建数据的用户ID,不可空', '1398550829920313355', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559885812719622', '3', '1398559885103882240', 'creation_date', 'creation_date', 'DATETIME', NULL, NULL, 'N', 'N', 'N', '标准字段,用于记录创建数据的日期和时间,示例:年月日时分秒,不可空', '1398550829920313356', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559885812719623', '3', '1398559885103882240', 'last_updated_by', 'last_updated_by', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '标准字段,用于记录最后修改数据的用户ID,不可空', '1398550829920313357', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559885812719624', '3', '1398559885103882240', 'last_update_date', 'last_update_date', 'DATETIME', NULL, NULL, 'N', 'N', 'N', '标准字段,用于记录最后修改数据的日期及时间,示例年月日时分秒,不可空', '1398550829920313358', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559886152458240', '3', '1398559885103882240', 'tax_rate_description', 'tax_rate_description', 'char', '240', NULL, 'Y', 'N', 'N', '税率描述,税率,税码关联的税率,一个税码下可以按不重叠的期间维护多个税率行,按交易日判断税率,业务录入,可空', '1398550829920313346', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559886152458241', '3', '1398559885103882240', 'from_amount', 'from_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '金额起,可空,包含GROSS 税基和WITHHELD 税金\r\nTAX_RATE_TYPE为GROSS和WITHHELD', '1398550829920313347', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559886152458242', '3', '1398559885103882240', 'to_amount', 'to_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '金额至,可空,包含GROSS 税基和WITHHELD 税金', '1398550829920313348', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559886152458243', '3', '1398559885103882240', 'from_gross_amount', 'from_gross_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '税基金额起,金额\r\n对应TAX_RATE_TYPE为GROSS的,直接将FROM_AMOUNT写过来,\r\n\r\n对应TAX_RATE_TYPE为WITHHELD的,则需要公式计算,可空', '1398550829920313349', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559886152458244', '3', '1398559885103882240', 'to_gross_amount', 'to_gross_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '税基金额至,金额\r\n对应TAX_RATE_TYPE_CODE为GROSS的,直接将FROM_AMOUNT写过来,\r\n\r\n对应TAX_RATE_TYPE_CODE为WITHHELD的,则需要公式计算,可空', '1398550829920313350', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559886152458245', '3', '1398559885103882240', 'effective_to', 'effective_to', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '规则的失效日期,手工选择\r\n规则:年-月-日 例1900/5/21 可空', '1398550829920313354', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062720', '3', '1398559886416699392', 'tax_category_id', 'tax_category_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', 'IT主键,系统自动生成,不可空。唯一', '1398550842608082944', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062721', '3', '1398559886416699392', 'tax_regime_id', 'tax_regime_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '外键,关联税制信息实体的TAX_REGIME_ID\r\n不可空', '1398550842608082945', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062722', '3', '1398559886416699392', 'tax_entity_id', 'tax_entity_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '唯一标识,IT外键,关联计税解决方案ID,一个主体只能有一个', '1398550842608082946', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062723', '3', '1398559886416699392', 'tax_category_code', 'tax_category_code', 'CHAR', '30', NULL, 'N', 'N', 'N', '税种编码,税种-如VAT,华为一般按进项和销项区分;可按公司集配置(如0421和0321都为研发型子公司,可共用一套税种;编码规则:国家编码子公司编码 税种 进销项 例如:CN0021 VAT INPUTCN0211 WVAT INPUT手工输入,一经保存不允许修改,\r\n不可空,唯一', '1398550842608082951', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062724', '3', '1398559886416699392', 'tax_category_name', 'tax_category_name', 'CHAR', '100', NULL, 'N', 'N', 'N', '税种名称,手工输入,保存后允许修改', '1398550842608082952', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062725', '3', '1398559886416699392', 'tax_category_type_code', 'tax_category_type_code', 'CHAR', '30', NULL, 'N', 'N', 'N', 'lookup配置', '1398550842608082953', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062726', '3', '1398559886416699392', 'status', 'status', 'CHAR', '30', NULL, 'N', 'N', 'N', '本税种当前的状态,预设值:Enabled(生效)、Disabled(失效)\r\n新建默认有效,不可空,取自Vlookup:UTX_STATUS_VALUES', '1398550842608082954', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062727', '3', '1398559886416699392', 'tax_precision_flag', 'tax_precision_flag', 'CHAR', '1', NULL, 'N', 'N', 'N', '是否允许计税精度,勾上为Y,不勾为N', '1398550842608082955', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062728', '3', '1398559886416699392', 'tax_group_flag', 'tax_group_flag', 'CHAR', '1', NULL, 'N', 'N', 'N', '预设值Y和N,Y表示此税种为可创建税组税种', '1398550842608082957', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062729', '3', '1398559886416699392', 'live_for_processing_flag', 'live_for_processing_flag', 'CHAR', '1', NULL, 'N', 'N', 'N', '预设值Y和N,Y或N表示在计税时是否准备处理该税', '1398550842608082959', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062730', '3', '1398559886416699392', 'compounding_precedence', 'compounding_precedence', 'DECIMAL', '30', '0', 'N', 'N', 'N', '以存储当税是复合税时确定此税的顺序手工输入优先级:纯数字 1-99,100 150 200 300,不维护的默认300具体的规则', '1398550842608082960', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062731', '3', '1398559886416699392', 'offset_tax_flag', 'offset_tax_flag', 'CHAR', '1', NULL, 'N', 'N', 'N', '预设值Y和N,Y表示此税是否用于抵扣其他税项,N即不可用于抵扣其他税项。', '1398550842608082961', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062732', '3', '1398559886416699392', 'exceptions_flag', 'exceptions_flag', 'CHAR', '1', NULL, 'N', 'N', 'N', '勾上为Y,不勾为N,Y表示允许例外,N则为不允许', '1398550842608082962', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062733', '3', '1398559886416699392', 'recoverability_flag', 'recoverability_flag', 'CHAR', '1', NULL, 'N', 'N', 'N', '勾上为Y,不勾为N,Y表示允许可抵扣,N则为不允许', '1398550842608082963', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062734', '3', '1398559886416699392', 'rec_type_rule_flag', 'rec_type_rule_flag', 'CHAR', '1', NULL, 'N', 'N', 'N', '勾上为Y,不勾为N,Y表示允许通过税则确定可抵扣率,N则为不允许', '1398550842608082964', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062735', '3', '1398559886416699392', 'creation_date', 'creation_date', 'DATETIME', NULL, NULL, 'N', 'N', 'N', '标准字段,用于记录创建数据的日期和时间,示例:年月日时分秒,不可空', '1398550842608082969', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062736', '3', '1398559886416699392', 'last_update_date', 'last_update_date', 'DATETIME', NULL, NULL, 'N', 'N', 'N', '标准字段,用于记录最后修改数据的日期及时间,示例年月日时分秒,不可空', '1398550842608082970', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062737', '3', '1398559886416699392', 'created_by', 'created_by', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '标准字段,用于记录创建数据的用户ID,不可空', '1398550842608082971', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887180062738', '3', '1398559886416699392', 'last_updated_by', 'last_updated_by', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '标准字段,用于记录最后修改数据的用户ID,不可空', '1398550842608082972', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887515607040', '3', '1398559886416699392', 'parent_geography_id', 'parent_geography_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '选择行政区域名称对应的Geography ID\r\ntax zone 这两个字段就非必填', '1398550842608082947', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887515607041', '3', '1398559886416699392', 'tax_geography_type_id', 'tax_geography_type_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '本税收制度对应的税务区域类型,当COUNTRY_OR_TAX_ZONE 选择是TAX ZONE时必填,选择国家时不必填,关联UTX_TAX_GEOGRAPHY_TYPE_T实体TAX_GEOGRAPHY_TYPE\r\n注意:Regime只取层级为国家的Zone Type\r\n可空', '1398550842608082948', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887515607042', '3', '1398559886416699392', 'parent_geography_type_id', 'parent_geography_type_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '当当主地理类型引用主地理类型时,用来存储地理区域地理类型的列,该地理区域限制为该税创建的所有税收管辖区\r\ntax zone 这两个字段就非必填', '1398550842608082949', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887515607043', '3', '1398559886416699392', 'tax_system_type', 'tax_system_type', 'char', '10', NULL, 'Y', 'N', 'N', '税务体系类型,根据不同国家不同税类型设置税收制度,当维护界面在Manage ITX下,则保存为ITX-当维护界面在Manage WHT下,则保存为WHT', '1398550842608082950', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887515607044', '3', '1398559886416699392', 'tax_precision', 'tax_precision', 'decimal', '20', '10', 'Y', 'N', 'N', '税货币精度,TAX_PRECISION_FLAG为Y时,可写入,可为空关联Vlookup:0,1,2,3', '1398550842608082956', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887515607045', '3', '1398559886416699392', 'thrshld_control_level', 'thrshld_control_level', 'char', '30', NULL, 'Y', 'N', 'N', '阈值控制层级,税金计算起征点控制层级。包括TAX CATEGORY、TAX JURISDICTION、TAX RATE和NULL', '1398550842608082958', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887515607046', '3', '1398559886416699392', 'default_place_of_supply_type', 'default_place_of_supply_type', 'char', '30', NULL, 'Y', 'N', 'N', '默认供应商地址类型,是取供应商地址还是site信息', '1398550842608082965', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887515607047', '3', '1398559886416699392', 'default_tax_applicability', 'default_tax_applicability', 'char', '30', NULL, 'Y', 'N', 'N', '税种编码,税种-如VAT,华为一般按进项和销项区分;可按公司集配置(如0421和0321都为研发型子公司,可共用一套税种;编码规则:国家编码子公司编码 税种 进销项 例如:CN0021 VAT INPUTCN0211 WVAT INPUT手工输入,一经保存不允许修改,不可空,唯一', '1398550842608082966', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887515607048', '3', '1398559886416699392', 'default_taxable_basis', 'default_taxable_basis', 'bigint', NULL, NULL, 'Y', 'N', 'N', '计税公式ID,IT主键,系统自动生成,不可空', '1398550842608082967', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559887515607049', '3', '1398559886416699392', 'default_tax_amount', 'default_tax_amount', 'bigint', NULL, NULL, 'Y', 'N', 'N', '计税公式ID,IT主键,系统自动生成,不可空', '1398550842608082968', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:35', '1004', '2021-05-29 16:40:35', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888547405824', '3', '1398559887855345664', 'rcv_transaction_id', 'rcv_transaction_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '采购接收交易ID||采购接收类型的采购验收事务ID', '1398550817656168448', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888547405825', '3', '1398559887855345664', 'unit_code', 'unit_code', 'CHAR', '30', NULL, 'N', 'N', 'N', '管理单元编码||交易控制层模块之间的关键通信要素,以及分库的关键要素', '1398550817656168449', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888547405826', '3', '1398559887855345664', 'organization_code', 'organization_code', 'CHAR', '3', NULL, 'N', 'N', 'N', '库存组织编码||库存组织的编码,通常为3位,由字母+数字组成,如H80。', '1398550817656168451', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888547405827', '3', '1398559887855345664', 'created_by', 'created_by', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '创建人ID||标识创建人,对于雇员的情况,使用唯一编码,该编号是全网唯一,用于识别具体的用户;对于非雇员的情况,使用匿名编号,确保只能代表“一名用户”,但不做具体的自然人识别,避免涉及GPDR', '1398550817656168476', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888547405828', '3', '1398559887855345664', 'creation_date', 'creation_date', 'DATETIME', NULL, NULL, 'N', 'N', 'N', '创建日期||记录数据创建开始时间', '1398550817656168477', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888547405829', '3', '1398559887855345664', 'last_updated_by', 'last_updated_by', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '最后修改人||标识最后修改人,对于雇员的情况,使用唯一编码,该编号是全网唯一,用于识别具体的用户;对于非雇员的情况,使用匿名编号,确保只能代表“一名用户”,但不做具体的自然人识别,避免涉及GPDR', '1398550817656168478', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888547405830', '3', '1398559887855345664', 'last_update_date', 'last_update_date', 'DATETIME', NULL, NULL, 'N', 'N', 'N', '最后修改日期||记录最后数据更新时间', '1398550817656168479', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727360', '3', '1398559887855345664', 'ou_name', 'ou_name', 'char', '20', NULL, 'Y', 'N', 'N', 'OU名称||OU的名称', '1398550817656168450', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727361', '3', '1398559887855345664', 'item_code', 'item_code', 'char', '40', NULL, 'Y', 'N', 'N', '物料编码||物料的编码', '1398550817656168452', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727362', '3', '1398559887855345664', 'po_header_id', 'po_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO头ID||PO头表主键', '1398550817656168453', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727363', '3', '1398559887855345664', 'po_number', 'po_number', 'char', '20', NULL, 'Y', 'N', 'N', 'PO号||华为采购订单号。', '1398550817656168454', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727364', '3', '1398559887855345664', 'po_line_id', 'po_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO行ID||系统自动产生的PO行号', '1398550817656168455', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727365', '3', '1398559887855345664', 'po_line_number', 'po_line_number', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO行号||PO行号,面向业务', '1398550817656168456', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727366', '3', '1398559887855345664', 'po_line_shipment_id', 'po_line_shipment_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO发运行ID||发运行的主键ID', '1398550817656168457', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727367', '3', '1398559887855345664', 'po_source_code', 'po_source_code', 'char', '100', NULL, 'Y', 'N', 'N', 'PO来源编码||PR来源于哪个外围系统,是否有统计基础数据源', '1398550817656168458', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727368', '3', '1398559887855345664', 'so_issue_organization_code', 'so_issue_organization_code', 'char', '3', NULL, 'Y', 'N', 'N', 'SO发货库存组织编码||SO发货的库存组织编码。用于关联交易PO获取SO发货的库存组织,以实现库存交易数据分库时的数据库定位', '1398550817656168459', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727369', '3', '1398559887855345664', 'so_issue_transaction_id', 'so_issue_transaction_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'SO发货库存交易ID||SO发货的库存交易ID,用于关联交易PO获取SO发货的集团成本', '1398550817656168460', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727370', '3', '1398559887855345664', 'so_shippable_item_flag', 'so_shippable_item_flag', 'char', '1', NULL, 'Y', 'N', 'N', 'SO可发货物料标记||可发货物料标记', '1398550817656168461', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727371', '3', '1398559887855345664', 'nrec_tax_unit_price', 'nrec_tax_unit_price', 'decimal', '38', '18', 'Y', 'N', 'N', '含不可抵扣税交易币单价||采购的单价(含不可抵扣税),等于采购单价+不可抵扣税平均单价', '1398550817656168462', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727372', '3', '1398559887855345664', 'unit_price', 'unit_price', 'decimal', '38', '18', 'Y', 'N', 'N', '采购单价||采购的单价', '1398550817656168463', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727373', '3', '1398559887855345664', 'currency_code', 'currency_code', 'char', '15', NULL, 'Y', 'N', 'N', '币种代码||官方使用的货币单位代码标识称为货币代码,用于表示一个国家/地区使用的货币单位,当发生外币交易业务时需在相关交易单据上标识', '1398550817656168464', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727374', '3', '1398559887855345664', 'group_info', 'group_info', 'decimal', '38', '18', 'Y', 'N', 'N', '集团成本传递值||旧方案中关联交易PO的SO发货组织的集团成本,用于切换期间,前层关联交易公司未切换时,集团成本引用此值。', '1398550817656168465', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727375', '3', '1398559887855345664', 'transaction_date', 'transaction_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '交易日期||具体的交易日期,到时分秒', '1398550817656168466', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727376', '3', '1398559887855345664', 'supplier_code', 'supplier_code', 'char', '30', NULL, 'Y', 'N', 'N', '供应商编码||供应商在系统中的编码,一家供应商在华为只有一个供应商编码。供应商编码是区别供应商的主要有效标识。用于EMS_PO时判断EMS供应商的默认库存组织。', '1398550817656168467', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727377', '3', '1398559887855345664', 'purchase_gc_class_code', 'purchase_gc_class_code', 'char', '50', NULL, 'Y', 'N', 'N', '采购集团成本来源类型编码||采购集团成本的来源分类,用于识别PO来源于哪种交易以便集团成本按不同来源赋值。', '1398550817656168468', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727378', '3', '1398559887855345664', 'gc_actual_cost', 'gc_actual_cost', 'decimal', '38', '18', 'Y', 'N', 'N', '本次集团成本||本次交易计价的结果:集团成本。回传给采购事务并用于集团成本核算。', '1398550817656168469', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727379', '3', '1398559887855345664', 'costed_date', 'costed_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '计价日期||计价器的计价日期,用于分析计价的及时性。', '1398550817656168470', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727380', '3', '1398559887855345664', 'calculate_times', 'calculate_times', 'bigint', NULL, NULL, 'Y', 'N', 'N', '计价次数||记录计价器计价错误后的尝试次数,用于控制计价器及分析计价准确性。', '1398550817656168471', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727381', '3', '1398559887855345664', 'costed_flag', 'costed_flag', 'char', '1', NULL, 'Y', 'N', 'N', '计价标识||本次交易计价的状态,N:未计价, Y:已计价,E:报错。', '1398550817656168472', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727382', '3', '1398559887855345664', 'program_processing_status', 'program_processing_status', 'char', '50', NULL, 'Y', 'N', 'N', '程序处理状态||交易计价的状态,采购交易记录发送MQS消息通道的状态,属IT字段。', '1398550817656168473', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727383', '3', '1398559887855345664', 'error_code', 'error_code', 'char', '50', NULL, 'Y', 'N', 'N', '错误编码||计价器错误的编码', '1398550817656168474', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727384', '3', '1398559887855345664', 'error_desc', 'error_desc', 'char', '600', NULL, 'Y', 'N', 'N', '错误描述||计价器错误的描述', '1398550817656168475', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559888899727385', '3', '1398559887855345664', 'description', 'description', 'char', '600', NULL, 'Y', 'N', 'N', '描述||记录的描述信息,用于备注记录', '1398550817656168480', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559889923137536', '3', '1398559889226883072', 'ac_accounting_event_id', 'ac_accounting_event_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '序列值', '1398550862170316800', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658432', '3', '1398559889226883072', 'unit_code', 'unit_code', 'char', '30', NULL, 'Y', 'N', 'N', '交易控制层模块之间的关键通信要素,以及分库的关键要素', '1398550862170316801', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658433', '3', '1398559889226883072', 'ou_name', 'ou_name', 'char', '20', NULL, 'Y', 'N', 'N', 'OU名称', '1398550862170316802', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658434', '3', '1398559889226883072', 'coa_company_code', 'coa_company_code', 'char', '30', NULL, 'Y', 'N', 'N', '公司代码,作为公司的识别码,反映公司内满足建账标准的会计核算主体。机构编码与公司编码的关系为:凡是华为投资的法律机构均会生成机构编码,华为独立核算的机构才会生成公司编码。公司编码值与机构编码保持一致。,', '1398550862170316803', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658435', '3', '1398559889226883072', 'coa_bu_code', 'coa_bu_code', 'char', '25', NULL, 'Y', 'N', 'N', 'COA BU段编码。', '1398550862170316804', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658436', '3', '1398559889226883072', 'coa_geo_pc_code', 'coa_geo_pc_code', 'char', '10', NULL, 'Y', 'N', 'N', '区域段是COA编码的第三个段值,是业务管辖地域范围的细分单元;用于支撑区域视角的经营报告的出具。', '1398550862170316805', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658437', '3', '1398559889226883072', 'coa_account_code', 'coa_account_code', 'char', '10', NULL, 'Y', 'N', 'N', 'COA会计科目段编码,是用于记录、存贮、传递企业经济业务按照会计要素反映的载体而使用的统一代码,以便会计信息共享。', '1398550862170316806', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658438', '3', '1398559889226883072', 'coa_department_code', 'coa_department_code', 'char', '30', NULL, 'Y', 'N', 'N', 'COA部门段编码。', '1398550862170316807', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658439', '3', '1398559889226883072', 'coa_product_code', 'coa_product_code', 'char', '50', NULL, 'Y', 'N', 'N', 'COA产品段编码。可用于归集“Offering(损益对象)”的费用、成本、收入等损益数据的财务编码,可提供产品损益表供管理改进使用。', '1398550862170316808', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658440', '3', '1398559889226883072', 'coa_ic_code', 'coa_ic_code', 'char', '30', NULL, 'Y', 'N', 'N', 'COA IC段编码。', '1398550862170316809', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658441', '3', '1398559889226883072', 'transaction_type', 'transaction_type', 'char', '25', NULL, 'Y', 'N', 'N', '验收事务类型', '1398550862170316810', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658442', '3', '1398559889226883072', 'transaction_date', 'transaction_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '现金台账签收日期', '1398550862170316811', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658443', '3', '1398559889226883072', 'transaction_quantity', 'transaction_quantity', 'decimal', '24', '6', 'Y', 'N', 'N', '记录验收行数量', '1398550862170316812', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658444', '3', '1398559889226883072', 'account_quantity', 'account_quantity', 'decimal', '24', '6', 'Y', 'N', 'N', '记录验收行数量', '1398550862170316813', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658445', '3', '1398559889226883072', 'account_percent', 'account_percent', 'decimal', '34', '18', 'Y', 'N', 'N', '根据PO分配行拆分的比例', '1398550862170316814', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890128658446', '3', '1398559889226883072', 'item_code', 'item_code', 'char', '40', NULL, 'Y', 'N', 'N', '库存物料编码', '1398550862170316815', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852736', '3', '1398559889226883072', 'unit_of_measure', 'unit_of_measure', 'char', '25', NULL, 'Y', 'N', 'N', '定义Part管理的主单位的Value值,用于存货和销售的计量单位。', '1398550862170316816', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852737', '3', '1398559889226883072', 'unit_price', 'unit_price', 'decimal', '38', '18', 'Y', 'N', 'N', 'PO发运行的UNIT_PRICE,交易币单价(不含税)', '1398550862170316817', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852738', '3', '1398559889226883072', 'nrec_tax_unit_price_funcl_curr', 'nrec_tax_unit_price_funcl_curr', 'decimal', '38', '18', 'Y', 'N', 'N', '本位币单价(含不可抵扣税)', '1398550862170316818', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852739', '3', '1398559889226883072', 'nrec_tax_rate_code', 'nrec_tax_rate_code', 'char', '30', NULL, 'Y', 'N', 'N', '不可抵扣税代码', '1398550862170316819', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852740', '3', '1398559889226883072', 'nrec_tax_rate', 'nrec_tax_rate', 'decimal', '38', '18', 'Y', 'N', 'N', '不可抵扣税税率', '1398550862170316820', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852741', '3', '1398559889226883072', 'exchange_rate_type', 'exchange_rate_type', 'char', '100', NULL, 'Y', 'N', 'N', '汇率类型按照不同用途将汇率分类,规范汇率的维护和使用,确保系统汇率合规、准确和完整。', '1398550862170316821', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852742', '3', '1398559889226883072', 'exchange_rate_date', 'exchange_rate_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '说明汇率是哪天的汇率', '1398550862170316822', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852743', '3', '1398559889226883072', 'exchange_rate', 'exchange_rate', 'decimal', '38', '18', 'Y', 'N', 'N', '是指From货币与To货币间的货币交换比率值,用于各会计期记账', '1398550862170316823', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852744', '3', '1398559889226883072', 'currency_code', 'currency_code', 'char', '15', NULL, 'Y', 'N', 'N', '官方使用的货币单位代码标识称为货币代码,用于表示一个国家/地区使用的货币单位,当发生外币交易业务时需在相关交易单据上标识', '1398550862170316824', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852745', '3', '1398559889226883072', 'functional_currency_code', 'functional_currency_code', 'char', '15', NULL, 'Y', 'N', 'N', '官方使用的货币单位代码标识称为货币代码,用于表示一个国家/地区使用的货币单位,当发生外币交易业务时需在相关交易单据上标识', '1398550862170316825', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852746', '3', '1398559889226883072', 'amount', 'amount', 'decimal', '38', '10', 'Y', 'N', 'N', '交易币不含税金额', '1398550862170316826', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852747', '3', '1398559889226883072', 'amount_funcl_curr', 'amount_funcl_curr', 'decimal', '38', '10', 'Y', 'N', 'N', '本位币不含税金额', '1398550862170316827', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852748', '3', '1398559889226883072', 'tax_inclusive_amount', 'tax_inclusive_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '交易币金额(含税)', '1398550862170316828', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852749', '3', '1398559889226883072', 'tax_inclusive_amount_funcl_curr', 'tax_inclusive_amount_funcl_curr', 'decimal', '38', '10', 'Y', 'N', 'N', '本位币金额(含税)', '1398550862170316829', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852750', '3', '1398559889226883072', 'gc_actual_cost_funcl_curr', 'gc_actual_cost_funcl_curr', 'decimal', '38', '18', 'Y', 'N', 'N', '本位币单价', '1398550862170316830', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852751', '3', '1398559889226883072', 'group_amount', 'group_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '交易币金额', '1398550862170316831', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852752', '3', '1398559889226883072', 'group_amount_funcl_curr', 'group_amount_funcl_curr', 'decimal', '38', '10', 'Y', 'N', 'N', '本位币金额', '1398550862170316832', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852753', '3', '1398559889226883072', 'organization_gc_cost_flag', 'organization_gc_cost_flag', 'char', '1', NULL, 'Y', 'N', 'N', '库存组织是否需要计价标识', '1398550862170316833', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852754', '3', '1398559889226883072', 'event_status', 'event_status', 'char', '64', NULL, 'Y', 'N', 'N', 'HAH核算标识', '1398550862170316834', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852755', '3', '1398559889226883072', 'event_id', 'event_id', 'char', '64', NULL, 'Y', 'N', 'N', 'HAH核算事件ID', '1398550862170316835', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852756', '3', '1398559889226883072', 'process_message', 'process_message', 'char', '500', NULL, 'Y', 'N', 'N', '记录外围处理错误消息', '1398550862170316836', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852757', '3', '1398559889226883072', 'transaction_id', 'transaction_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '验收事务表的主键ID', '1398550862170316837', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852758', '3', '1398559889226883072', 'ac_header_id', 'ac_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '验收头表的主键ID', '1398550862170316838', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852759', '3', '1398559889226883072', 'ac_line_id', 'ac_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '验收行表的主键ID', '1398550862170316839', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852760', '3', '1398559889226883072', 'po_number', 'po_number', 'char', '20', NULL, 'Y', 'N', 'N', 'PO号', '1398550862170316840', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852761', '3', '1398559889226883072', 'po_line_number', 'po_line_number', 'int', NULL, NULL, 'Y', 'N', 'N', '行号', '1398550862170316841', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852762', '3', '1398559889226883072', 'po_shipment_number', 'po_shipment_number', 'int', NULL, NULL, 'Y', 'N', 'N', '发运行号', '1398550862170316842', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852763', '3', '1398559889226883072', 'po_header_id', 'po_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO头表主键', '1398550862170316843', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852764', '3', '1398559889226883072', 'po_line_id', 'po_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '系统自动产生的PO行号', '1398550862170316844', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852765', '3', '1398559889226883072', 'po_line_shipment_id', 'po_line_shipment_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '发运行主键ID', '1398550862170316845', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852766', '3', '1398559889226883072', 'po_distribution_id', 'po_distribution_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO分配行主键', '1398550862170316846', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852767', '3', '1398559889226883072', 'accrue_on_receipt_flag', 'accrue_on_receipt_flag', 'char', '1', NULL, 'Y', 'N', 'N', '接收应计制-接收时是否需要产生分录,从PO分配行获取,值集为Y、N', '1398550862170316847', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852768', '3', '1398559889226883072', 'po_destination_type_code', 'po_destination_type_code', 'char', '25', NULL, 'Y', 'N', 'N', '采购分配行类型', '1398550862170316848', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852769', '3', '1398559889226883072', 'po_source_app_code', 'po_source_app_code', 'char', '50', NULL, 'Y', 'N', 'N', '外围系统单据唯一ID', '1398550862170316849', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852770', '3', '1398559889226883072', 'to_organization_code', 'to_organization_code', 'char', '3', NULL, 'Y', 'N', 'N', '库存组织的编码。', '1398550862170316850', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852771', '3', '1398559889226883072', 'to_subinventory_code', 'to_subinventory_code', 'char', '10', NULL, 'Y', 'N', 'N', '子库编码', '1398550862170316851', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852772', '3', '1398559889226883072', 'original_contract_number', 'original_contract_number', 'char', '240', NULL, 'Y', 'N', 'N', '用于创建该BPA的协议号', '1398550862170316852', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852773', '3', '1398559889226883072', 'purchase_contract_number', 'purchase_contract_number', 'char', '240', NULL, 'Y', 'N', 'N', '用于创建该BPA的协议号', '1398550862170316853', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852774', '3', '1398559889226883072', 'packing_slip', 'packing_slip', 'char', '100', NULL, 'Y', 'N', 'N', '泛网络记录发货单号,CBG场景记录CBG箱单信息', '1398550862170316854', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852775', '3', '1398559889226883072', 'project_code', 'project_code', 'char', '40', NULL, 'Y', 'N', 'N', '项目编码', '1398550862170316855', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852776', '3', '1398559889226883072', 'sub_project_code', 'sub_project_code', 'char', '40', NULL, 'Y', 'N', 'N', '子项目基于交付契约(可以是内部契约)建立,直接产生交易层面的数据,满足不同维度的财务核算要求。子项目支撑项目的交付和经营。子项目编码通常是由4开头的7位编码,用于标识子项目', '1398550862170316856', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852777', '3', '1398559889226883072', 'store_code', 'store_code', 'char', '200', NULL, 'Y', 'N', 'N', '本地店编码,三朵云定义的本地店,相当于代表处颗粒度', '1398550862170316857', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852778', '3', '1398559889226883072', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '用于记录最后修改数据的日期及时间', '1398550862170316858', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852779', '3', '1398559889226883072', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '用于记录最后修改数据的用户ID', '1398550862170316859', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852780', '3', '1398559889226883072', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '用于记录创建数据的日期和时间', '1398550862170316860', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852781', '3', '1398559889226883072', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '用于记录创建数据的用户ID', '1398550862170316861', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559890132852782', '3', '1398559889226883072', 'delete_flag', 'delete_flag', 'char', '1', NULL, 'Y', 'N', 'N', '标识记录是否被删除。', '1398550862170316862', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891168845824', '3', '1398559890472591360', 'rev_cost_header_id', 'rev_cost_header_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '销售收入成本核算单头ID:用于唯一标识一条销售收入成本核算单头记录的ID,雪花算法生成。', '1398550841492398080', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891168845825', '3', '1398559890472591360', 'creation_date', 'creation_date', 'DATETIME', NULL, NULL, 'N', 'N', 'N', '创建日期:IT审计字段', '1398550841496592412', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891168845826', '3', '1398559890472591360', 'last_updated_by', 'last_updated_by', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '最后修改人:IT审计字段', '1398550841496592413', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891168845827', '3', '1398559890472591360', 'last_update_date', 'last_update_date', 'DATETIME', NULL, NULL, 'N', 'N', 'N', '最后修改日期:IT审计字段', '1398550841496592414', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669888', '3', '1398559890472591360', 'rev_cost_acc_bill_number', 'rev_cost_acc_bill_number', 'char', '50', NULL, 'Y', 'N', 'N', '销售收入成本核算单编码:用于唯一标识一条销售收入成本核算单头记录的编码', '1398550841496592384', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669889', '3', '1398559890472591360', 'document_source', 'document_source', 'char', '50', NULL, 'Y', 'N', 'N', '单据来源:收入来源包括:订单中心-HOMS、合同中心-HCC、结算中心-ISTL;\r\n成本来源包括:库存中心-HINV、付款中心-HAP、采购履行服务-PUR_AC、采购PO服务-PUR_PO', '1398550841496592385', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669890', '3', '1398559890472591360', 'company_code', 'company_code', 'char', '30', NULL, 'Y', 'N', 'N', '公司编码:公司内部对各子公司的唯一识别标识,4位数字代码,前3位为机构段,最后1位默认为1;凡是华为投资的法律机构均会生成公司编码。', '1398550841496592386', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669891', '3', '1398559890472591360', 'contract_number', 'contract_number', 'char', '20', NULL, 'Y', 'N', 'N', '华为合同号:在内部相关系统中调用,按公司定义的合同号规则确定。规范华为集团内的合同号编码规则,指导各流程环节正确使用合同号,保证每个合同被唯一识别', '1398550841496592387', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669892', '3', '1398559890472591360', 'payment_unit_number', 'payment_unit_number', 'char', '3', NULL, 'Y', 'N', 'N', '付款单元号:收入多维度核算要求', '1398550841496592388', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669893', '3', '1398559890472591360', 'trigger_header_number', 'trigger_header_number', 'char', '50', NULL, 'Y', 'N', 'N', '收入触发头编码:对于合同中心触发的场景为收入触发ID,对于结算中心场景为打包号。', '1398550841496592389', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669894', '3', '1398559890472591360', 'project_number', 'project_number', 'char', '40', NULL, 'Y', 'N', 'N', '交付项目编码:收入多维度核算要求', '1398550841496592390', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669895', '3', '1398559890472591360', 'country_code', 'country_code', 'char', '50', NULL, 'Y', 'N', 'N', '国家编码:通过核算单头上的合同号匹配获取。', '1398550841496592391', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669896', '3', '1398559890472591360', 'bg_code', 'bg_code', 'char', '50', NULL, 'Y', 'N', 'N', 'BG编码:用来唯一标识各BG的系统编码', '1398550841496592392', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669897', '3', '1398559890472591360', 'account_number', 'account_number', 'char', '30', NULL, 'Y', 'N', 'N', 'BG客户编码:法人客户在BG中对应的交易编码,为交易界面客户识别标识。', '1398550841496592393', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669898', '3', '1398559890472591360', 'original_source', 'original_source', 'char', '50', NULL, 'Y', 'N', 'N', '初始来源:用于标识前端单据的来源。', '1398550841496592394', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669899', '3', '1398559890472591360', 'pre_trigger_header_number', 'pre_trigger_header_number', 'char', '50', NULL, 'Y', 'N', 'N', '上一次收入触发头编码:用于记录分期触发场景下,上一次收入触发头记录的编码', '1398550841496592395', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669900', '3', '1398559890472591360', 'source_trigger_header_number', 'source_trigger_header_number', 'char', '50', NULL, 'Y', 'N', 'N', '来源收入触发头编码:用于记录重触发、反触发场景下,来源收入触发头记录的编码', '1398550841496592396', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669901', '3', '1398559890472591360', 'trigger_level', 'trigger_level', 'int', NULL, NULL, 'Y', 'N', 'N', '收入触发层级:来源于收入触发记录,用于管理监控和管报要求', '1398550841496592397', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669902', '3', '1398559890472591360', 'trigger_unit_id', 'trigger_unit_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '收入触发单元ID:来源于收入触发记录对应的引用ID,用于管理监控和管报要求', '1398550841496592398', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669903', '3', '1398559890472591360', 'trigger_unit_number', 'trigger_unit_number', 'char', '250', NULL, 'Y', 'N', 'N', '收入触发单元编码:来源于收入触发记录对应的引用编码,用于管理监控和管报要求', '1398550841496592399', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669904', '3', '1398559890472591360', 'rev_cost_account_type', 'rev_cost_account_type', 'char', '10', NULL, 'Y', 'N', 'N', '核算单类型:自行加工,包括Defer/Rev/Cst', '1398550841496592400', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669905', '3', '1398559890472591360', 'ou_name', 'ou_name', 'char', '20', NULL, 'Y', 'N', 'N', 'OU名称:通常以OU+公司简称+公司编码来表示,支撑未来多组织多账簿核算', '1398550841496592401', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669906', '3', '1398559890472591360', 'unit_code', 'unit_code', 'char', '30', NULL, 'Y', 'N', 'N', '管理单元编码:交易控制层模块之间的关键通信要素,以及分库的关键要素', '1398550841496592402', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669907', '3', '1398559890472591360', 'salesperson_id', 'salesperson_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '销售员ID:用于生成COA区域段', '1398550841496592403', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669908', '3', '1398559890472591360', 'salesperson_code', 'salesperson_code', 'char', '30', NULL, 'Y', 'N', 'N', '销售员编码:用于生成COA区域段', '1398550841496592404', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669909', '3', '1398559890472591360', 'actual_delivery_date', 'actual_delivery_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '实际交付日期:来源于收入触发记录,用于生成交易日期,并进一步判断汇率日期、总账日期。', '1398550841496592405', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669910', '3', '1398559890472591360', 'actual_trigger_date', 'actual_trigger_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '实际触发日期:来源于收入触发记录,用于生成交易日期,并进一步判断汇率日期、总账日期。', '1398550841496592406', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669911', '3', '1398559890472591360', 'pm_approved_date', 'pm_approved_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', 'PM审批时间:来源于收入触发记录,用于生成交易日期,并进一步判断汇率日期、总账日期。', '1398550841496592407', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669912', '3', '1398559890472591360', 'revenue_start_date', 'revenue_start_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '开始日期:来源于收入触发记录,为直线法的开始日期。', '1398550841496592408', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669913', '3', '1398559890472591360', 'revenue_end_date', 'revenue_end_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '结束日期:来源于收入触发记录,为直线法的结束日期。', '1398550841496592409', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669914', '3', '1398559890472591360', 'coa_product_code', 'coa_product_code', 'char', '50', NULL, 'Y', 'N', 'N', 'COA产品段编码:用于归集“Offering(损益对象)”的费用、成本、收入等损益数据的财务编码,可提供产品损益表供管理改进使用。', '1398550841496592410', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669915', '3', '1398559890472591360', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '创建人:IT审计字段', '1398550841496592411', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669916', '3', '1398559890472591360', 'description', 'description', 'char', '500', NULL, 'Y', 'N', 'N', '对本条记录的说明:IT审计字段', '1398550841496592415', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669917', '3', '1398559890472591360', 'query_fields', 'query_fields', 'text', NULL, NULL, 'Y', 'N', 'N', '查询域实际存储值包括:\r\n收入确认时点编码 confirm_point_code INT4\r\n收入确认时点名称 confirm_point_name VARCHAR(100)\r\n收入确认方法编码 confirm_method_code INT4\r\n收入确认方法名称 confirm_method_name VARCHAR(100)\r\n', '1398550841496592416', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669918', '3', '1398559890472591360', 'attribute1', 'attribute1', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域1:要货客户编码,demand_customer_account_code,VARCHAR(30),引用数据标准为最终客户BG编码,\r\n用于CBG中资方案。', '1398550841496592417', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669919', '3', '1398559890472591360', 'attribute2', 'attribute2', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域2:要货国家编码,demand_country_code,VARCHAR(50),引用数据标准为最终销售国,\r\n用于CBG中资方案。', '1398550841496592418', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669920', '3', '1398559890472591360', 'attribute3', 'attribute3', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域3:合同交易模式,contract_transaction_model,VARCHAR(50),引用数据标准为交易模式,\r\n用于CBG中资方案。', '1398550841496592419', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669921', '3', '1398559890472591360', 'attribute4', 'attribute4', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域4:方案标识,solution_type,VARCHAR(10)', '1398550841496592420', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669922', '3', '1398559890472591360', 'attribute5', 'attribute5', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域5:未启用', '1398550841496592421', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669923', '3', '1398559890472591360', 'attribute6', 'attribute6', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域6:未启用。', '1398550841496592422', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669924', '3', '1398559890472591360', 'attribute7', 'attribute7', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域7:未启用', '1398550841496592423', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669925', '3', '1398559890472591360', 'attribute8', 'attribute8', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域8:未启用', '1398550841496592424', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669926', '3', '1398559890472591360', 'attribute9', 'attribute9', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域9:未启用', '1398550841496592425', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669927', '3', '1398559890472591360', 'attribute10', 'attribute10', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域10:未启用', '1398550841496592426', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669928', '3', '1398559890472591360', 'attribute11', 'attribute11', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域11:未启用', '1398550841496592427', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669929', '3', '1398559890472591360', 'attribute12', 'attribute12', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域12:未启用', '1398550841496592428', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669930', '3', '1398559890472591360', 'attribute13', 'attribute13', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域13:未启用', '1398550841496592429', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669931', '3', '1398559890472591360', 'attribute14', 'attribute14', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域14:未启用', '1398550841496592430', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669932', '3', '1398559890472591360', 'attribute15', 'attribute15', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域15:未启用', '1398550841496592431', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669933', '3', '1398559890472591360', 'attribute16', 'attribute16', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域16:未启用', '1398550841496592432', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669934', '3', '1398559890472591360', 'attribute17', 'attribute17', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域17:未启用', '1398550841496592433', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669935', '3', '1398559890472591360', 'attribute18', 'attribute18', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域18:未启用', '1398550841496592434', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669936', '3', '1398559890472591360', 'attribute19', 'attribute19', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域19:未启用', '1398550841496592435', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669937', '3', '1398559890472591360', 'attribute20', 'attribute20', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域20:未启用', '1398550841496592436', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559891445669938', '3', '1398559890472591360', 'TRIGGER_SCHEDULE_ID', 'TRIGGER_SCHEDULE_ID', 'decimal', '22', NULL, 'Y', 'N', 'N', 'RTS中收入触发ID,原字段Revenue_TRIGGER_SCHEDULE_ID', '1398550841496592437', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:36', '1004', '2021-05-29 16:40:36', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892473274368', '3', '1398559891772825600', 'rev_cost_line_id', 'rev_cost_line_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '销售收入成本核算单行ID:用于唯一标识一条销售收入成本核算单头记录的ID,雪花算法生成。', '1398550842029268992', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892473274369', '3', '1398559891772825600', 'partition_number', 'partition_number', 'INT', NULL, NULL, 'N', 'N', 'N', '分片键:分区字段,IT提升性能用', '1398550842029269055', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795264', '3', '1398559891772825600', 'rev_cost_line_number', 'rev_cost_line_number', 'char', '50', NULL, 'Y', 'N', 'N', '销售收入成本核算单行编码:用于唯一标识一条销售收入成本核算单行记录的编码', '1398550842029268993', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795265', '3', '1398559891772825600', 'rev_cost_header_id', 'rev_cost_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '销售收入成本核算单头ID:关联销售收入成本核算单头表上的主键ID。', '1398550842029268994', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795266', '3', '1398559891772825600', 'unit_code', 'unit_code', 'char', '30', NULL, 'Y', 'N', 'N', '管理单元编码:交易控制层模块之间的关键通信要素,以及分库的关键要素', '1398550842029268995', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795267', '3', '1398559891772825600', 'ou_name', 'ou_name', 'char', '20', NULL, 'Y', 'N', 'N', 'OU名称:通常以OU+公司简称+公司编码来表示,支撑未来多组织多账簿核算', '1398550842029268996', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795268', '3', '1398559891772825600', 'trigger_line_number', 'trigger_line_number', 'char', '50', NULL, 'Y', 'N', 'N', '收入触发行编码:来源于合同中心的收入触发明细、或结算中心的打包号', '1398550842029268997', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795269', '3', '1398559891772825600', 'document_line_id', 'document_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '前端交易单据行ID:对于订单场景,来源于sales_order_line_id;对于合同中心为履行行ID', '1398550842029268998', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795270', '3', '1398559891772825600', 'document_line_number', 'document_line_number', 'char', '50', NULL, 'Y', 'N', 'N', '前端交易单据行号:对于订单场景,来源于sales_order_line_number;对于合同中心为履行行号', '1398550842029268999', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795271', '3', '1398559891772825600', 'document_line_type', 'document_line_type', 'char', '10', NULL, 'Y', 'N', 'N', '前端交易单据行类型编码:对于订单场景,来源于sales_order_line_type;对于合同中心为履行行类型;对于库存杂项交易,为库存交易类型;', '1398550842029269000', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795272', '3', '1398559891772825600', 'document_line_type_name', 'document_line_type_name', 'char', '100', NULL, 'Y', 'N', 'N', '前端交易单据行类型名称:对于订单场景,来源于sales_order_line_type;对于合同中心为履行行类型;对于库存杂项交易,为库存交易类型;', '1398550842029269001', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795273', '3', '1398559891772825600', 'item_code', 'item_code', 'char', '40', NULL, 'Y', 'N', 'N', '物料编码:来源于订单中心。', '1398550842029269002', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795274', '3', '1398559891772825600', 'ordered_item_subcategory', 'ordered_item_subcategory', 'char', '30', NULL, 'Y', 'N', 'N', '台套行(类别为DEMAND_CFG_LINE)的子类别:\r\n1、PURE_SOFTWARE_CFG 纯软件台套:如果是设备下纯软件台套,不发货,调不到成本是正常的\r\n2、PRODUCT_CFG_NP nonprice台套\r\n3、PRODUCT_CFG 其它\r\n\r\nBpart行(类别为FULFILL_BPART_LINE)的子类别:\r\n1、SOFTWARE_LICENSE(SELF-MADE) 自研软件\r\n2、OUTSOURCING_SOFTWARE 外购软件\r\n3、PRODUCT', '1398550842029269003', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795275', '3', '1398559891772825600', 'coa_product_code', 'coa_product_code', 'char', '50', NULL, 'Y', 'N', 'N', 'COA产品段编码:可用于归集“Offering(损益对象)”的费用、成本、收入等损益数据的财务编码,可提供产品损益表供管理改进使用。', '1398550842029269004', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795276', '3', '1398559891772825600', 'product_name', 'product_name', 'char', '256', NULL, 'Y', 'N', 'N', '产品名称:来源于PBI。', '1398550842029269005', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795277', '3', '1398559891772825600', 'unit_price', 'unit_price', 'decimal', '38', '18', 'Y', 'N', 'N', '单价:用于记录收入成本核算单的单价,分别来源于销售订单行单价、合同履行行单价', '1398550842029269006', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795278', '3', '1398559891772825600', 'quantity', 'quantity', 'decimal', '24', '6', 'Y', 'N', 'N', '数量:用于记录每一个收入成本核算单行的数量', '1398550842029269007', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795279', '3', '1398559891772825600', 'uom_code', 'uom_code', 'char', '30', NULL, 'Y', 'N', 'N', '单位:对于库存来源,为库存的主单位;对于订单来源,为订单上的单位;', '1398550842029269008', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795280', '3', '1398559891772825600', 'transaction_amount', 'transaction_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '交易币金额:用于记录不同类型的交易币金额,如递延收入金额,收入金额、税金、成本金额', '1398550842029269009', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795281', '3', '1398559891772825600', 'functional_amount', 'functional_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '本位币金额:用于记录不同类型的本位币金额,如递延收入金额,收入金额、税金、成本金额', '1398550842029269010', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795282', '3', '1398559891772825600', 'transaction_currency_code', 'transaction_currency_code', 'char', '15', NULL, 'Y', 'N', 'N', '交易币币种:由前段交易传入。', '1398550842029269011', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795283', '3', '1398559891772825600', 'functional_currency_code', 'functional_currency_code', 'char', '15', NULL, 'Y', 'N', 'N', '交易币币种:由前段交易传入或通过账套获取。', '1398550842029269012', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795284', '3', '1398559891772825600', 'line_type', 'line_type', 'char', '50', NULL, 'Y', 'N', 'N', '核算单行类型:用于区分ITEM行和TAX行', '1398550842029269013', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795285', '3', '1398559891772825600', 'rev_tax_line_id', 'rev_tax_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '税行ID,IT主键,', '1398550842029269014', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795286', '3', '1398559891772825600', 'link_to_rev_cost_line_id', 'link_to_rev_cost_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '关联核算单行ID:对于TAX行,用于关联ITEM行的行ID。', '1398550842029269015', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795287', '3', '1398559891772825600', 'selling_price', 'selling_price', 'decimal', '38', '18', 'Y', 'N', 'N', '客户界面单价:由前端传入,用于计算客户界面金额,以支撑计税。', '1398550842029269016', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795288', '3', '1398559891772825600', 'selling_amount', 'selling_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '客户界面金额:前端传入或自行计算,客户界面单价*数量,并作为行金额传递给计税服务。', '1398550842029269017', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795289', '3', '1398559891772825600', 'inclusive_tax_flag', 'inclusive_tax_flag', 'char', '1', NULL, 'Y', 'N', 'N', '含税标识:分业务场景配置行金额是否含税标识。', '1398550842029269018', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795290', '3', '1398559891772825600', 'tax_code', 'tax_code', 'char', '50', NULL, 'Y', 'N', 'N', '税码:由前端传入,对于ITEM行,保存税组或税码,对于TAX行保存税码。', '1398550842029269019', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795291', '3', '1398559891772825600', 'tax_rate', 'tax_rate', 'decimal', '38', '10', 'Y', 'N', 'N', '税率:由前端传入或者自行调用计税服务获取。', '1398550842029269020', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795292', '3', '1398559891772825600', 'taxable_amount', 'taxable_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '税基:由前端传入或者自行调用计税服务获取。', '1398550842029269021', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795293', '3', '1398559891772825600', 'tax_amount', 'tax_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '税金:由前端传入或者自行调用计税服务获取。', '1398550842029269022', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795294', '3', '1398559891772825600', 'account_business_type_code', 'account_business_type_code', 'char', '50', NULL, 'Y', 'N', 'N', '核算业务类型编码:核算业务类型根据订单类型转化,用于判断收入的不同类型,和会计事件组合确定最终的科目,是决定会计科目的因素之一。', '1398550842029269023', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795295', '3', '1398559891772825600', 'perf_obligation_unit_number', 'perf_obligation_unit_number', 'char', '50', NULL, 'Y', 'N', 'N', 'POU编码:POU即Performance Obligation Unit,是收入确认的基本单元。', '1398550842029269024', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795296', '3', '1398559891772825600', 'control_transfer_method', 'control_transfer_method', 'char', '10', NULL, 'Y', 'N', 'N', 'CTM-控制权转移方法:用于控制一次收入确认或分批多次收入确认。', '1398550842029269025', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795297', '3', '1398559891772825600', 'revenue_measurement_method', 'revenue_measurement_method', 'char', '10', NULL, 'Y', 'N', 'N', 'RMM-收入计量方法:包括Unit、Period、Percent,Unit为按量确认,Period为按期间确认,Percent为按比例确认。', '1398550842029269026', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795298', '3', '1398559891772825600', 'milestone_or_percentage_code', 'milestone_or_percentage_code', 'int', NULL, NULL, 'Y', 'N', 'N', 'MOP编码:Milestone or Percent,里程碑或完工百分比,初始源来源为控制权解析。', '1398550842029269027', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795299', '3', '1398559891772825600', 'milestone_or_percentage_name', 'milestone_or_percentage_name', 'char', '100', NULL, 'Y', 'N', 'N', 'MOP名称:Milestone or Percent,里程碑或完工百分比,初始源来源为控制权解析。', '1398550842029269028', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795300', '3', '1398559891772825600', 'source_trigger_line_number', 'source_trigger_line_number', 'char', '50', NULL, 'Y', 'N', 'N', '来源收入触发行编码:用于记录重触发、反触发场景下,来源收入触发行记录的编码', '1398550842029269029', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795301', '3', '1398559891772825600', 'pre_trigger_line_number', 'pre_trigger_line_number', 'char', '50', NULL, 'Y', 'N', 'N', '上一次收入触发行编码:用于记录分期触发场景下,上一次收入触发行记录的编码', '1398550842029269030', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795302', '3', '1398559891772825600', 'trigger_version', 'trigger_version', 'int', NULL, NULL, 'Y', 'N', 'N', '收入触发版本:用于标识收入触发的版本序列号,仅用于Unit Price场景。', '1398550842029269031', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795303', '3', '1398559891772825600', 'document_type_name', 'document_type_name', 'char', '100', NULL, 'Y', 'N', 'N', '前端交易单据类型名称:用于记录前端交易的单据类型,如订单类型、包括退货、调整单、标准订单等;', '1398550842029269032', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795304', '3', '1398559891772825600', 'revenue_transaction_type', 'revenue_transaction_type', 'char', '2', NULL, 'Y', 'N', 'N', '收入触发类型:Y:表示正向触发交易;\r\nN:表示逆向触发交易;\r\nR:表示重新处理', '1398550842029269033', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795305', '3', '1398559891772825600', 'document_header_id', 'document_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '前端交易单据头ID:用于记录前端交易的单据头ID,如订单头ID等', '1398550842029269034', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795306', '3', '1398559891772825600', 'document_number', 'document_number', 'char', '50', NULL, 'Y', 'N', 'N', '前端交易单据号:对于订单场景为订单号。', '1398550842029269035', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795307', '3', '1398559891772825600', 'document_type', 'document_type', 'char', '10', NULL, 'Y', 'N', 'N', '前端交易单据类型:对于订单场景,来源于sales_order_type,用于识别正向、退货、调整单等;', '1398550842029269036', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795308', '3', '1398559891772825600', 'transaction_id', 'transaction_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '库存交易ID:来源于库存中心。', '1398550842029269037', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795309', '3', '1398559891772825600', 'reference_document_number', 'reference_document_number', 'char', '50', NULL, 'Y', 'N', 'N', '关联单据号:对于订单来源为退货关联原单场景下的关联订单号。', '1398550842029269038', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795310', '3', '1398559891772825600', 'reference_document_line_id', 'reference_document_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '关联单据行ID:对于订单场景,来源于reference_sales_order_id', '1398550842029269039', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795311', '3', '1398559891772825600', 'reference_document_line_number', 'reference_document_line_number', 'char', '50', NULL, 'Y', 'N', 'N', '关联单据行号:对于订单场景,来源于reference_sales_order_number', '1398550842029269040', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795312', '3', '1398559891772825600', 'accumulated_percent', 'accumulated_percent', 'decimal', NULL, NULL, 'Y', 'N', 'N', '累计触发比例:对于独立软件年费、嵌入式软件年费、服务产品按比例触发的场景,用于记录当前触发的比例,用于计算当次确认的收入金额。', '1398550842029269041', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795313', '3', '1398559891772825600', 'sales_attribute', 'sales_attribute', 'char', '100', NULL, 'Y', 'N', 'N', '销售属性名称:用于标识终端的赠机、备机、样机、销售机等。', '1398550842029269042', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795314', '3', '1398559891772825600', 'du_id', 'du_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '交付单元ID:来源SO行,为业务基本管理单元,收入核算多维度要求', '1398550842029269043', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795315', '3', '1398559891772825600', 'actual_shipment_date', 'actual_shipment_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '实际发货时间:收入中心自行加工,用于确认会计期。', '1398550842029269044', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795316', '3', '1398559891772825600', 'cfg_instance_id', 'cfg_instance_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '产品配置实例ID:即台套ID', '1398550842029269045', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795317', '3', '1398559891772825600', 'accumulated_amount', 'accumulated_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '累计金额:用于记录前端传递的累计金额,并依此计算当次收入确认的增量金额。', '1398550842029269046', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795318', '3', '1398559891772825600', 'gc_transaction_amount', 'gc_transaction_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '集团成本交易币金额:来源于库存服务,成本核算基本要求', '1398550842029269047', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795319', '3', '1398559891772825600', 'gc_functional_amount', 'gc_functional_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '集团成本本位币金额:来源于库存服务,成本核算基本要求', '1398550842029269048', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795320', '3', '1398559891772825600', 'business_type_code', 'business_type_code', 'char', '30', NULL, 'Y', 'N', 'N', '业务类型编码:用于区分收入成本核算的不同业务场景。', '1398550842029269049', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795321', '3', '1398559891772825600', 'transaction_date', 'transaction_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '交易日期:根据前端的业务履行日期按照规则生成交易日期,用于支撑会计期计算。', '1398550842029269050', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892678795322', '3', '1398559891772825600', 'exchange_rate_date', 'exchange_rate_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '汇率日期:说明汇率是哪天的汇率,由前段传入,或按规则计算。', '1398550842029269051', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989568', '3', '1398559891772825600', 'exchange_rate_type', 'exchange_rate_type', 'char', '100', NULL, 'Y', 'N', 'N', '汇率类型:由前段传入或按账套获取默认汇率类型。', '1398550842029269052', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989569', '3', '1398559891772825600', 'exchange_rate', 'exchange_rate', 'decimal', '38', '18', 'Y', 'N', 'N', '汇率:是指From货币与To货币间的货币交换比率值,用于各会计期记账。', '1398550842029269053', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989570', '3', '1398559891772825600', 'line_description', 'line_description', 'char', '1000', NULL, 'Y', 'N', 'N', '核算单行描述:用于保存业务的描述性信息。', '1398550842029269054', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989571', '3', '1398559891772825600', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '创建人:IT审计字段', '1398550842029269056', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989572', '3', '1398559891772825600', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '创建日期:IT审计字段', '1398550842029269057', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989573', '3', '1398559891772825600', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '最后修改人:IT审计字段', '1398550842029269058', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989574', '3', '1398559891772825600', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '最后修改日期:IT审计字段', '1398550842029269059', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989575', '3', '1398559891772825600', 'description', 'description', 'char', '500', NULL, 'Y', 'N', 'N', '对本条记录的说明:IT审计字段', '1398550842029269060', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989576', '3', '1398559891772825600', 'query_fields', 'query_fields', 'text', NULL, NULL, 'Y', 'N', 'N', '查询域:未启用。', '1398550842029269061', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989577', '3', '1398559891772825600', 'attribute1', 'attribute1', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域1:店铺组编码,shop_group_code,VARCHAR2(10)\r\n,用于CBG电商线上服务分期确认场景,CBG电商日常核算需按照店铺维度管理,多维度核算需求。', '1398550842029269062', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989578', '3', '1398559891772825600', 'attribute2', 'attribute2', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域2:店铺组名称,shop_group_name,VARCHAR2(50),\r\n用于CBG电商线上服务分期确认场景,CBG电商日常核算需按照店铺维度管理,多维度核算需求', '1398550842029269063', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989579', '3', '1398559891772825600', 'attribute3', 'attribute3', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域3:金额匹配单元,price_match_unit,VARCHAR(240)\r\n来源于订单行,用于分析参考,对于泛网络为台套ID,对于终端为交付行号', '1398550842029269064', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989580', '3', '1398559891772825600', 'attribute4', 'attribute4', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域4:空台套标识,empty_instance_flag,varchar(1),空台套(标识为Y)调不到成本是正常的。 非空台套(标识为N)调不到成本为异常。', '1398550842029269065', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989581', '3', '1398559891772825600', 'attribute5', 'attribute5', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域5:未启用', '1398550842029269066', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989582', '3', '1398559891772825600', 'attribute6', 'attribute6', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域6:未启用', '1398550842029269067', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989583', '3', '1398559891772825600', 'attribute7', 'attribute7', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域7:未启用', '1398550842029269068', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989584', '3', '1398559891772825600', 'attribute8', 'attribute8', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域8:未启用', '1398550842029269069', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989585', '3', '1398559891772825600', 'attribute9', 'attribute9', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域9:未启用', '1398550842029269070', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989586', '3', '1398559891772825600', 'attribute10', 'attribute10', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域10:未启用', '1398550842029269071', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989587', '3', '1398559891772825600', 'attribute11', 'attribute11', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域11:未启用', '1398550842029269072', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989588', '3', '1398559891772825600', 'attribute12', 'attribute12', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域12:未启用', '1398550842029269073', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989589', '3', '1398559891772825600', 'attribute13', 'attribute13', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域13:未启用', '1398550842029269074', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989590', '3', '1398559891772825600', 'attribute14', 'attribute14', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域14:未启用', '1398550842029269075', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989591', '3', '1398559891772825600', 'attribute15', 'attribute15', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域15:未启用', '1398550842029269076', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989592', '3', '1398559891772825600', 'attribute16', 'attribute16', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域16:未启用', '1398550842029269077', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989593', '3', '1398559891772825600', 'attribute17', 'attribute17', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域17:未启用', '1398550842029269078', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989594', '3', '1398559891772825600', 'attribute18', 'attribute18', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域18:未启用', '1398550842029269079', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989595', '3', '1398559891772825600', 'attribute19', 'attribute19', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域19:未启用', '1398550842029269080', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989596', '3', '1398559891772825600', 'attribute20', 'attribute20', 'char', '150', NULL, 'Y', 'N', 'N', '弹性域20:未启用', '1398550842029269081', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989597', '3', '1398559891772825600', 'so_line_id', 'so_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '销售订单行ID', '1398550842029269082', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559892682989598', '3', '1398559891772825600', 'TRIGGER_LINE_ID', 'TRIGGER_LINE_ID', 'decimal', NULL, NULL, 'Y', 'N', 'N', 'RTS中收入触发记录行ID', '1398550842029269083', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559893765120000', '3', '1398559893077254144', 'order_header_id', 'order_header_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '销售订单头ID', '1398550851541950466', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559893765120001', '3', '1398559893077254144', 'order_number', 'order_number', 'CHAR', '50', NULL, 'N', 'N', 'N', '销售订单号', '1398550851541950467', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559893765120002', '3', '1398559893077254144', 'currency_code', 'currency_code', 'CHAR', '15', NULL, 'N', 'N', 'N', '币种', '1398550851541950476', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559893765120003', '3', '1398559893077254144', 'version', 'version', 'CHAR', '50', NULL, 'N', 'N', 'N', '销售订单版本', '1398550851541950521', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559893765120004', '3', '1398559893077254144', 'route_id', 'route_id', 'INT', '10', NULL, 'N', 'N', 'N', '路由ID', '1398550851541950530', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944064', '3', '1398559893077254144', 'unit_code', 'unit_code', 'char', '30', NULL, 'Y', 'N', 'N', '签约公司COA', '1398550851541950464', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944065', '3', '1398559893077254144', 'sales_company_code', 'sales_company_code', 'char', '30', NULL, 'Y', 'N', 'N', '订单归属的公司', '1398550851541950465', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944066', '3', '1398559893077254144', 'so_source_code', 'so_source_code', 'char', '40', NULL, 'Y', 'N', 'N', '标识销售订单来源,在销售订单来源表定义', '1398550851541950468', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944067', '3', '1398559893077254144', 'source_number', 'source_number', 'char', '100', NULL, 'Y', 'N', 'N', '销售订单来源单据号', '1398550851541950469', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944068', '3', '1398559893077254144', 'contract_number', 'contract_number', 'char', '20', NULL, 'Y', 'N', 'N', '华为合同号在内部相关系统中调用,按公司定义的合同号规则确定。规范华为集团内的合同号编码规则,指导各流程环节正确使用合同号,保证每个合同被唯一识别', '1398550851541950470', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944069', '3', '1398559893077254144', 'account_code', 'account_code', 'char', '30', NULL, 'Y', 'N', 'N', '客户编码', '1398550851541950471', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944070', '3', '1398559893077254144', 'bp_name', 'bp_name', 'char', '240', NULL, 'Y', 'N', 'N', '客户名称', '1398550851541950472', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944071', '3', '1398559893077254144', 'salesperson_code', 'salesperson_code', 'char', '30', NULL, 'Y', 'N', 'N', '销售员编码', '1398550851541950473', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944072', '3', '1398559893077254144', 'sales_order_type', 'sales_order_type', 'char', '50', NULL, 'Y', 'N', 'N', '销售订单类型,在销售订单类型表定义', '1398550851541950474', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944073', '3', '1398559893077254144', 'status', 'status', 'char', '50', NULL, 'Y', 'N', 'N', '销售订单状态,在销售订单状态表定义', '1398550851541950475', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944074', '3', '1398559893077254144', 'order_amount', 'order_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '订单总金额', '1398550851541950477', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944075', '3', '1398559893077254144', 'country_code', 'country_code', 'char', '200', NULL, 'Y', 'N', 'N', '签约国家', '1398550851541950478', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944076', '3', '1398559893077254144', 'cust_contract_no', 'cust_contract_no', 'char', '300', NULL, 'Y', 'N', 'N', '客户PO号', '1398550851541950479', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944077', '3', '1398559893077254144', 'salesperson_id', 'salesperson_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '销售员代码', '1398550851541950480', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944078', '3', '1398559893077254144', 'payment_unit_number', 'payment_unit_number', 'char', '3', NULL, 'Y', 'N', 'N', '期次号', '1398550851541950481', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944079', '3', '1398559893077254144', 'cust_contact_id', 'cust_contact_id', 'char', '50', NULL, 'Y', 'N', 'N', '客户联系人ID', '1398550851541950482', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944080', '3', '1398559893077254144', 'demand_country_code', 'demand_country_code', 'char', '50', NULL, 'Y', 'N', 'N', '要货国家编码', '1398550851541950483', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944081', '3', '1398559893077254144', 'demand_account_code', 'demand_account_code', 'char', '30', NULL, 'Y', 'N', 'N', '要货客户编码', '1398550851541950484', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944082', '3', '1398559893077254144', 'contract_transaction_mode', 'contract_transaction_mode', 'char', '50', NULL, 'Y', 'N', 'N', '合同交易模式', '1398550851541950485', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944083', '3', '1398559893077254144', 'ordered_date', 'ordered_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '待补充', '1398550851541950486', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944084', '3', '1398559893077254144', 'reference_order_number', 'reference_order_number', 'char', '50', NULL, 'Y', 'N', 'N', '关联销售订单号', '1398550851541950487', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944085', '3', '1398559893077254144', 'organization_code', 'organization_code', 'char', '3', NULL, 'Y', 'N', 'N', '发运组织', '1398550851541950488', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944086', '3', '1398559893077254144', 'orig_signing_code', 'orig_signing_code', 'char', '150', NULL, 'Y', 'N', 'N', '签约主体', '1398550851541950489', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944087', '3', '1398559893077254144', 'submitted_date', 'submitted_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '销售订单提交时间', '1398550851541950490', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944088', '3', '1398559893077254144', 'bg_code', 'bg_code', 'char', '50', NULL, 'Y', 'N', 'N', '用来唯一标识各BG的系统编码,供各业务系统方便引用\r\n目前枚举使用如下:\r\nOperator、Enterprise、Consumer、Other', '1398550851541950491', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944089', '3', '1398559893077254144', 'orig_contract_number', 'orig_contract_number', 'char', '20', NULL, 'Y', 'N', 'N', '客户界面原始合同号', '1398550851541950492', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944090', '3', '1398559893077254144', 'loan_subinventory_code', 'loan_subinventory_code', 'char', '10', NULL, 'Y', 'N', 'N', '借货子库', '1398550851541950493', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944091', '3', '1398559893077254144', 'bill_to_location_id', 'bill_to_location_id', 'bigint', '15', NULL, 'Y', 'N', 'N', '发票地址ID', '1398550851541950494', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944092', '3', '1398559893077254144', 'bill_to_country', 'bill_to_country', 'char', '150', NULL, 'Y', 'N', 'N', '发票国家', '1398550851541950495', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944093', '3', '1398559893077254144', 'bill_to_state', 'bill_to_state', 'char', '150', NULL, 'Y', 'N', 'N', '发票省', '1398550851541950496', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944094', '3', '1398559893077254144', 'bill_to_city', 'bill_to_city', 'char', '150', NULL, 'Y', 'N', 'N', '发票市', '1398550851541950497', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944095', '3', '1398559893077254144', 'bill_to_address_detail', 'bill_to_address_detail', 'char', '1000', NULL, 'Y', 'N', 'N', '发票详细地址', '1398550851541950498', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944096', '3', '1398559893077254144', 'bill_to_cust_contact_id', 'bill_to_cust_contact_id', 'char', '50', NULL, 'Y', 'N', 'N', '发票联系人ID', '1398550851541950499', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944097', '3', '1398559893077254144', 'request_date', 'request_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '要求到货日期', '1398550851541950500', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944098', '3', '1398559893077254144', 'ship_to_location_id', 'ship_to_location_id', 'bigint', '15', NULL, 'Y', 'N', 'N', '收货地址ID', '1398550851541950501', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944099', '3', '1398559893077254144', 'ship_to_country', 'ship_to_country', 'char', '150', NULL, 'Y', 'N', 'N', '收货国家', '1398550851541950502', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944100', '3', '1398559893077254144', 'ship_to_state', 'ship_to_state', 'char', '150', NULL, 'Y', 'N', 'N', '收货省', '1398550851541950503', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944101', '3', '1398559893077254144', 'ship_to_city', 'ship_to_city', 'char', '150', NULL, 'Y', 'N', 'N', '收货市', '1398550851541950504', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944102', '3', '1398559893077254144', 'ship_to_zone', 'ship_to_zone', 'char', '200', NULL, 'Y', 'N', 'N', '收货区', '1398550851541950505', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944103', '3', '1398559893077254144', 'ship_to_address_detail', 'ship_to_address_detail', 'char', '1000', NULL, 'Y', 'N', 'N', '收货详细地址', '1398550851541950506', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944104', '3', '1398559893077254144', 'ship_to_cust_contact_id', 'ship_to_cust_contact_id', 'char', '50', NULL, 'Y', 'N', 'N', '收货联系人ID', '1398550851541950507', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944105', '3', '1398559893077254144', 'transport_mode', 'transport_mode', 'char', '30', NULL, 'Y', 'N', 'N', '发运方式', '1398550851541950508', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944106', '3', '1398559893077254144', 'freight_supplier_code', 'freight_supplier_code', 'char', '30', NULL, 'Y', 'N', 'N', '物流承运商', '1398550851541950509', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944107', '3', '1398559893077254144', 'partial_shipments_flag', 'partial_shipments_flag', 'char', '1', NULL, 'Y', 'N', 'N', '', '1398550851541950510', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944108', '3', '1398559893077254144', 'trade_term_code', 'trade_term_code', 'char', '30', NULL, 'Y', 'N', 'N', 'FOB', '1398550851541950511', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944109', '3', '1398559893077254144', 'shipping_priority', 'shipping_priority', 'char', '50', NULL, 'Y', 'N', 'N', '发运优先级,等待华技方案的时候确定', '1398550851541950512', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944110', '3', '1398559893077254144', 'packing_instruction', 'packing_instruction', 'char', '500', NULL, 'Y', 'N', 'N', '包装指令', '1398550851541950513', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944111', '3', '1398559893077254144', 'shipping_instruction', 'shipping_instruction', 'char', '500', NULL, 'Y', 'N', 'N', '发货指令', '1398550851541950514', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944112', '3', '1398559893077254144', 'remark', 'remark', 'char', '500', NULL, 'Y', 'N', 'N', '备注', '1398550851541950515', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944113', '3', '1398559893077254144', 'exchange_rate_type', 'exchange_rate_type', 'char', '100', NULL, 'Y', 'N', 'N', '汇率类型', '1398550851541950516', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944114', '3', '1398559893077254144', 'exchange_rate_date', 'exchange_rate_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '', '1398550851541950517', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944115', '3', '1398559893077254144', 'payment_terms_code', 'payment_terms_code', 'char', '100', NULL, 'Y', 'N', 'N', '付款条款', '1398550851541950518', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944116', '3', '1398559893077254144', 'solution_type', 'solution_type', 'char', '10', NULL, 'Y', 'N', 'N', '方案标识', '1398550851541950519', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944117', '3', '1398559893077254144', 'hold_flag', 'hold_flag', 'char', '1', NULL, 'Y', 'N', 'N', '订单暂挂标识 Y:暂挂 N:不暂挂', '1398550851541950520', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944118', '3', '1398559893077254144', 'confirmed_date', 'confirmed_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '', '1398550851541950522', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944119', '3', '1398559893077254144', 'return_reason', 'return_reason', 'char', '500', NULL, 'Y', 'N', 'N', '退回原因,若生成RMA时,此字段必录,并且默认带到订单行上', '1398550851541950523', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944120', '3', '1398559893077254144', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '用于记录创建数据的日期和时间', '1398550851541950524', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944121', '3', '1398559893077254144', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '用于记录创建数据的用户ID', '1398550851541950525', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944122', '3', '1398559893077254144', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '用于记录最后修改数据的用户ID', '1398550851541950526', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944123', '3', '1398559893077254144', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '用于记录最后修改数据的日期及时间', '1398550851541950527', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944124', '3', '1398559893077254144', 'delete_flag', 'delete_flag', 'char', '1', NULL, 'Y', 'N', 'N', '用于表示数据是否软删除,删除后一般业务用户不可见', '1398550851541950528', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944125', '3', '1398559893077254144', 'set_flag', 'set_flag', 'char', '1', NULL, 'Y', 'N', 'N', '订单齐套标识\r\nY:已经齐套,所有行都关闭后头可以关闭\r\nN:未齐套,头不能关闭', '1398550851541950529', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944126', '3', '1398559893077254144', 'price_list_id', 'price_list_id', 'int', '22', NULL, 'Y', 'N', 'N', '价格列表ID\r\n', '1398550851541950531', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944127', '3', '1398559893077254144', 'order_category', 'order_category', 'char', '50', NULL, 'Y', 'N', 'N', '销售订单类别,\r\nSALES:销售发货\r\nSALES-RETURN:发货退货\r\nLOAN:借货\r\nLOAN-RETURN:借货退货\r\nLOAN-OFFSET:借货调整\r\nADJUST:金额调整', '1398550851541950532', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944128', '3', '1398559893077254144', 'sales_channel', 'sales_channel', 'char', '50', NULL, 'Y', 'N', 'N', '订单销售渠道,区分是内部渠道,代理商渠道,电商渠道等', '1398550851541950533', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944129', '3', '1398559893077254144', 'close_date', 'close_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '', '1398550851541950534', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944130', '3', '1398559893077254144', 'source_id', 'source_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '主键唯一标识', '1398550851541950535', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559894041944131', '3', '1398559893077254144', 'pu_id', 'pu_id', 'varchar', '20', NULL, 'Y', 'N', 'N', 'PU ID', '1398550851541950536', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895073742848', '3', '1398559894373294080', 'so_line_id', 'so_line_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '销售订单行ID', '1398550850438848512', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895073742849', '3', '1398559894373294080', 'order_number', 'order_number', 'CHAR', '50', NULL, 'N', 'N', 'N', '销售订单号', '1398550850438848514', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895073742850', '3', '1398559894373294080', 'line_number', 'line_number', 'CHAR', '50', NULL, 'N', 'N', 'N', '销售订单行号', '1398550850438848516', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895073742851', '3', '1398559894373294080', 'item_code', 'item_code', 'CHAR', '40', NULL, 'N', 'N', 'N', '物料编码', '1398550850438848517', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895073742852', '3', '1398559894373294080', 'ordered_quantity', 'ordered_quantity', 'DECIMAL', '24', '6', 'N', 'N', 'N', '订单数量', '1398550850438848521', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895073742853', '3', '1398559894373294080', 'line_status', 'line_status', 'CHAR', '50', NULL, 'N', 'N', 'N', '销售订单行状态,参考销售订单状态表', '1398550850438848525', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895073742854', '3', '1398559894373294080', 'route_id', 'route_id', 'INT', '10', NULL, 'N', 'N', 'N', '路由ID', '1398550850438848610', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372608', '3', '1398559894373294080', 'unit_code', 'unit_code', 'char', '30', NULL, 'Y', 'N', 'N', '组织编码', '1398550850438848513', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372609', '3', '1398559894373294080', 'order_header_id', 'order_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '销售订单头ID', '1398550850438848515', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372610', '3', '1398559894373294080', 'item_description', 'item_description', 'char', '240', NULL, 'Y', 'N', 'N', '物料描述', '1398550850438848518', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372611', '3', '1398559894373294080', 'order_quantity_uom', 'order_quantity_uom', 'char', '3', NULL, 'Y', 'N', 'N', '单位', '1398550850438848519', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372612', '3', '1398559894373294080', 'item_version', 'item_version', 'char', NULL, NULL, 'Y', 'N', 'N', '物料版本', '1398550850438848520', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372613', '3', '1398559894373294080', 'selling_price', 'selling_price', 'decimal', '38', '18', 'Y', 'N', 'N', '客户界面单价', '1398550850438848522', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372614', '3', '1398559894373294080', 'selling_amount', 'selling_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '客户界面价格', '1398550850438848523', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372615', '3', '1398559894373294080', 'so_line_type', 'so_line_type', 'char', '50', NULL, 'Y', 'N', 'N', '销售订单行类型,来源销售订单类型表', '1398550850438848524', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372616', '3', '1398559894373294080', 'so_source_code', 'so_source_code', 'char', '40', NULL, 'Y', 'N', 'N', '销售订单行来源,参考销售订单来源表', '1398550850438848526', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372617', '3', '1398559894373294080', 'parent_line_id', 'parent_line_id', 'bigint', '19', NULL, 'Y', 'N', 'N', '父销售订单行ID', '1398550850438848527', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372618', '3', '1398559894373294080', 'top_line_id', 'top_line_id', 'bigint', '19', NULL, 'Y', 'N', 'N', '顶层销售订单行ID', '1398550850438848528', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372619', '3', '1398559894373294080', 'line_version', 'line_version', 'char', '50', NULL, 'Y', 'N', 'N', '销售订单行版本', '1398550850438848529', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372620', '3', '1398559894373294080', 'sales_type', 'sales_type', 'int', NULL, NULL, 'Y', 'N', 'N', '销售类型,参考快码表:\r\n1:设备\r\n2:服务\r\n3:设备与服务\r\n4:软件年费\r\n5:软件license', '1398550850438848530', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372621', '3', '1398559894373294080', 'coa_product_code', 'coa_product_code', 'char', '50', NULL, 'Y', 'N', 'N', '产品COA编码', '1398550850438848531', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372622', '3', '1398559894373294080', 'product_name', 'product_name', 'char', '255', NULL, 'Y', 'N', 'N', '产品COA名称', '1398550850438848532', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372623', '3', '1398559894373294080', 'shipped_quantity', 'shipped_quantity', 'decimal', '24', '6', 'Y', 'N', 'N', '货物发运的数量', '1398550850438848533', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372624', '3', '1398559894373294080', 'returned_quantity', 'returned_quantity', 'decimal', '24', '6', 'Y', 'N', 'N', '记录当前行的退货数量', '1398550850438848534', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372625', '3', '1398559894373294080', 'po_number', 'po_number', 'char', '20', NULL, 'Y', 'N', 'N', 'PO号', '1398550850438848535', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372626', '3', '1398559894373294080', 'po_line_number', 'po_line_number', 'int', NULL, NULL, 'Y', 'N', 'N', '客户PO行号', '1398550850438848536', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372627', '3', '1398559894373294080', 'customer_item_code', 'customer_item_code', 'char', '40', NULL, 'Y', 'N', 'N', '客户的商品编码', '1398550850438848537', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372628', '3', '1398559894373294080', 'customer_item_description', 'customer_item_description', 'char', '240', NULL, 'Y', 'N', 'N', '客户的商品名称\r\n', '1398550850438848538', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372629', '3', '1398559894373294080', 'salesperson_id', 'salesperson_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '销售员的ID,在财经系统定义,用于统一上下游语言', '1398550850438848539', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372630', '3', '1398559894373294080', 'account_code', 'account_code', 'char', '30', NULL, 'Y', 'N', 'N', '记录客户编码,因为存在客户信息变更场景,与头上可能不一致,所以在行上冗余', '1398550850438848540', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372631', '3', '1398559894373294080', 'currency_code', 'currency_code', 'char', NULL, NULL, 'Y', 'N', 'N', '交易币种,用于确认收入', '1398550850438848541', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372632', '3', '1398559894373294080', 'flow_status_code', 'flow_status_code', 'char', '50', NULL, 'Y', 'N', 'N', 'SO行工作流的状态,比行状态更新', '1398550850438848542', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372633', '3', '1398559894373294080', 'du_id', 'du_id', 'bigint', '19', NULL, 'Y', 'N', 'N', 'DU内码', '1398550850438848543', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372634', '3', '1398559894373294080', 'du_code', 'du_code', 'char', '200', NULL, 'Y', 'N', 'N', 'ISDP发布的交付单元编码', '1398550850438848544', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372635', '3', '1398559894373294080', 'delivery_project_number', 'delivery_project_number', 'char', '40', NULL, 'Y', 'N', 'N', '交付项目编码', '1398550850438848545', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372636', '3', '1398559894373294080', 'cfg_instance_id', 'cfg_instance_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '配置实例ID', '1398550850438848546', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372637', '3', '1398559894373294080', 'reference_so_number', 'reference_so_number', 'char', '50', NULL, 'Y', 'N', 'N', '关联销售订单号', '1398550850438848547', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372638', '3', '1398559894373294080', 'reference_line_id', 'reference_line_id', 'bigint', '19', NULL, 'Y', 'N', 'N', '关联销售订单行ID', '1398550850438848548', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372639', '3', '1398559894373294080', 'source_line', 'source_line', 'char', '240', NULL, 'Y', 'N', 'N', '来源行ID', '1398550850438848549', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372640', '3', '1398559894373294080', 'reference_source_line', 'reference_source_line', 'char', '240', NULL, 'Y', 'N', 'N', '来源关联行ID', '1398550850438848550', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372641', '3', '1398559894373294080', 'parent_source_line', 'parent_source_line', 'char', '240', NULL, 'Y', 'N', 'N', '来源行父ID', '1398550850438848551', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372642', '3', '1398559894373294080', 'top_source_line', 'top_source_line', 'char', '240', NULL, 'Y', 'N', 'N', '来源行顶层ID', '1398550850438848552', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372643', '3', '1398559894373294080', 'actual_ship_date', 'actual_ship_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '实际发货时间', '1398550850438848553', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372644', '3', '1398559894373294080', 'delivery_number', 'delivery_number', 'char', '50', NULL, 'Y', 'N', 'N', '发货单号', '1398550850438848554', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372645', '3', '1398559894373294080', 'delivery_note_type', 'delivery_note_type', 'char', '50', NULL, 'Y', 'N', 'N', '发货单类型:\r\nDN:发货单\r\nPL:箱单\r\nRN:退货单\r\nSTR:STR单\r\nSIA:站点信息调整单\r\nGLC:报损单 ', '1398550850438848555', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372646', '3', '1398559894373294080', 'organization_code', 'organization_code', 'char', '3', NULL, 'Y', 'N', 'N', '库存组织', '1398550850438848556', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372647', '3', '1398559894373294080', 'subinventory_code', 'subinventory_code', 'char', '10', NULL, 'Y', 'N', 'N', '发货子库', '1398550850438848557', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372648', '3', '1398559894373294080', 'locator_code', 'locator_code', 'char', '40', NULL, 'Y', 'N', 'N', '发货货位', '1398550850438848558', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372649', '3', '1398559894373294080', 'target_subinventory_code', 'target_subinventory_code', 'char', '10', NULL, 'Y', 'N', 'N', '借货场景目标子库', '1398550850438848559', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372650', '3', '1398559894373294080', 'target_locator_code', 'target_locator_code', 'char', '40', NULL, 'Y', 'N', 'N', '目标货位', '1398550850438848560', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372651', '3', '1398559894373294080', 'transaction_id', 'transaction_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '库存交易ID', '1398550850438848561', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372652', '3', '1398559894373294080', 'return_reason', 'return_reason', 'char', '500', NULL, 'Y', 'N', 'N', '退货场景', '1398550850438848562', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372653', '3', '1398559894373294080', 'return_method', 'return_method', 'char', '50', NULL, 'Y', 'N', 'N', '退货场景\r\nSet:整套\r\nPart:分批\r\n', '1398550850438848563', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372654', '3', '1398559894373294080', 'line_remark', 'line_remark', 'char', '500', NULL, 'Y', 'N', 'N', '行备注', '1398550850438848564', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372655', '3', '1398559894373294080', 'tax_code', 'tax_code', 'char', NULL, NULL, 'Y', 'N', 'N', '税码', '1398550850438848565', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372656', '3', '1398559894373294080', 'tax_amount', 'tax_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '税金', '1398550850438848566', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372657', '3', '1398559894373294080', 'tax_rate', 'tax_rate', 'decimal', '38', '10', 'Y', 'N', 'N', '税率', '1398550850438848567', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372658', '3', '1398559894373294080', 'revenue_source', 'revenue_source', 'char', '10', NULL, 'Y', 'N', 'N', '收入金额来源\r\nRAS、TMS', '1398550850438848568', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372659', '3', '1398559894373294080', 'price_for_revenue', 'price_for_revenue', 'decimal', '38', '18', 'Y', 'N', 'N', '收入单价', '1398550850438848569', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372660', '3', '1398559894373294080', 'revenue_amount', 'revenue_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '收入金额', '1398550850438848570', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372661', '3', '1398559894373294080', 'submitted_date', 'submitted_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '销售订单的提交时间', '1398550850438848571', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372662', '3', '1398559894373294080', 'confirmed_date', 'confirmed_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', 'SO行审批的时间', '1398550850438848572', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372663', '3', '1398559894373294080', 'fulfillment_date', 'fulfillment_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '正向履行日期,逆向accept日期', '1398550850438848573', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372664', '3', '1398559894373294080', 'close_date', 'close_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '销售订单行关闭日期', '1398550850438848574', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372665', '3', '1398559894373294080', 'shippable_item_flag', 'shippable_item_flag', 'char', '1', NULL, 'Y', 'N', 'N', '可发货标识\r\nY:可发货 N:不可发货', '1398550850438848575', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372666', '3', '1398559894373294080', 'ordered_item_category', 'ordered_item_category', 'char', '30', NULL, 'Y', 'N', 'N', '销售订单行类别,快码表:\r\nFULFILL_BPART_LINE:泛网络Bpart行\r\nDEMAND_CFG_LINE:泛网络台套行\r\nSKU:普通商品', '1398550850438848576', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372667', '3', '1398559894373294080', 'ordered_item_subcategory', 'ordered_item_subcategory', 'char', '30', NULL, 'Y', 'N', 'N', '销售订单行子类别。暂不启用\r\n台套:TypeC 代表通过DC生成的台套,这种不参与收入确认\r\n', '1398550850438848577', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372668', '3', '1398559894373294080', 'contract_number', 'contract_number', 'char', '20', NULL, 'Y', 'N', 'N', '合同号', '1398550850438848578', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372669', '3', '1398559894373294080', 'source_contract_number', 'source_contract_number', 'char', '20', NULL, 'Y', 'N', 'N', '来源合同号', '1398550850438848579', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372670', '3', '1398559894373294080', 'bill_to_location_id', 'bill_to_location_id', 'bigint', '15', NULL, 'Y', 'N', 'N', '发票地址ID', '1398550850438848580', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372671', '3', '1398559894373294080', 'bill_to_country', 'bill_to_country', 'char', '150', NULL, 'Y', 'N', 'N', '发票国家', '1398550850438848581', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372672', '3', '1398559894373294080', 'bill_to_province', 'bill_to_province', 'char', '150', NULL, 'Y', 'N', 'N', 'Bill TO 州/省', '1398550850438848582', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372673', '3', '1398559894373294080', 'bill_to_city', 'bill_to_city', 'char', '150', NULL, 'Y', 'N', 'N', 'Bill TO城市', '1398550850438848583', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372674', '3', '1398559894373294080', 'bill_to_address_detail', 'bill_to_address_detail', 'char', '1000', NULL, 'Y', 'N', 'N', 'Bill TO详细派送地址', '1398550850438848584', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372675', '3', '1398559894373294080', 'bill_to_cust_contact_id', 'bill_to_cust_contact_id', 'char', '50', NULL, 'Y', 'N', 'N', 'Bill TO联系人ID', '1398550850438848585', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372676', '3', '1398559894373294080', 'request_date', 'request_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '要求到货时间', '1398550850438848586', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372677', '3', '1398559894373294080', 'ship_to_location_id', 'ship_to_location_id', 'bigint', '15', NULL, 'Y', 'N', 'N', '收货地址ID', '1398550850438848587', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372678', '3', '1398559894373294080', 'ship_to_country', 'ship_to_country', 'char', '150', NULL, 'Y', 'N', 'N', '收货国家', '1398550850438848588', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372679', '3', '1398559894373294080', 'ship_to_province', 'ship_to_province', 'char', '150', NULL, 'Y', 'N', 'N', '收货州/省', '1398550850438848589', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372680', '3', '1398559894373294080', 'ship_to_city', 'ship_to_city', 'char', '150', NULL, 'Y', 'N', 'N', '收货城市', '1398550850438848590', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372681', '3', '1398559894373294080', 'ship_to_alias', 'ship_to_alias', 'char', '200', NULL, 'Y', 'N', 'N', '收货区', '1398550850438848591', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372682', '3', '1398559894373294080', 'ship_to_address_detail', 'ship_to_address_detail', 'char', '1000', NULL, 'Y', 'N', 'N', '收货详细派送地址', '1398550850438848592', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372683', '3', '1398559894373294080', 'ship_to_cust_contact_id', 'ship_to_cust_contact_id', 'char', '50', NULL, 'Y', 'N', 'N', '收货人ID', '1398550850438848593', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372684', '3', '1398559894373294080', 'packing_instruction', 'packing_instruction', 'char', '500', NULL, 'Y', 'N', 'N', '销售订单的包装指令,用于指导履行', '1398550850438848594', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372685', '3', '1398559894373294080', 'shipping_instruction', 'shipping_instruction', 'char', '500', NULL, 'Y', 'N', 'N', '销售订单的发货指令,用于指导履行', '1398550850438848595', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372686', '3', '1398559894373294080', 'price_match_unit', 'price_match_unit', 'char', '100', NULL, 'Y', 'N', 'N', '金额匹配单元\r\n若matchType=MID,matchId是台套ID;\r\n若matchType= iDeal 2BP,则matchId是交付行ID;\r\n若matchType= CSPM,则matchId是PO行ID;', '1398550850438848596', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372687', '3', '1398559894373294080', 'price_lock_number', 'price_lock_number', 'char', '50', NULL, 'Y', 'N', 'N', '金额锁定的时候从收入中心获取的编码', '1398550850438848597', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372688', '3', '1398559894373294080', 'price_match_type', 'price_match_type', 'char', '30', NULL, 'Y', 'N', 'N', '金额匹配单元类型\r\nMID:设备和软件普通销售订单台套行\r\niDeal 2BP: 交付行ID层级(终端设备交付行ID)\r\nCSPM:PO行ID层级(终端备件PO行ID)', '1398550850438848598', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372689', '3', '1398559894373294080', 'price_match_date', 'price_match_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '收入中心锁定的时间,用于计算金额调整单时间', '1398550850438848599', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372690', '3', '1398559894373294080', 'shop_group_code', 'shop_group_code', 'char', '10', NULL, 'Y', 'N', 'N', '店铺组编码,终端等场景使用', '1398550850438848600', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372691', '3', '1398559894373294080', 'shop_group_name', 'shop_group_name', 'char', '64', NULL, 'Y', 'N', 'N', '店铺组名称,终端等场景使用', '1398550850438848601', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372692', '3', '1398559894373294080', 'revenue_trigger_status', 'revenue_trigger_status', 'char', '50', NULL, 'Y', 'N', 'N', '未触发、已触发、反触发、重触发', '1398550850438848602', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372693', '3', '1398559894373294080', 'revenue_trigger_percent', 'revenue_trigger_percent', 'decimal', '5', '4', 'Y', 'N', 'N', '软件场景按比例触发', '1398550850438848603', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372694', '3', '1398559894373294080', 'control_transfer_method', 'control_transfer_method', 'char', '10', NULL, 'Y', 'N', 'N', '控制权转移方法', '1398550850438848604', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372695', '3', '1398559894373294080', 'delete_flag', 'delete_flag', 'bpchar', '1', NULL, 'Y', 'N', 'N', '删除标识', '1398550850438848605', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372696', '3', '1398559894373294080', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '创建时间', '1398550850438848606', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372697', '3', '1398559894373294080', 'created_by', 'created_by', 'bigint', '19', NULL, 'Y', 'N', 'N', '创建人', '1398550850438848607', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372698', '3', '1398559894373294080', 'last_updated_by', 'last_updated_by', 'bigint', '19', NULL, 'Y', 'N', 'N', '最后更新人', '1398550850438848608', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372699', '3', '1398559894373294080', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '最后更新时间', '1398550850438848609', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372700', '3', '1398559894373294080', 'line_category_code', 'line_category_code', 'char', '50', NULL, 'Y', 'N', 'N', 'ORDER RETURN MIXED', '1398550850438848611', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372701', '3', '1398559894373294080', 'tax_date', 'tax_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '计税日期', '1398550850438848612', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372702', '3', '1398559894373294080', 'estimated_ship_date', 'estimated_ship_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', 'SO行预计发货日期', '1398550850438848613', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372703', '3', '1398559894373294080', 'estimated_arrival_date', 'estimated_arrival_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', 'SO行预计到货日期', '1398550850438848614', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372704', '3', '1398559894373294080', 'actual_arrival_date', 'actual_arrival_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', 'SO行实际到达时间', '1398550850438848615', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372705', '3', '1398559894373294080', 'shipment_priority', 'shipment_priority', 'char', '50', NULL, 'Y', 'N', 'N', '销售订单发运优先级', '1398550850438848616', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372706', '3', '1398559894373294080', 'shipping_method_code', 'shipping_method_code', 'char', '101', NULL, 'Y', 'N', 'N', '定义订单的运输方式', '1398550850438848617', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372707', '3', '1398559894373294080', 'freight_carrier_supplier_code', 'freight_carrier_supplier_code', 'char', '30', NULL, 'Y', 'N', 'N', '物流承运商', '1398550850438848618', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372708', '3', '1398559894373294080', 'freight_terms_code', 'freight_terms_code', 'char', '30', NULL, 'Y', 'N', 'N', '运费条款', '1398550850438848619', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372709', '3', '1398559894373294080', 'shipment_set_number', 'shipment_set_number', 'char', '50', NULL, 'Y', 'N', 'N', '发运集', '1398550850438848620', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372710', '3', '1398559894373294080', 'final_source_line', 'final_source_line', 'char', '50', NULL, 'Y', 'N', 'N', '最终来源行', '1398550850438848621', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372711', '3', '1398559894373294080', 'reference_header_id', 'reference_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '关联订单头ID', '1398550850438848622', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559895346372712', '3', '1398559894373294080', 'split_from_so_line_id', 'split_from_so_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '拆分来源行ID', '1398550850438848623', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896378171392', '3', '1398559895677722624', 'transaction_id', 'transaction_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '交易ID', '1398550832021659648', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:37', '1004', '2021-05-29 16:40:37', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275200', '3', '1398559895677722624', 'unit_code', 'unit_code', 'char', '30', NULL, 'Y', 'N', 'N', '交易控制层模块之间的关键通信要素,以及分库的关键要素', '1398550832021659649', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275201', '3', '1398559895677722624', 'parent_transaction_id', 'parent_transaction_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '父事务ID', '1398550832021659650', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275202', '3', '1398559895677722624', 'receive_transaction_id', 'receive_transaction_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '源接收事务ID', '1398550832021659651', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275203', '3', '1398559895677722624', 'ac_header_id', 'ac_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '验收头', '1398550832021659652', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275204', '3', '1398559895677722624', 'ac_line_id', 'ac_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '验收行主键,自动化生成', '1398550832021659653', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275205', '3', '1398559895677722624', 'accounting_status', 'accounting_status', 'char', '30', NULL, 'Y', 'N', 'N', 'PENDING 待处理CREATED 已创建ERROR 错误NO NEED 无需创建', '1398550832021659654', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275206', '3', '1398559895677722624', 'auto_transaction_type', 'auto_transaction_type', 'char', '25', NULL, 'Y', 'N', 'N', '验收事务类型', '1398550832021659655', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275207', '3', '1398559895677722624', 'transaction_type', 'transaction_type', 'char', '25', NULL, 'Y', 'N', 'N', '验收事务类型', '1398550832021659656', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275208', '3', '1398559895677722624', 'transaction_date', 'transaction_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '现金台账签收日期', '1398550832021659657', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275209', '3', '1398559895677722624', 'destination_type_code', 'destination_type_code', 'char', '25', NULL, 'Y', 'N', 'N', '当前事务的目的地,RECEIVING:接收/INVENTORY:库存/EXPENSE:费用', '1398550832021659658', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275210', '3', '1398559895677722624', 'quantity', 'quantity', 'decimal', '24', '6', 'Y', 'N', 'N', '交易数量', '1398550832021659659', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275211', '3', '1398559895677722624', 'unit_of_measure', 'unit_of_measure', 'char', '25', NULL, 'Y', 'N', 'N', '定义Part管理的主单位的Value值,用于存货和销售的计量单位。', '1398550832021659660', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275212', '3', '1398559895677722624', 'user_input_flag', 'user_input_flag', 'char', '1', NULL, 'Y', 'N', 'N', '是否是用户操作生成的事务用户操作的为Y', '1398550832021659661', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275213', '3', '1398559895677722624', 'source_app_code', 'source_app_code', 'char', '50', NULL, 'Y', 'N', 'N', '外围系统单据唯一ID', '1398550832021659662', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275214', '3', '1398559895677722624', 'source_app_id', 'source_app_id', 'char', '100', NULL, 'Y', 'N', 'N', 'PR来源于哪个外围系统,是否有统计基础数据源', '1398550832021659663', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275215', '3', '1398559895677722624', 'source_trx_id', 'source_trx_id', 'char', '60', NULL, 'Y', 'N', 'N', '上游系统单据事务ID', '1398550832021659664', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275216', '3', '1398559895677722624', 'inv_transaction_id', 'inv_transaction_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '事务表主键', '1398550832021659665', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275217', '3', '1398559895677722624', 'source_document_code', 'source_document_code', 'char', '16', NULL, 'Y', 'N', 'N', '验收事务的来源单据代码', '1398550832021659666', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275218', '3', '1398559895677722624', 'operator_id', 'operator_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '交易操作员', '1398550832021659667', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275219', '3', '1398559895677722624', 'org_id', 'org_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '业务实体的唯一标识', '1398550832021659668', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275220', '3', '1398559895677722624', 'ou_name', 'ou_name', 'char', '20', NULL, 'Y', 'N', 'N', 'OU名称', '1398550832021659669', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275221', '3', '1398559895677722624', 'po_header_id', 'po_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO头ID', '1398550832021659670', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275222', '3', '1398559895677722624', 'po_line_id', 'po_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '系统自动产生的PO行号', '1398550832021659671', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275223', '3', '1398559895677722624', 'po_line_shipment_id', 'po_line_shipment_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO发运ID', '1398550832021659672', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275224', '3', '1398559895677722624', 'po_distribution_id', 'po_distribution_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO分配ID', '1398550832021659673', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275225', '3', '1398559895677722624', 'po_distribution_num', 'po_distribution_num', 'int', NULL, NULL, 'Y', 'N', 'N', '分配行号', '1398550832021659674', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275226', '3', '1398559895677722624', 'po_version_number', 'po_version_number', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO版本号', '1398550832021659675', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275227', '3', '1398559895677722624', 'po_unit_price', 'po_unit_price', 'decimal', '38', '18', 'Y', 'N', 'N', '单价', '1398550832021659676', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275228', '3', '1398559895677722624', 'currency_code', 'currency_code', 'char', '15', NULL, 'Y', 'N', 'N', '币种', '1398550832021659677', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275229', '3', '1398559895677722624', 'exchange_rate_type', 'exchange_rate_type', 'char', '100', NULL, 'Y', 'N', 'N', '汇率转换类型', '1398550832021659678', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275230', '3', '1398559895677722624', 'exchange_rate', 'exchange_rate', 'decimal', '38', '18', 'Y', 'N', 'N', '汇率转换汇率', '1398550832021659679', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275231', '3', '1398559895677722624', 'exchange_date', 'exchange_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '汇率转换日期', '1398550832021659680', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275232', '3', '1398559895677722624', 'receiving_routing_id', 'receiving_routing_id', 'int', NULL, NULL, 'Y', 'N', 'N', '验收路径。1:标准接收/2:检验接收/3:直接接收', '1398550832021659681', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275233', '3', '1398559895677722624', 'supplier_code', 'supplier_code', 'char', '30', NULL, 'Y', 'N', 'N', '供应商编码', '1398550832021659682', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275234', '3', '1398559895677722624', 'supplier_site_id', 'supplier_site_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'IT主键', '1398550832021659683', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275235', '3', '1398559895677722624', 'to_organization_code', 'to_organization_code', 'char', '3', NULL, 'Y', 'N', 'N', '库存组织', '1398550832021659684', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275236', '3', '1398559895677722624', 'deliver_to_id', 'deliver_to_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '记录入库人信息', '1398550832021659685', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275237', '3', '1398559895677722624', 'deliver_to_location_id', 'deliver_to_location_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '交货地址ID', '1398550832021659686', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275238', '3', '1398559895677722624', 'from_subinventory', 'from_subinventory', 'char', '10', NULL, 'Y', 'N', 'N', '子库编码', '1398550832021659687', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275239', '3', '1398559895677722624', 'destination_subinventory', 'destination_subinventory', 'char', '10', NULL, 'Y', 'N', 'N', '子库编码', '1398550832021659688', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275240', '3', '1398559895677722624', 'from_locator_code', 'from_locator_code', 'char', '40', NULL, 'Y', 'N', 'N', '货位名称 (Label- 货位名称)', '1398550832021659689', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275241', '3', '1398559895677722624', 'ship_to_location_id', 'ship_to_location_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '交货地址ID', '1398550832021659690', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275242', '3', '1398559895677722624', 'locator_code', 'locator_code', 'char', '40', NULL, 'Y', 'N', 'N', '货位名称 (Label- 货位名称)', '1398550832021659691', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275243', '3', '1398559895677722624', 'substitute_unordered_code', 'substitute_unordered_code', 'char', '25', NULL, 'Y', 'N', 'N', '是否是无采购订单的接收,当对PR直接接收时为Y ', '1398550832021659692', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275244', '3', '1398559895677722624', 'receipt_exception_flag', 'receipt_exception_flag', 'char', '1', NULL, 'Y', 'N', 'N', '作业人员可在接收画面手工选择是否接收例外', '1398550832021659693', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275245', '3', '1398559895677722624', 'inspection_status_code', 'inspection_status_code', 'char', '25', NULL, 'Y', 'N', 'N', '记录事务检验的状态,取值范围\r\nNOT INSPECTED\r\nACCEPTED\r\nREJECTED', '1398550832021659694', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275246', '3', '1398559895677722624', 'inspection_quality_code', 'inspection_quality_code', 'char', '25', NULL, 'Y', 'N', 'N', '记录检验不合格的原因', '1398550832021659695', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275247', '3', '1398559895677722624', 'accrual_status_code', 'accrual_status_code', 'char', '25', NULL, 'Y', 'N', 'N', '应计状态代码', '1398550832021659696', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275248', '3', '1398559895677722624', 'supplier_lot_number', 'supplier_lot_number', 'char', '30', NULL, 'Y', 'N', 'N', '供应商批次号码', '1398550832021659697', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275249', '3', '1398559895677722624', 'source_transaction_reference', 'source_transaction_reference', 'char', '60', NULL, 'Y', 'N', 'N', '上游系统单据事务ID', '1398550832021659698', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275250', '3', '1398559895677722624', 'rma_reference', 'rma_reference', 'char', '30', NULL, 'Y', 'N', 'N', 'RMA来源单据', '1398550832021659699', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275251', '3', '1398559895677722624', 'remark', 'remark', 'char', '240', NULL, 'Y', 'N', 'N', '用于备注说明的字段,推荐备注类的属性统一引用的标准', '1398550832021659700', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275252', '3', '1398559895677722624', 'department_code', 'department_code', 'char', '30', NULL, 'Y', 'N', 'N', 'COA部门段编码。', '1398550832021659701', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275253', '3', '1398559895677722624', 'amount', 'amount', 'decimal', '38', '10', 'Y', 'N', 'N', '交易金额', '1398550832021659702', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275254', '3', '1398559895677722624', 'country_of_origin_code', 'country_of_origin_code', 'char', '50', NULL, 'Y', 'N', 'N', '原产地', '1398550832021659703', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275255', '3', '1398559895677722624', 'match_flag', 'match_flag', 'char', '1', NULL, 'Y', 'N', 'N', '匹配标志,将未订购物料匹配至采购订单', '1398550832021659704', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275256', '3', '1398559895677722624', 'match_option', 'match_option', 'char', '25', NULL, 'Y', 'N', 'N', '发票匹配选项', '1398550832021659705', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275257', '3', '1398559895677722624', 'consigned_flag', 'consigned_flag', 'char', '1', NULL, 'Y', 'N', 'N', '是否是针对委托物料的验收', '1398550832021659706', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275258', '3', '1398559895677722624', 'project_code', 'project_code', 'char', '40', NULL, 'Y', 'N', 'N', '项目核算相关', '1398550832021659707', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275259', '3', '1398559895677722624', 'task_number', 'task_number', 'char', '60', NULL, 'Y', 'N', 'N', 'Task Number是Task的唯一标识,按流水码系统自动产生但对Expense类task number 固定99;Labor类task number固定96', '1398550832021659708', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275260', '3', '1398559895677722624', 'wip_entity_id', 'wip_entity_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '在制订单ID', '1398550832021659709', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275261', '3', '1398559895677722624', 'wip_line_id', 'wip_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '在制订单ID', '1398550832021659710', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275262', '3', '1398559895677722624', 'wip_repetitive_schedule_id', 'wip_repetitive_schedule_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '在制订单ID', '1398550832021659711', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275263', '3', '1398559895677722624', 'wip_operation_seq_num', 'wip_operation_seq_num', 'bigint', NULL, NULL, 'Y', 'N', 'N', '在制订单工序ID', '1398550832021659712', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275264', '3', '1398559895677722624', 'wip_resource_seq_num', 'wip_resource_seq_num', 'bigint', NULL, NULL, 'Y', 'N', 'N', '资源交易ID', '1398550832021659713', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275265', '3', '1398559895677722624', 'bom_resource_id', 'bom_resource_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '序列值', '1398550832021659714', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275266', '3', '1398559895677722624', 'factory_code', 'factory_code', 'char', '50', NULL, 'Y', 'N', 'N', '工厂代码', '1398550832021659715', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275267', '3', '1398559895677722624', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '最后更新日期', '1398550832021659716', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275268', '3', '1398559895677722624', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '最后更新人', '1398550832021659717', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275269', '3', '1398559895677722624', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '创建日期', '1398550832021659718', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275270', '3', '1398559895677722624', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '用于记录创建数据的用户ID', '1398550832021659719', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275271', '3', '1398559895677722624', 'delete_flag', 'delete_flag', 'char', '1', NULL, 'Y', 'N', 'N', '用于表示数据是否软删除,删除后一般业务用户不可见', '1398550832021659720', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559896596275272', '3', '1398559895677722624', 'gen_cost_status', 'gen_cost_status', 'char', '30', NULL, 'Y', 'N', 'N', 'PENDING 待处理\r\nCREATED 已创建\r\nERROR 错误\r\nNO NEED 无需创建', '1398550832021659721', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897615491072', '3', '1398559896915042304', 'ac_header_id', 'ac_header_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '主键,系统自动生成', '1398550830448795648', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400576', '3', '1398559896915042304', 'ac_number', 'ac_number', 'char', '30', NULL, 'Y', 'N', 'N', '验收单号,账套+YYYYMMDD+6位流水', '1398550830448795649', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400577', '3', '1398559896915042304', 'receipt_source_type', 'receipt_source_type', 'char', '25', NULL, 'Y', 'N', 'N', '接收来源的类型,区分验收发起来源。取值范围VENDOR,INVENTORY,CUSTOMER', '1398550830448795650', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400578', '3', '1398559896915042304', 'asn_number', 'asn_number', 'char', '30', NULL, 'Y', 'N', 'N', 'ASN单号标识', '1398550830448795651', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400579', '3', '1398559896915042304', 'supplier_code', 'supplier_code', 'char', '30', NULL, 'Y', 'N', 'N', '供应商编码', '1398550830448795652', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400580', '3', '1398559896915042304', 'supplier_site_id', 'supplier_site_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '主键', '1398550830448795653', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400581', '3', '1398559896915042304', 'unit_code', 'unit_code', 'char', '30', NULL, 'Y', 'N', 'N', '交易控制层模块之间的关键通信要素,以及分库的关键要素', '1398550830448795654', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400582', '3', '1398559896915042304', 'org_id', 'org_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '业务实体的唯一标识', '1398550830448795655', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400583', '3', '1398559896915042304', 'ou_name', 'ou_name', 'char', '20', NULL, 'Y', 'N', 'N', 'OU名称', '1398550830448795656', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400584', '3', '1398559896915042304', 'purchasing_process', 'purchasing_process', 'char', '50', NULL, 'Y', 'N', 'N', '供应商业务类型,如生产PP、工程EP、行政GP', '1398550830448795657', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400585', '3', '1398559896915042304', 'from_organization_code', 'from_organization_code', 'char', '3', NULL, 'Y', 'N', 'N', '来源库存组织编码', '1398550830448795658', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400586', '3', '1398559896915042304', 'ship_to_location_id', 'ship_to_location_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '交货地址ID', '1398550830448795659', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400587', '3', '1398559896915042304', 'to_organization_code', 'to_organization_code', 'char', '3', NULL, 'Y', 'N', 'N', '接收库存组织编码', '1398550830448795660', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400588', '3', '1398559896915042304', 'ship_from_location_id', 'ship_from_location_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '交货地址ID', '1398550830448795661', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400589', '3', '1398559896915042304', 'shipped_date', 'shipped_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '以客户交付为目的,货物从履行地实际发放的时间。', '1398550830448795662', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400590', '3', '1398559896915042304', 'expected_receipt_date', 'expected_receipt_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '期望收货日期,供应商填写预约送货单的时候,要预约货物预计送达的时间', '1398550830448795663', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400591', '3', '1398559896915042304', 'carrier_code', 'carrier_code', 'char', '100', NULL, 'Y', 'N', 'N', '供应商送货的物流承运商', '1398550830448795664', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400592', '3', '1398559896915042304', 'express_number', 'express_number', 'char', '500', NULL, 'Y', 'N', 'N', '供应商该物流单的货运单号', '1398550830448795665', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400593', '3', '1398559896915042304', 'carrier_method', 'carrier_method', 'char', '30', NULL, 'Y', 'N', 'N', '运输方式', '1398550830448795666', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400594', '3', '1398559896915042304', 'hazard_code', 'hazard_code', 'char', '1', NULL, 'Y', 'N', 'N', '危险品代码', '1398550830448795667', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400595', '3', '1398559896915042304', 'receiver_id', 'receiver_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '接收人', '1398550830448795668', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400596', '3', '1398559896915042304', 'invoice_number', 'invoice_number', 'char', '200', NULL, 'Y', 'N', 'N', '发票信息(仅适用ASBN)', '1398550830448795669', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400597', '3', '1398559896915042304', 'invoice_date', 'invoice_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '发票日期-供应商开票日期', '1398550830448795670', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400598', '3', '1398559896915042304', 'invoice_amount', 'invoice_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '发票信息(仅适用ASBN)', '1398550830448795671', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400599', '3', '1398559896915042304', 'tax_code', 'tax_code', 'char', '50', NULL, 'Y', 'N', 'N', '发票信息(仅适用ASBN)', '1398550830448795672', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400600', '3', '1398559896915042304', 'tax_amount', 'tax_amount', 'decimal', '38', '10', 'Y', 'N', 'N', '行税金额', '1398550830448795673', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400601', '3', '1398559896915042304', 'freight_amount', 'freight_amount', 'decimal', '34', '18', 'Y', 'N', 'N', '采购金额', '1398550830448795674', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400602', '3', '1398559896915042304', 'invoice_status_code', 'invoice_status_code', 'char', '25', NULL, 'Y', 'N', 'N', '取值:draft;waiting for approve ;approved', '1398550830448795675', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400603', '3', '1398559896915042304', 'currency_code', 'currency_code', 'char', '15', NULL, 'Y', 'N', 'N', '发票信息(仅适用ASBN)', '1398550830448795676', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400604', '3', '1398559896915042304', 'rate_type', 'rate_type', 'char', '100', NULL, 'Y', 'N', 'N', '发票信息(仅适用ASBN)', '1398550830448795677', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400605', '3', '1398559896915042304', 'rate_value', 'rate_value', 'decimal', '38', '18', 'Y', 'N', 'N', '发票信息(仅适用ASBN)', '1398550830448795678', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400606', '3', '1398559896915042304', 'rate_date', 'rate_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '发票信息(仅适用ASBN)', '1398550830448795679', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400607', '3', '1398559896915042304', 'payment_terms_id', 'payment_terms_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '发票信息(仅适用ASBN)', '1398550830448795680', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400608', '3', '1398559896915042304', 'approval_status', 'approval_status', 'char', '25', NULL, 'Y', 'N', 'N', '判断单据审批状态,通过审批流写入,状态值:PROCESSING/APPROVED/REJECTED', '1398550830448795681', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400609', '3', '1398559896915042304', 'source_app_code', 'source_app_code', 'char', '50', NULL, 'Y', 'N', 'N', '外围系统单据唯一ID', '1398550830448795682', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400610', '3', '1398559896915042304', 'source_app_id', 'source_app_id', 'char', '100', NULL, 'Y', 'N', 'N', '来源系统ID', '1398550830448795683', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400611', '3', '1398559896915042304', 'source_header_id', 'source_header_id', 'char', '60', NULL, 'Y', 'N', 'N', '单据来源哪个系统,ego/ibuy等系统', '1398550830448795684', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400612', '3', '1398559896915042304', 'file_group_id', 'file_group_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '附件在EDOC系统的ID,用于查询EDOC的文件', '1398550830448795685', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400613', '3', '1398559896915042304', 'file_count', 'file_count', 'bigint', NULL, NULL, 'Y', 'N', 'N', '附件在EDOC系统的ID,用于查询EDOC的文件', '1398550830448795686', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400614', '3', '1398559896915042304', 'remark', 'remark', 'char', '500', NULL, 'Y', 'N', 'N', '备注', '1398550830448795687', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400615', '3', '1398559896915042304', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '用于记录最后修改数据的日期及时间', '1398550830448795688', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400616', '3', '1398559896915042304', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '最后更新人ID', '1398550830448795689', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400617', '3', '1398559896915042304', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '创建时间', '1398550830448795690', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400618', '3', '1398559896915042304', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '用于记录创建数据的用户ID', '1398550830448795691', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559897829400619', '3', '1398559896915042304', 'delete_flag', 'delete_flag', 'char', '1', NULL, 'Y', 'N', 'N', '用于表示数据是否软删除,删除后一般业务用户不可见', '1398550830448795692', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559898852810752', '3', '1398559898152361984', 'ac_line_id', 'ac_line_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '验收行主键,自动化生成', '1398550816611786752', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525952', '3', '1398559898152361984', 'ac_header_id', 'ac_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '主键,系统自动生成', '1398550816611786753', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525953', '3', '1398559898152361984', 'unit_code', 'unit_code', 'char', '30', NULL, 'Y', 'N', 'N', '交易控制层模块之间的关键通信要素,以及分库的关键要素', '1398550816611786754', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525954', '3', '1398559898152361984', 'org_id', 'org_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '业务实体的唯一标识', '1398550816611786755', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525955', '3', '1398559898152361984', 'ou_name', 'ou_name', 'char', '20', NULL, 'Y', 'N', 'N', 'OU名称', '1398550816611786756', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525956', '3', '1398559898152361984', 'line_number', 'line_number', 'int', NULL, NULL, 'Y', 'N', 'N', '验收行号,自动排序', '1398550816611786757', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525957', '3', '1398559898152361984', 'destination_type_code', 'destination_type_code', 'char', '25', NULL, 'Y', 'N', 'N', '验收时的目的地类型,可选列表EXPENSE/INVENTORY/RECEIVING/SHOP FLOOR', '1398550816611786758', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525958', '3', '1398559898152361984', 'receiving_routing_id', 'receiving_routing_id', 'int', NULL, NULL, 'Y', 'N', 'N', '验收路径 1:标准接收/2:检验接收/3:直接接收,直接接收:供应商->入库 \r\n标准接收:供应商->接收->入库\r\n检验接收:供应商->接收->检验->入库', '1398550816611786759', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525959', '3', '1398559898152361984', 'status', 'status', 'char', '25', NULL, 'Y', 'N', 'N', '验收行状态,1. DRAFT,不影响任何数量\r\n2. NEW:创建一个预约单据,没正式开始接收。此状态支持供应商直接撤 \r\n 回。 从此状态开始影响PO在途数量\r\n3. PROCESSING:开始接收中\r\n 4. PROCESSED: 接收入库完成\r\n 5. CLOSED: 单据关闭后,不得继续操作。\r\n a. 用户可直接关闭;\r\n b. shipped数量=已接收过的数量=devlivery数量 超过X天后, \r\n 自动CLOSED. 关闭时需将未接收的数量退回给PO可接收数量\r\n\r\n 5. DELETED/CANCELED:只有为receiving数量=0的才可以执行此操作', '1398550816611786760', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525960', '3', '1398559898152361984', 'receive_status', 'receive_status', 'char', '25', NULL, 'Y', 'N', 'N', '是否全量验收的状态,CANCELLED: 接收取消\r\nEXPECTED:接收数量为0, 发货数量不为0\r\nFULLY RECEIVED:接收数量=发货数量\r\nPARTIALLY RECEIVED: 接收数量<发货数量', '1398550816611786761', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525961', '3', '1398559898152361984', 'quantity_submitted', 'quantity_submitted', 'decimal', '34', '18', 'Y', 'N', 'N', '供应商/华为提交的验收数量', '1398550816611786762', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525962', '3', '1398559898152361984', 'quantity_confirmed', 'quantity_confirmed', 'decimal', '34', '18', 'Y', 'N', 'N', '华为确认的验收数量', '1398550816611786763', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525963', '3', '1398559898152361984', 'quantity', 'quantity', 'decimal', '34', '18', 'Y', 'N', 'N', '实际验收数量,一般情况下等于确认数量,非SP时等于确认数量*记PO比例', '1398550816611786764', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525964', '3', '1398559898152361984', 'quantity_received', 'quantity_received', 'decimal', '34', '18', 'Y', 'N', 'N', '接受事务生成数量,接收事务卷积', '1398550816611786765', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525965', '3', '1398559898152361984', 'quantity_accepted', 'quantity_accepted', 'decimal', '34', '18', 'Y', 'N', 'N', '检验事务生成的数量,检验事务卷积', '1398550816611786766', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525966', '3', '1398559898152361984', 'quantity_rejected', 'quantity_rejected', 'decimal', '34', '18', 'Y', 'N', 'N', '拒绝事务生成的数量,拒绝事务卷积', '1398550816611786767', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525967', '3', '1398559898152361984', 'quantity_delivered', 'quantity_delivered', 'decimal', '34', '18', 'Y', 'N', 'N', '入库事务生成的数量,入库事务卷积', '1398550816611786768', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525968', '3', '1398559898152361984', 'quantity_returned', 'quantity_returned', 'decimal', '34', '18', 'Y', 'N', 'N', '退验事务生成的数量,退货事务卷积', '1398550816611786769', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525969', '3', '1398559898152361984', 'unit_of_measure', 'unit_of_measure', 'char', '25', NULL, 'Y', 'N', 'N', '定义Part管理的主单位的Value值,用于存货和销售的计量单位。', '1398550816611786770', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525970', '3', '1398559898152361984', 'category_id', 'category_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '品类', '1398550816611786771', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525971', '3', '1398559898152361984', 'item_code', 'item_code', 'char', '40', NULL, 'Y', 'N', 'N', 'item编码', '1398550816611786772', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525972', '3', '1398559898152361984', 'po_line_description', 'po_line_description', 'char', '240', NULL, 'Y', 'N', 'N', 'PO行描述', '1398550816611786773', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525973', '3', '1398559898152361984', 'item_version', 'item_version', 'char', '3', NULL, 'Y', 'N', 'N', '物料版本,用于区分物料的功能及组成的版本号', '1398550816611786774', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525974', '3', '1398559898152361984', 'supplier_item_number', 'supplier_item_number', 'char', '40', NULL, 'Y', 'N', 'N', '供应商的物料编码。', '1398550816611786775', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525975', '3', '1398559898152361984', 'supplier_lot_number', 'supplier_lot_number', 'char', '30', NULL, 'Y', 'N', 'N', '供应商批次号码', '1398550816611786776', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525976', '3', '1398559898152361984', 'source_document_code', 'source_document_code', 'char', '16', NULL, 'Y', 'N', 'N', '验收事务的来源单据代码', '1398550816611786777', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525977', '3', '1398559898152361984', 'po_header_id', 'po_header_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO头ID', '1398550816611786778', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525978', '3', '1398559898152361984', 'po_line_id', 'po_line_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '系统自动产生的PO行号', '1398550816611786779', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525979', '3', '1398559898152361984', 'po_line_shipment_id', 'po_line_shipment_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'PO发运行ID', '1398550816611786780', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525980', '3', '1398559898152361984', 'po_distribution_id', 'po_distribution_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '分配行主键', '1398550816611786781', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525981', '3', '1398559898152361984', 'po_number', 'po_number', 'char', '20', NULL, 'Y', 'N', 'N', 'PO号', '1398550816611786782', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525982', '3', '1398559898152361984', 'po_line_number', 'po_line_number', 'int', NULL, NULL, 'Y', 'N', 'N', '行号', '1398550816611786783', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525983', '3', '1398559898152361984', 'po_shipment_number', 'po_shipment_number', 'int', NULL, NULL, 'Y', 'N', 'N', '行号', '1398550816611786784', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525984', '3', '1398559898152361984', 'receiver_id', 'receiver_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '接收人或群组信息', '1398550816611786785', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525985', '3', '1398559898152361984', 'from_organization_code', 'from_organization_code', 'char', '3', NULL, 'Y', 'N', 'N', '来源库存组织(组织间转移时)', '1398550816611786786', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525986', '3', '1398559898152361984', 'to_organization_code', 'to_organization_code', 'char', '3', NULL, 'Y', 'N', 'N', '目的组织代码', '1398550816611786787', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525987', '3', '1398559898152361984', 'to_subinventory_code', 'to_subinventory_code', 'char', '10', NULL, 'Y', 'N', 'N', '目的子库编码', '1398550816611786788', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525988', '3', '1398559898152361984', 'locator_code', 'locator_code', 'char', '40', NULL, 'Y', 'N', 'N', '货位编码', '1398550816611786789', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525989', '3', '1398559898152361984', 'deliver_to_location_id', 'deliver_to_location_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '交货地址ID', '1398550816611786790', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525990', '3', '1398559898152361984', 'ship_to_location_id', 'ship_to_location_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '交货地址ID', '1398550816611786791', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525991', '3', '1398559898152361984', 'po_unit_price', 'po_unit_price', 'decimal', '38', '18', 'Y', 'N', 'N', '单价', '1398550816611786792', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525992', '3', '1398559898152361984', 'remark', 'remark', 'char', '500', NULL, 'Y', 'N', 'N', '用于备注说明的字段,推荐备注类的属性统一引用的标准', '1398550816611786793', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525993', '3', '1398559898152361984', 'container_number', 'container_number', 'char', '100', NULL, 'Y', 'N', 'N', '泛网络记录发货单号,CBG场景记录CBG箱单信息', '1398550816611786794', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525994', '3', '1398559898152361984', 'truck_number', 'truck_number', 'char', '35', NULL, 'Y', 'N', 'N', '车号', '1398550816611786795', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525995', '3', '1398559898152361984', 'bar_code_label', 'bar_code_label', 'char', '50', NULL, 'Y', 'N', 'N', '发票条形码', '1398550816611786796', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525996', '3', '1398559898152361984', 'country_of_origin_code', 'country_of_origin_code', 'char', '50', NULL, 'Y', 'N', 'N', '原产地', '1398550816611786797', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525997', '3', '1398559898152361984', 'source_app_code', 'source_app_code', 'char', '50', NULL, 'Y', 'N', 'N', '外围系统单据唯一ID', '1398550816611786798', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525998', '3', '1398559898152361984', 'source_app_id', 'source_app_id', 'char', '100', NULL, 'Y', 'N', 'N', 'PR来源于哪个外围系统,是否有统计基础数据源', '1398550816611786799', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062525999', '3', '1398559898152361984', 'source_line_id', 'source_line_id', 'char', '60', NULL, 'Y', 'N', 'N', '如果价格来源类型为BPA,则为BPA的行ID,依次类推。', '1398550816611786800', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062526000', '3', '1398559898152361984', 'deliver_to_id', 'deliver_to_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '记录入库人信息', '1398550816611786801', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062526001', '3', '1398559898152361984', 'approval_status', 'approval_status', 'char', '25', NULL, 'Y', 'N', 'N', '判断单据审批状态,状态值:PROCESSING/APPROVED/REJECTED', '1398550816611786802', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062526002', '3', '1398559898152361984', 'approver_id', 'approver_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '当前单据的审批人', '1398550816611786803', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062526003', '3', '1398559898152361984', 'po_milestone_id', 'po_milestone_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '多里程碑主键', '1398550816611786804', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062526004', '3', '1398559898152361984', 'milestone_name', 'milestone_name', 'char', '500', NULL, 'Y', 'N', 'N', '付款里程碑名称', '1398550816611786805', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062526005', '3', '1398559898152361984', 'file_group_id', 'file_group_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '附件的一组ID', '1398550816611786806', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062526006', '3', '1398559898152361984', 'last_update_date', 'last_update_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '最后更新时间', '1398550816611786807', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062526007', '3', '1398559898152361984', 'last_updated_by', 'last_updated_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '最后更新人', '1398550816611786808', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062526008', '3', '1398559898152361984', 'creation_date', 'creation_date', 'timestamp', NULL, NULL, 'Y', 'N', 'N', '创建时间', '1398550816611786809', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062526009', '3', '1398559898152361984', 'created_by', 'created_by', 'bigint', NULL, NULL, 'Y', 'N', 'N', '创建人', '1398550816611786810', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398559899062526010', '3', '1398559898152361984', 'delete_flag', 'delete_flag', 'char', '1', NULL, 'Y', 'N', 'N', '用于表示数据是否软删除,删除后一般业务用户不可见', '1398550816611786811', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:40:38', '1004', '2021-05-29 16:40:38', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495936', '3', '1398561413206269952', 'tax_rate_code_id', 'tax_rate_code_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', 'IT主键,系统自动生成,不可空。唯一', '1398550829396025344', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495937', '3', '1398561413206269952', 'tax_entity_id', 'tax_entity_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '外键,税务主体ID,关联税务主体信息实体的TAX_ENTITY_ID\r\n不可空', '1398550829396025347', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495938', '3', '1398561413206269952', 'tax_nature_id', 'tax_nature_id', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '税属性ID,IT主键,系统自动生成,不可空。唯一', '1398550829396025348', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495939', '3', '1398561413206269952', 'tax_rate_code_name', 'tax_rate_code_name', 'CHAR', '100', NULL, 'N', 'N', 'N', '税码的名称,业务录入,不可空', '1398550829396025351', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495940', '3', '1398561413206269952', 'tax_rate_code', 'tax_rate_code', 'CHAR', '50', NULL, 'N', 'N', 'N', '包含税码,WHT税组,抵扣率税码(用于维护进项税码的可抵扣比率),不可空,\r\n\r\n编码规则:-国家:纳税申报国家\r\n-进项/销项:采购业务-进项增值税,销售-销项增值税\r\n-税率类型:标准税率、历史税率、零税率、低税率(从高到低排序)、不含税(按目前的正确的来写)\r\n-交易类型(国内/跨国):\r\n国内交易、欧盟跨境交易、进口、出口、免税等\r\n-税务产品:纳税申报项:货物、服务\r\n-特殊:特殊项:OFF代表offset税码等\r\n示例:\r\nCN_O_STD_DOM_G13_13\r\nCN_O_STD_DOM_G9_9E\r\n', '1398550829396025352', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495941', '3', '1398561413206269952', 'status', 'status', 'CHAR', '30', NULL, 'N', 'N', 'N', '本税种当前的状态,预设值:Enabled(生效)、Disabled(失效)\r\n新建默认有效,不可空,取自Vlookup:UTX_STATUS_VALUES\r\n', '1398550829396025353', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495942', '3', '1398561413206269952', 'tax_system_type', 'tax_system_type', 'CHAR', '10', NULL, 'N', 'N', 'N', '税码类型标识,当维护界面在Manage ITX下,则保存为ITX;当维护界面在Manage WHT下,则保存为WHT 不可空', '1398550829396025354', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495943', '3', '1398561413206269952', 'tax_rate_type', 'tax_rate_type', 'CHAR', '30', NULL, 'N', 'N', 'N', '表示税率类型,\r\n对于ITX有PERCENTAGE;\r\n\r\n对于WHT有PERCENTAGE 固定税率 、GROSS 税基和WITHHELD \r\n税金\r\n对于可抵扣率要固定RECOVERY 不可空', '1398550829396025355', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495944', '3', '1398561413206269952', 'applied_business_flow', 'applied_business_flow', 'CHAR', '20', NULL, 'N', 'N', 'N', '取自Vlookup:UTX_APPLIED_BUSINESS_FLOW:Procure to Pay、Order to Cash, \r\n该字段不可空', '1398550829396025356', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495945', '3', '1398561413206269952', 'use_for_transaction_flag', 'use_for_transaction_flag', 'CHAR', '1', NULL, 'N', 'N', 'N', '预设值Y或N,,Y代表要将税码展示给前端交易,N为不展示,不可空', '1398550829396025357', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495946', '3', '1398561413206269952', 'tax_point_basis', 'tax_point_basis', 'CHAR', '10', NULL, 'N', 'N', 'N', '计税时点,值列表:INVOICE(发票)、PAYMENT(支付),不可空', '1398550829396025358', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495947', '3', '1398561413206269952', 'inclusive_tax_flag', 'inclusive_tax_flag', 'CHAR', '1', NULL, 'N', 'N', 'N', '预设值Y和N,Y代表含税,N代表不含税,不可空', '1398550829396025359', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495948', '3', '1398561413206269952', 'default_tax_code_flag', 'default_tax_code_flag', 'CHAR', '1', NULL, 'N', 'N', 'N', '预设值Y或N,Y代表为默认税码,不可空', '1398550829396025362', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495949', '3', '1398561413206269952', 'apply_single_rate_flag', 'apply_single_rate_flag', 'CHAR', '1', NULL, 'N', 'N', 'N', '预设值Y或N,Y代表用全额适用单个税率\r\n累进税率,不可空', '1398550829396025364', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495950', '3', '1398561413206269952', 'created_by', 'created_by', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '标准字段,用于记录创建数据的用户ID,不可空', '1398550829396025365', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495951', '3', '1398561413206269952', 'creation_date', 'creation_date', 'DATETIME', NULL, NULL, 'N', 'N', 'N', '标准字段,用于记录创建数据的日期和时间,示例:年月日时分秒,不可空', '1398550829396025366', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495952', '3', '1398561413206269952', 'last_updated_by', 'last_updated_by', 'BIGINT', NULL, NULL, 'N', 'N', 'N', '标准字段,用于记录最后修改数据的用户ID,不可空', '1398550829396025367', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561413923495953', '3', '1398561413206269952', 'last_update_date', 'last_update_date', 'DATETIME', NULL, NULL, 'N', 'N', 'N', '标准字段,用于记录最后修改数据的日期及时间,示例年月日时分秒,不可空', '1398550829396025368', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561414254845952', '3', '1398561413206269952', 'tax_regime_id', 'tax_regime_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '外键,关联税制信息实体的TAX_REGIME_ID\r\n不可空', '1398550829396025345', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561414254845953', '3', '1398561413206269952', 'tax_category_id', 'tax_category_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', 'IT主键,系统自动生成,不可空。唯一', '1398550829396025346', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561414254845954', '3', '1398561413206269952', 'tax_jurisdiction_id', 'tax_jurisdiction_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '税收管辖权内部标识,IT主键。系统自动生成,不可空', '1398550829396025349', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561414254845955', '3', '1398561413206269952', 'tax_calendar_type_id', 'tax_calendar_type_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '税务日历类型ID,IT主键,系统自动生成,不可空', '1398550829396025350', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561414254845956', '3', '1398561413206269952', 'default_rec_tax_code_id', 'default_rec_tax_code_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '默认抵扣率编码,自关联,可空', '1398550829396025360', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561414254845957', '3', '1398561413206269952', 'offset_tax_code_id', 'offset_tax_code_id', 'bigint', NULL, NULL, 'Y', 'N', 'N', '该税率关联的抵消税率编码,自关联,可空', '1398550829396025361', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
INSERT INTO `demo`.`md_fields` (`md_fields_id`, `tenant_id`, `md_entity_id`, `md_fields_name`, `md_fields_name_en`, `md_fields_type`, `md_fields_length`, `md_decimals_length`, `is_null`, `is_indexed`, `is_unique`, `md_fields_desc`, `md_columns_id`, `lookup_flag`, `lookup_entity`, `lookup_type`, `public_flag`, `default_value`, `active_flag`, `create_by`, `create_date`, `last_update_by`, `last_update_date`, `is_key`, `md_fields_name_cn`) VALUES ('1398561414254845958', '3', '1398561413206269952', 'schedule_basis', 'schedule_basis', 'char', '10', NULL, 'Y', 'N', 'N', '累进基准,值列表:DOCUMENT(凭证)、PERIOD(期间),可空', '1398550829396025363', 'N', NULL, NULL, 'N', NULL, 'Y', '1004', '2021-05-29 16:46:39', '1004', '2021-05-29 16:46:39', 'N', NULL);
commit;
| 732.497283 | 1,098 | 0.707833 |
9d2f9dd63ec8059f904c64aca5c6109e2fbde639 | 946 | swift | Swift | Giftstory/Networking/Protocols/APIFetchState.swift | khalid-asad/giftstory-ios | ad7645e1a7826445d2017d9c338fe573787dd509 | [
"MIT"
] | null | null | null | Giftstory/Networking/Protocols/APIFetchState.swift | khalid-asad/giftstory-ios | ad7645e1a7826445d2017d9c338fe573787dd509 | [
"MIT"
] | null | null | null | Giftstory/Networking/Protocols/APIFetchState.swift | khalid-asad/giftstory-ios | ad7645e1a7826445d2017d9c338fe573787dd509 | [
"MIT"
] | null | null | null | //
// APIFetchState.swift
// Giftstory
//
// Created by Khalid Asad on 2021-05-02.
//
import Foundation
enum APIFetchState<T: Decodable> {
case idle
case noResultsFound
case loading
case success(T)
case failure(APIError)
}
enum APIError: LocalizedError {
case decodingError
case errorCode(Int)
case errorMessage(String)
case invalidRequest
case invalidURL
case unknown
var errorDescription: String? {
switch self {
case .decodingError:
return "Unable to decode JSON."
case .errorCode(let code):
return "REST API returned code \(code)"
case .errorMessage(let message):
return message
case .invalidRequest:
return "The request was invalid."
case .invalidURL:
return "The request URL is invalid."
case .unknown:
return "Unknown error ocurred."
}
}
}
| 22 | 51 | 0.609937 |
a815fba11a05da4d224e449531247d02de2ae4d5 | 109 | sql | SQL | res/schema/migrations/0001-add-execution-kind-column.sql | dhodovsk/leapp | bcd6580a19dabd132b3da8bcf2ed61fa8864ef18 | [
"Apache-2.0"
] | 29 | 2019-05-29T05:34:52.000Z | 2022-03-14T19:09:34.000Z | res/schema/migrations/0001-add-execution-kind-column.sql | dhodovsk/leapp | bcd6580a19dabd132b3da8bcf2ed61fa8864ef18 | [
"Apache-2.0"
] | 373 | 2018-11-21T11:41:49.000Z | 2022-03-31T11:40:56.000Z | res/schema/migrations/0001-add-execution-kind-column.sql | dhodovsk/leapp | bcd6580a19dabd132b3da8bcf2ed61fa8864ef18 | [
"Apache-2.0"
] | 27 | 2018-11-26T17:14:15.000Z | 2022-03-10T13:30:50.000Z | BEGIN;
ALTER TABLE execution
ADD COLUMN kind VARCHAR(256) DEFAULT NULL;
PRAGMA user_version = 2;
COMMIT; | 13.625 | 44 | 0.761468 |
0ce7e95642a1dd2c0010de92c604aaf0452e7669 | 509 | py | Python | src/prepare_data/task_prepare_r_effective_by_rki.py | covid-19-impact-lab/sid-germany | aef4bbfb326adaf9190c6d8880e15b3d6f150d28 | [
"MIT"
] | 4 | 2021-04-24T14:43:47.000Z | 2021-07-03T14:05:21.000Z | src/prepare_data/task_prepare_r_effective_by_rki.py | covid-19-impact-lab/sid-germany | aef4bbfb326adaf9190c6d8880e15b3d6f150d28 | [
"MIT"
] | 4 | 2021-04-27T10:34:45.000Z | 2021-08-31T16:40:28.000Z | src/prepare_data/task_prepare_r_effective_by_rki.py | covid-19-impact-lab/sid-germany | aef4bbfb326adaf9190c6d8880e15b3d6f150d28 | [
"MIT"
] | null | null | null | import pandas as pd
import pytask
from src.config import BLD
@pytask.mark.depends_on(BLD / "data" / "raw_time_series" / "reproduction_number.csv")
@pytask.mark.produces(BLD / "data" / "processed_time_series" / "r_effective.pkl")
def task_prepare_rki_r_effective_data(depends_on, produces):
df = pd.read_csv(depends_on)
df["date"] = pd.to_datetime(df["Datum"], yearfirst=True)
df = df.set_index("date").sort_index()
r_effective = df["PS_7_Tage_R_Wert"]
r_effective.to_pickle(produces)
| 29.941176 | 85 | 0.732809 |
95915149bad7c5c25c15b08f182ee6ba7062e626 | 203 | kt | Kotlin | script/src/main/kotlin/xyz/maow/mvscript/script/MvContext.kt | MaowImpl/mvscript | cb2797d6db80de6f25719ac2c40d49d5f14d9a94 | [
"MIT"
] | null | null | null | script/src/main/kotlin/xyz/maow/mvscript/script/MvContext.kt | MaowImpl/mvscript | cb2797d6db80de6f25719ac2c40d49d5f14d9a94 | [
"MIT"
] | null | null | null | script/src/main/kotlin/xyz/maow/mvscript/script/MvContext.kt | MaowImpl/mvscript | cb2797d6db80de6f25719ac2c40d49d5f14d9a94 | [
"MIT"
] | null | null | null | package xyz.maow.mvscript.script
import xyz.maow.mvscript.dsl.MapBuilder
interface MvContext {
val maps: MutableMap<Int, MapBuilder.() -> Unit>
fun map(id: Int, block: MapBuilder.() -> Unit)
} | 22.555556 | 52 | 0.70936 |
3f9f6874959004317742b5cc7cba3a7092284a76 | 1,783 | dart | Dart | account_app/lib/pages/User.dart | fang1204/flutter-account-app | 478353b060cb80472c2384b010a4f955ab9831eb | [
"MIT"
] | null | null | null | account_app/lib/pages/User.dart | fang1204/flutter-account-app | 478353b060cb80472c2384b010a4f955ab9831eb | [
"MIT"
] | null | null | null | account_app/lib/pages/User.dart | fang1204/flutter-account-app | 478353b060cb80472c2384b010a4f955ab9831eb | [
"MIT"
] | 2 | 2022-02-10T05:28:54.000Z | 2022-02-10T07:04:19.000Z | import "package:flutter/material.dart";
List list = [
" 日 ",
" 一 ",
" 二 ",
" 三 ",
" 四 ",
" 五 ",
" 六 "
];
class SliverAppBarDemo extends StatelessWidget {
// Future<bool?> showWarning(BuildContext context) async=> showDialog<bool>(
// context: context,
// builder: (context) =>AlertDialog(
// title:Text("Do you want to exit?"),
// actions: [
// ElevatedButton(
// child: Text('No'),
// onPressed: () =>Navigator.pop(context,false),
// ),
// ElevatedButton(
// child: Text('Yes'),
// onPressed: () =>Navigator.pop(context,true),
// ),
// ],
// ),
// );
@override
Widget build(BuildContext context){
return Scaffold(
appBar: AppBar(
backgroundColor: const Color.fromARGB(0xFF, 181, 215, 212),
leading: IconButton(
icon: Icon(
Icons.keyboard_arrow_left,
color: Color.fromARGB(0xff, 64, 102, 99),
),
onPressed: () {
Navigator.pop(context);
},
),
title: Text('User',
style: TextStyle(color: Color.fromARGB(0xff, 64, 102, 99)),
),
),
body: CustomScrollView(
slivers: <Widget>[
SliverAppBar(
pinned: false,
expandedHeight: 250.0,
flexibleSpace: FlexibleSpaceBar(
centerTitle: true,
title: Container(
padding: EdgeInsets.all(8.0),
),
background: Image.network(
"https://image.freepik.com/free-photo/close-up-portrait-beautiful-cat_23-2149214373.jpg?w=1060",
fit: BoxFit.cover,
),
),
),
],
),
);
}
}
| 24.763889 | 112 | 0.490185 |
5c8254323e998aa81a9e9e5c3d275d54dbd53c72 | 6,974 | h | C | blinky/blinky/asf-3.21.0/avr32/drivers/acifa/acifa.h | femtoio/femtousb-blink-example | 5e166bdee500f67142d0ee83a1a169bab57fe142 | [
"MIT"
] | null | null | null | blinky/blinky/asf-3.21.0/avr32/drivers/acifa/acifa.h | femtoio/femtousb-blink-example | 5e166bdee500f67142d0ee83a1a169bab57fe142 | [
"MIT"
] | null | null | null | blinky/blinky/asf-3.21.0/avr32/drivers/acifa/acifa.h | femtoio/femtousb-blink-example | 5e166bdee500f67142d0ee83a1a169bab57fe142 | [
"MIT"
] | null | null | null | /*****************************************************************************
*
* \file
*
* \brief ACIFA driver header for AVR32 UC3.
*
* This file defines a useful set of functions for ACIFA on AVR UC3 devices.
*
* Copyright (c) 2009-2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. The name of Atmel may not be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* 4. This software may only be redistributed and used in connection with an
* Atmel microcontroller product.
*
* THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
* EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* \asf_license_stop
*
*****************************************************************************/
/**
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
*/
#ifndef _ACIFA_H_
#define _ACIFA_H_
/**
* \defgroup group_avr32_drivers_acifa ACIFA - Analog Comparator Interface
*
* Analog Comparator Interface is able to control two Analog Comparators (AC)
* with identical behavior.
*
* @{
*/
#include <avr32/io.h>
#include "compiler.h"
/** \name Positive Inputs Comparator 0 Instance A used by the ACIFA
* @{
*/
#define AVR32_ACIFA_AC0A_INSELP_AC0AP0 0
#define AVR32_ACIFA_AC0A_INSELP_AC0AP1 1
#define AVR32_ACIFA_AC0A_INSELP_DAC0_INT 2
/** @} */
/** \name Negative Inputs Comparator 0 Instance A used by the ACIFA
* @{
*/
#define AVR32_ACIFA_AC0A_INSELN_AC0AN0 0
#define AVR32_ACIFA_AC0A_INSELN_AC0AN1 1
#define AVR32_ACIFA_AC0A_INSELN_AC0BP0 2
#define AVR32_ACIFA_AC0A_INSELN_AC0BP1 3
#define AVR32_ACIFA_AC0A_INSELN_VDDANA_SCALED 4
#define AVR32_ACIFA_AC0A_INSELN_DAC1_INT 5
/** @} */
/** \name Positive Inputs Comparator 0 Instance B used by the ACIFA
* @{
*/
#define AVR32_ACIFA_AC0B_INSELP_AC0AN0 0
#define AVR32_ACIFA_AC0B_INSELP_AC0AN1 1
#define AVR32_ACIFA_AC0B_INSELP_AC0BP0 2
#define AVR32_ACIFA_AC0B_INSELP_AC0BP1 3
#define AVR32_ACIFA_AC0B_INSELP_DAC0_INT 4
#define AVR32_ACIFA_AC0B_INSELP_VDDANA_SCALED 5
/** @} */
/** \name Negative Inputs Comparator 0 Instance B used by the ACIFA
* @{
*/
#define AVR32_ACIFA_AC0B_INSELN_AC0BN0 0
#define AVR32_ACIFA_AC0B_INSELN_AC0BN1 1
#define AVR32_ACIFA_AC0B_INSELN_DAC1_INT 2
/** @} */
/** \name Positive Inputs Comparator 1 Instance A used by the ACIFA
* @{
*/
#define AVR32_ACIFA_AC1A_INSELP_AC1AP0 0
#define AVR32_ACIFA_AC1A_INSELP_AC1AP1 1
#define AVR32_ACIFA_AC1A_INSELP_DAC0_INT 2
/** @} */
/** \name Negative Inputs Comparator 1 Instance A used by the ACIFA
* @{
*/
#define AVR32_ACIFA_AC1A_INSELN_AC1AN0 0
#define AVR32_ACIFA_AC1A_INSELN_AC1AN1 1
#define AVR32_ACIFA_AC1A_INSELN_AC1BP0 2
#define AVR32_ACIFA_AC1A_INSELN_AC1BP1 3
#define AVR32_ACIFA_AC1A_INSELN_VDDANA_SCALED 4
#define AVR32_ACIFA_AC1A_INSELN_DAC1_INT 5
/** @} */
/** \name Positive Inputs Comparator 1 Instance B used by the ACIFA
* @{
*/
#define AVR32_ACIFA_AC1B_INSELP_AC1AN0 0
#define AVR32_ACIFA_AC1B_INSELP_AC1AN1 1
#define AVR32_ACIFA_AC1B_INSELP_AC1BP0 2
#define AVR32_ACIFA_AC1B_INSELP_AC1BP1 3
#define AVR32_ACIFA_AC1B_INSELP_DAC0_INT 4
#define AVR32_ACIFA_AC1B_INSELP_VDDANA_SCALED 5
/** @} */
/** \name Negative Inputs Comparator 1 Instance B used by the ACIFA
* @{
*/
#define AVR32_ACIFA_AC1B_INSELN_AC1BN0 0
#define AVR32_ACIFA_AC1B_INSELN_AC1BN1 1
#define AVR32_ACIFA_AC1B_INSELN_DAC1_INT 2
/** @} */
/** \name Comparator Selection
* @{
*/
#define ACIFA_COMP_SELA 1
#define ACIFA_COMP_SELB 2
/** @} */
/** \name VCCSCALE Selection
* @{
*/
#define ACIFA_VCCSCALE_SELA 1
#define ACIFA_VCCSCALE_SELB 2
/** @} */
void acifa_configure(volatile avr32_acifa_t *acifa,
uint8_t comp_sel,
uint8_t input_p,
uint8_t input_n,
uint32_t pb_hz);
void acifa_configure_window( volatile avr32_acifa_t *acifa,
uint8_t input_p,
uint8_t input_n,
uint8_t common_input,
uint32_t pb_hz);
void acifa_start(volatile avr32_acifa_t *acifa,
uint8_t comp_sel);
void acifa_stop(volatile avr32_acifa_t *acifa,
uint8_t comp_sel);
void acifa_start_window(volatile avr32_acifa_t *acifa);
void acifa_enable_output(volatile avr32_acifa_t *acifa,
uint8_t comp_sel);
void acifa_configure_hysteresis(volatile avr32_acifa_t *acifa,
uint8_t comp_sel,
uint8_t level);
void acifa_configure_vccscale(volatile avr32_acifa_t *acifa,
uint8_t vccscale_sel,
uint8_t scale);
bool acifa_is_aca_inp_higher(volatile avr32_acifa_t *acifa);
bool acifa_is_acb_inp_higher(volatile avr32_acifa_t *acifa);
bool acifa_is_ci_inside_window(volatile avr32_acifa_t *acifa);
void acifa_clear_flags(volatile avr32_acifa_t *acifa,
uint32_t flag_mask);
void acifa_enable_interrupt_inp_higher(volatile avr32_acifa_t *acifa,
uint8_t comp_sel);
void acifa_enable_interrupt_inp_lower(volatile avr32_acifa_t *acifa,
uint8_t comp_sel);
void acifa_enable_interrupt_toggle(volatile avr32_acifa_t *acifa,
uint8_t comp_sel);
void acifa_enable_interrupt(volatile avr32_acifa_t *acifa, uint32_t flag_mask);
/** @} */
#endif /* _ACIFA_H_ */
| 35.948454 | 90 | 0.678233 |
842c608c7398dc1b05b102c2a9d8d69f8ff35b43 | 1,172 | lua | Lua | lua/startup/plugin_dashboard.lua | Samantha-uk/NeoCode | 1bbcd52f0c2ec6c7e7daaa8f9708e49908190551 | [
"MIT"
] | 13 | 2021-05-24T16:45:20.000Z | 2021-09-16T16:28:58.000Z | lua/startup/plugin_dashboard.lua | Samantha-uk/NeoCode | 1bbcd52f0c2ec6c7e7daaa8f9708e49908190551 | [
"MIT"
] | null | null | null | lua/startup/plugin_dashboard.lua | Samantha-uk/NeoCode | 1bbcd52f0c2ec6c7e7daaa8f9708e49908190551 | [
"MIT"
] | 4 | 2021-05-27T16:39:58.000Z | 2021-08-31T11:36:01.000Z | vim.g.dashboard_custom_header = {
" _________ _________ ",
"____________________ ____/___________ /____ ",
"__ __ \\ _ \\ __ \\ / _ __ \\ __ /_ _ \\",
"_ / / / __/ /_/ / /___ / /_/ / /_/ / / __/",
"/_/ /_/\\___/\\____/\\____/ \\____/\\____/ \\___/ ",
" ",
}
vim.g.dashboard_custom_section = {
b_recent_files = {
description = { " recent files ctrl + f ctrl + h" },
command = [[lua require'telescope.builtin'.oldfiles()]],
},
c_find_files = {
description = { " find file ctrl + f ctrl + f" },
command = [[lua require'navigation.search'.git_or_local()]],
},
d_search = {
description = { " search grep ctrl + f ctrl + g" },
command = [[lua require'telescope.builtin'.live_grep()]],
},
e_search = {
description = { " seach symbols ctrl + f ctrl + s" },
command = [[lua require'telescope.builtin'.lsp_workspace_symbols()]],
},
}
vim.g.dashboard_custom_footer = { "Don't be lazy, get chillin!" }
| 39.066667 | 77 | 0.475256 |
9dd23987ba404df124f3635ebc615b45725c72fa | 57,947 | swift | Swift | groundsdk/GroundSdk/Internal/Device/Peripheral/CameraCore.swift | papachuj/groundsdk-ios | f205f75b11a57f49b39ee558b2e8e39f59a15963 | [
"BSD-3-Clause"
] | 2 | 2020-03-30T00:06:43.000Z | 2021-07-18T18:07:15.000Z | groundsdk/GroundSdk/Internal/Device/Peripheral/CameraCore.swift | papachuj/groundsdk-ios | f205f75b11a57f49b39ee558b2e8e39f59a15963 | [
"BSD-3-Clause"
] | null | null | null | groundsdk/GroundSdk/Internal/Device/Peripheral/CameraCore.swift | papachuj/groundsdk-ios | f205f75b11a57f49b39ee558b2e8e39f59a15963 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (C) 2019 Parrot Drones SAS
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in
// the documentation and/or other materials provided with the
// distribution.
// * Neither the name of the Parrot Company nor the names
// of its contributors may be used to endorse or promote products
// derived from this software without specific prior written
// permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
// PARROT COMPANY BE LIABLE FOR ANY DIRECT, INDIRECT,
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
// OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
// AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
import Foundation
/// Camera backend.
public protocol CameraBackend: class {
/// Changes the camera mode
///
/// - Parameter mode: new mode
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(mode: CameraMode) -> Bool
/// Changes camera exposure mode
///
/// - Parameters:
/// - exposureMode: requested exposure mode
/// - manualShutterSpeed: requested shutter speed when mode is `manualShutterSpeed` or `manual`
/// - manualIsoSensitivity: requested iso sensitivity when mode is `manualIsoSensitivity` or `manual`
/// - maximumIsoSensitivity: maximum iso sensitivity when mode is `automatic`
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(exposureMode: CameraExposureMode, manualShutterSpeed: CameraShutterSpeed,
manualIsoSensitivity: CameraIso, maximumIsoSensitivity: CameraIso) -> Bool
/// Changes the exposure lock mode
///
/// - Parameter exposureLockMode: requested exposure lock mode
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(exposureLockMode: CameraExposureLockMode) -> Bool
/// Changes camera exposure compensation
///
/// - Parameter exposureCompensation: requested exposure compensation value
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(exposureCompensation: CameraEvCompensation) -> Bool
/// Changes the white balance mode
///
/// - Parameters:
/// - whiteBalanceMode: requested white balance mode
/// - customTemperature: white balance temperature when mode is `custom`
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(whiteBalanceMode: CameraWhiteBalanceMode, customTemperature: CameraWhiteBalanceTemperature) -> Bool
/// Changes the white balance lock
///
/// - Parameter whiteBalanceLock: requested white balance lock
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(whiteBalanceLock: Bool) -> Bool
/// Changes the active image style
///
/// - Parameter activeStyle: requested image style
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(activeStyle: CameraStyle) -> Bool
/// Changes the active image style parameters
///
/// - Parameter styleParameters: new saturation, contrast and sharpness parameters
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(styleParameters: (saturation: Int, contrast: Int, sharpness: Int)) -> Bool
/// Changes the recording mode
///
/// - Parameters:
/// - recordingMode: requested recording mode
/// - resolution: requested recording resolution, nil to keep the current resolution of the requested mode
/// - framerate: requested recording framerate, nil to keep the current framerate of the requested mode
/// - hyperlapse: requested hyperlapse value when mode is `hyperlapse`
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(recordingMode: CameraRecordingMode, resolution: CameraRecordingResolution?,
framerate: CameraRecordingFramerate?, hyperlapse: CameraHyperlapseValue?) -> Bool
/// Changes auto-record setting
///
/// - Parameter autoRecord: requested auto-record setting value
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(autoRecord: Bool) -> Bool
/// Changes the photo mode
///
/// - Parameters:
/// - photoMode: requested photo mode
/// - format: requested photo format
/// - fileFormat: requested photo file format
/// - burst: request bust value when photo mode is `burst`
/// - bracketing: request bracketing value when photo mode is `bracketing`
/// - captureInterval: capture interval value
/// Current time-lapse interval value (in seconds) when the photo mode is time_lapse.
/// Current GPS-lapse interval value (in meters) when the photo mode is gps_lapse.
/// Ignored in other modes.
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(photoMode: CameraPhotoMode, format: CameraPhotoFormat?, fileFormat: CameraPhotoFileFormat?,
burst: CameraBurstValue?, bracketing: CameraBracketingValue?, gpslapseCaptureInterval: Double?,
timelapseCaptureInterval: Double?) -> Bool
/// Change hdr setting
///
/// - Parameter hdr: new hdr setting value
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(hdr: Bool) -> Bool
/// Sets the max zoom speed
///
/// - Parameter maxZoomSpeed: the new max zoom speed
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(maxZoomSpeed: Double) -> Bool
/// Sets the quality degradation allowance during zoom change with velocity.
///
/// - Parameter qualityDegradationAllowance: the new allowance
/// - Returns: true if the command has been sent, false if not connected and the value has been changed immediately
func set(qualityDegradationAllowance: Bool) -> Bool
/// Start taking photo(s)
///
/// - Returns: true if the command has been sent, false otherwise
func startPhotoCapture() -> Bool
/// Stop taking photo(s)
///
/// - Returns: true if the command has been sent, false otherwise
func stopPhotoCapture() -> Bool
/// Start recording
///
/// - Returns: true if the command has been sent, false otherwise
func startRecording() -> Bool
/// Stop recording
///
/// - Returns: true if the command has been sent, false otherwise
func stopRecording() -> Bool
/// Control the zoom.
///
/// Unit of the `target` depends on the value of the `mode` parameter:
/// - `.level`: target is in zoom level.1 means no zoom.
/// This value will be clamped to the `maxLossyLevel` if it is greater than this value.
/// - `.velocity`: value is in signed ratio (from -1 to 1) of `maxVelocity` setting value.
/// Negative values will produce a zoom out, positive value will zoom in.
///
/// - Parameters:
/// - mode: the mode that should be used to control the zoom.
/// - target: Either level or velocity zoom target, clamped in the correct range
func control(mode: CameraZoomControlMode, target: Double)
/// Sets alignment offsets.
///
/// - Parameter yawOffset: the new offset to apply to the yaw axis
/// - Parameter pitchOffset: the new offset to apply to the pitch axis
/// - Parameter rollOffset: the new offset to apply to the roll axis
/// - Returns: true if the command has been sent, false otherwise
func set(yawOffset: Double, pitchOffset: Double, rollOffset: Double) -> Bool
/// Factory reset camera alignment.
///
/// - Returns: true if the command has been sent, false otherwise
func resetAlignment() -> Bool
}
/// Camera peripheral implementation
public class CameraCore: PeripheralCore, Camera {
/// implementation backend
private unowned let backend: CameraBackend
/// Whether this camera is active or not
public private(set) var isActive: Bool = false
/// Camera mode switcher, to select recording or photo mode if supported
public var modeSetting: CameraModeSetting {
return _modeSetting
}
/// Internal storage for mode settings
private var _modeSetting: CameraModeSettingCore!
/// Exposure settings
public var exposureSettings: CameraExposureSettings {
return _exposureSettings
}
/// Internal storage for exposure settings
private var _exposureSettings: CameraExposureSettingsCore!
/// Exposure compensation setting
public var exposureCompensationSetting: CameraExposureCompensationSetting {
return _exposureCompensationSetting
}
/// Internal storage for exposure compensation settings
private var _exposureCompensationSetting: CameraExposureCompensationSettingCore!
/// White balance settings
public var whiteBalanceSettings: CameraWhiteBalanceSettings {
return _whiteBalanceSettings
}
/// Internal storage for white balance settings
private var _whiteBalanceSettings: CameraWhiteBalanceSettingsCore!
public var whiteBalanceLock: CameraWhiteBalanceLock? {
return isActive ? _whiteBalanceLock : nil
}
/// Internal storage for white balance lock
private var _whiteBalanceLock: CameraWhiteBalanceLockCore?
/// Style settings
public var styleSettings: CameraStyleSettings {
return _styleSettings
}
/// Internal storage for style settings
private var _styleSettings: CameraStyleSettingsCore!
/// Settings when mode is `recording`
public var recordingSettings: CameraRecordingSettings {
return _recordingSettings
}
/// Internal storage for recording settings
private var _recordingSettings: CameraRecordingSettingsCore!
/// Auto start and stop recording setting.
public var autoRecordSetting: BoolSetting? {
return _autoRecordSetting
}
/// Internal storage for autorecord settings
private var _autoRecordSetting: BoolSettingCore?
/// Settings when mode is `photo`
public var photoSettings: CameraPhotoSettings {
return _photoSettings
}
/// Internal storage for photo settings
private var _photoSettings: CameraPhotoSettingsCore!
/// Hdr settings
public var hdrSetting: BoolSetting? {
return _hdrSetting
}
/// Internal storage for hdr settings
private var _hdrSetting: BoolSettingCore?
/// Exposure lock
public var exposureLock: CameraExposureLock? {
return isActive ? _exposureLock : nil
}
/// Internal storage for exposure lock
private var _exposureLock: CameraExposureLockCore?
/// Is HDR available in the current mode and configuration
public var hdrAvailable: Bool {
switch _modeSetting.mode {
case .recording:
return _recordingSettings.hdrAvailable
case .photo:
return _photoSettings.hdrAvailable
}
}
/// recording state
public var recordingState: CameraRecordingState {
return _recordingState
}
/// Internal storage for recording state
private var _recordingState = CameraRecordingStateCore()
/// photo state
public var photoState: CameraPhotoState {
return _photoState
}
/// Internal storage for photo state
private var _photoState = CameraPhotoStateCore()
/// HDR state
public private (set) var hdrState = false
/// Camera zoom.
public var zoom: CameraZoom? {
return _zoom
}
/// Internal storage for zoom
private var _zoom: CameraZoomCore?
/// Camera alignment
public var alignment: CameraAlignment? {
return isActive ? _alignment : nil
}
/// Internal camera alignment
private var _alignment: CameraAlignmentCore?
/// Constructor
///
/// - Parameters:
/// - desc: component descriptor
/// - store: store where this peripheral will be stored
/// - backend: Camera backend
public init(_ desc: ComponentDescriptor, store: ComponentStoreCore, backend: CameraBackend) {
self.backend = backend
super.init(desc: desc, store: store)
createSettings()
}
/// Creates all non optional settings
private func createSettings() {
_modeSetting = CameraModeSettingCore(didChangeDelegate: self) { [unowned self] mode in
return self.backend.set(mode: mode)
}
_exposureSettings = CameraExposureSettingsCore(didChangeDelegate: self) {
// swiftlint:disable:next closure_parameter_position
[unowned self] (mode, shutterSpeed, isoSensitivity, maxIsoSensitivity) in
return self.backend.set(exposureMode: mode, manualShutterSpeed: shutterSpeed,
manualIsoSensitivity: isoSensitivity, maximumIsoSensitivity: maxIsoSensitivity)
}
_exposureCompensationSetting = CameraExposureCompensationSettingCore(didChangeDelegate: self) {
// swiftlint:disable:next closure_parameter_position
[unowned self] value in
return self.backend.set(exposureCompensation: value)
}
_whiteBalanceSettings = CameraWhiteBalanceSettingsCore(didChangeDelegate: self) {
// swiftlint:disable:next closure_parameter_position
[unowned self] mode, customTemperature in
return self.backend.set(whiteBalanceMode: mode, customTemperature: customTemperature)
}
_styleSettings = CameraStyleSettingsCore(
didChangeDelegate: self,
changeStyleBackend: { [unowned self] style in
return self.backend.set(activeStyle: style)
},
changeConfigBackend: { [unowned self] saturation, contrast, sharpness in
return self.backend.set(styleParameters: (saturation, contrast, sharpness))
}
)
_recordingSettings = CameraRecordingSettingsCore(didChangeDelegate: self) {
// swiftlint:disable:next closure_parameter_position
[unowned self] (mode, resolution, framerate, hyperlapse) in
return self.backend.set(recordingMode: mode, resolution: resolution, framerate: framerate,
hyperlapse: hyperlapse)
}
_photoSettings = CameraPhotoSettingsCore(didChangeDelegate: self) {
// swiftlint:disable:next closure_parameter_position
[unowned self] (mode, format, fileFormat, burst, bracketing, gpslapseCaptureInterval, timelapseCaptureInterval) in
return self.backend.set(photoMode: mode, format: format, fileFormat: fileFormat,
burst: burst, bracketing: bracketing,
gpslapseCaptureInterval: gpslapseCaptureInterval,
timelapseCaptureInterval: timelapseCaptureInterval)
}
}
/// Tells if startRecording can be called
public var canStartRecord: Bool {
return _recordingState.functionState.isStopped
}
/// Tells if stopRecord can be called
public var canStopRecord: Bool {
return _recordingState.functionState == .started
}
/// Tells if startPhoto can be called
public var canStartPhotoCapture: Bool {
return photoState.functionState == .stopped
}
/// Tells if stopPhoto can be called
public var canStopPhotoCapture: Bool {
return photoState.functionState == .started &&
(photoSettings.mode == .gpsLapse || photoSettings.mode == .timeLapse)
}
/// Start recording. Can be called when `recordingState.state` is `ready`
public func startRecording() {
if _recordingState.functionState.isStopped && backend.startRecording() {
update(recordingState: .starting)
notifyUpdated()
}
}
/// Stop recording. Can be called when `recordingState.state` is `inProgress`
public func stopRecording() {
if recordingState.functionState == .started && backend.stopRecording() {
update(recordingState: .stopping)
markChanged()
notifyUpdated()
}
}
/// Start taking photo(s). Can be called when `photoState` is `ready`
public func startPhotoCapture() {
if photoState.functionState == .stopped && backend.startPhotoCapture() {
update(photoState: .started, photoCount: 0)
notifyUpdated()
}
}
/// Stop taking photo(s). Can be called when `photoState` is `takingPhotos`
public func stopPhotoCapture() {
if photoState.functionState == .started && backend.stopPhotoCapture() {
update(photoState: .stopping, photoCount: 0)
notifyUpdated()
}
}
override func reset() {
// recreate non optional settings
isActive = false
_whiteBalanceLock = nil
_exposureLock = nil
_zoom = nil
_alignment = nil
createSettings()
}
/// Create zoom
private func createZoom() -> CameraZoomCore {
return CameraZoomCore(backend: self, settingDidChangeDelegate: self)
}
/// Update active camera flag
///
/// - Parameter active: active camera
/// - Returns: self to allow call chaining
@discardableResult public func updateActiveFlag(active: Bool) -> CameraCore {
if _exposureLock != nil || _whiteBalanceLock != nil || self.hdrAvailable {
markChanged()
}
if active != self.isActive {
self.isActive = active
markChanged()
}
return self
}
/// Debug description
public override var description: String {
return "CameraCore \(_modeSetting!) \(_exposureSettings!) \(_whiteBalanceSettings!) " +
"\(_recordingSettings!) \(_photoSettings!)"
}
}
// MARK: - Objc Support
/// Extension adding objc GSCamera conformance
extension CameraCore: GSCamera {
/// Camera mode switcher, to select recording or photo mode if supported
public var gsModeSetting: GSCameraModeSetting {
return _modeSetting
}
/// Exposure settings
public var gsExposureSettings: GSCameraExposureSettings {
return _exposureSettings
}
public var gsExposureLock: GSCameraExposureLock? {
return _exposureLock
}
/// Camera alignment
public var gsAlignment: GSCameraAlignment? {
return _alignment
}
/// Exposure compensation setting
public var gsExposureCompensationSetting: GSCameraExposureCompensationSetting {
return _exposureCompensationSetting
}
/// White balance settings
public var gsWhiteBalanceSettings: GSCameraWhiteBalanceSettings {
return _whiteBalanceSettings
}
public var gsWhiteBalanceLock: GSCameraWhiteBalanceLock? {
return _whiteBalanceLock
}
/// Style settings
public var gsStyleSettings: GSCameraStyleSettings {
return _styleSettings
}
/// Settings when the camera is in recording mode
public var gsRecordingSettings: GSCameraRecordingSettings {
return _recordingSettings
}
/// Settings when the camera is in photo mode
public var gsPhotoSettings: GSCameraPhotoSettings {
return _photoSettings
}
}
// MARK: - Backend
/// Backend callback methods
extension CameraCore {
/// Struct to store one entry of recording capabilities
public struct RecordingCapabilitiesEntry {
/// Supported recording modes
public let modes: Set<CameraRecordingMode>
/// Supported recording resolutions with respect to the supported recording modes
public let resolutions: Set<CameraRecordingResolution>
/// Supported recording framerates with respect to the supported recording modes and resolutions
public let framerates: Set<CameraRecordingFramerate>
/// Availability of HDR
public let hdrAvailable: Bool
/// Constructor
///
/// - Parameters:
/// - modes: supported recording modes
/// - resolutions: recording resolutions supported in those `modes`
/// - framerates: recording framerates supported in those `modes` and `resolutions`
/// - hdrAvailable: availability of HDR
public init(modes: Set<CameraRecordingMode>, resolutions: Set<CameraRecordingResolution>,
framerates: Set<CameraRecordingFramerate>, hdrAvailable: Bool) {
self.modes = modes
self.resolutions = resolutions
self.framerates = framerates
self.hdrAvailable = hdrAvailable
}
}
/// Struct to store one entry of photo capabilities
public struct PhotoCapabilitiesEntry {
/// Supported photo modes
public let modes: Set<CameraPhotoMode>
/// Supported photo formats with respect to the supported photo modes
public let formats: Set<CameraPhotoFormat>
/// Supported photo file formats with respect to the supported photo modes and formats
public let fileFormats: Set<CameraPhotoFileFormat>
/// Availability of HDR
public let hdrAvailable: Bool
/// Constructor
///
/// - Parameters:
/// - modes: supported photo modes
/// - formats: photo formats supported in those `modes`
/// - fileFormats: photo file formats supported in those `modes` and `formats`
/// - hdrAvailable: availability of HDR
public init(modes: Set<CameraPhotoMode>, formats: Set<CameraPhotoFormat>,
fileFormats: Set<CameraPhotoFileFormat>, hdrAvailable: Bool) {
self.modes = modes
self.formats = formats
self.fileFormats = fileFormats
self.hdrAvailable = hdrAvailable
}
}
// MARK: Mode
/// Changes supported camera modes
///
/// - Parameter supportedModes: new supported camera modes
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(supportedModes newSupportedMode: Set<CameraMode>) -> CameraCore {
if _modeSetting.update(supportedModes: newSupportedMode) {
markChanged()
}
return self
}
/// Changes camera mode
///
/// - Parameter mode: new camera mode
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(mode newMode: CameraMode) -> CameraCore {
if _modeSetting.update(mode: newMode) {
markChanged()
}
return self
}
// MARK: Exposure
/// Changes supported camera exposure modes
///
/// - Parameter supportedExposureModes: new supported camera exposure modes
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(supportedExposureModes newSupportedMode: Set<CameraExposureMode>)
-> CameraCore {
if _exposureSettings.update(supportedModes: newSupportedMode) {
markChanged()
}
return self
}
/// Changes camera exposure mode
///
/// - Parameter exposureMode: new camera exposure mode
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(exposureMode newExposureMode: CameraExposureMode) -> CameraCore {
if _exposureSettings.update(mode: newExposureMode) {
markChanged()
}
return self
}
/// Changes supported camera manual shutter speeds
///
/// - Parameter supportedManualShutterSpeeds: new supported camera manual shutter speeds
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(
supportedManualShutterSpeeds newSupportedShutterSpeeds: Set<CameraShutterSpeed>) -> CameraCore {
if _exposureSettings.update(supportedManualShutterSpeeds: newSupportedShutterSpeeds) {
markChanged()
}
return self
}
/// Changes camera manual shutter speed
///
/// - Parameter manualShutterSpeed: new camera manual shutter speed
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(manualShutterSpeed newShutterSpeed: CameraShutterSpeed) -> CameraCore {
if _exposureSettings.update(manualShutterSpeed: newShutterSpeed) {
markChanged()
}
return self
}
/// Changes supported camera manual iso sensitivity
///
/// - Parameter supportedManualIsoSensitivity: new supported camera manual iso sensitivity
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(supportedManualIsoSensitivity newSupportedIsoSensitivity: Set<CameraIso>)
-> CameraCore {
if _exposureSettings.update(supportedManualIsoSensitivity: newSupportedIsoSensitivity) {
markChanged()
}
return self
}
/// Changes camera manual iso sensitivity
///
/// - Parameter manualIsoSensitivity: new camera manual iso sensitivity
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(manualIsoSensitivity newIsoSensitivity: CameraIso) -> CameraCore {
if _exposureSettings.update(manualIsoSensitivity: newIsoSensitivity) {
markChanged()
}
return self
}
/// Changes supported camera maximum iso sensitivity
///
/// - Parameter supportedMaximumIsoSensitivity: new supported camera maximum iso sensitivity
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(supportedMaximumIsoSensitivity newMaximumIsoSensitivity: Set<CameraIso>)
-> CameraCore {
if _exposureSettings.update(supportedMaximumIsoSensitivity: newMaximumIsoSensitivity) {
markChanged()
}
return self
}
/// Changes camera maximum iso sensitivity
///
/// - Parameter maximumIsoSensitivity: new camera maximum iso sensitivity
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(maximumIsoSensitivity newMaximumIsoSensitivity: CameraIso) -> CameraCore {
if _exposureSettings.update(maximumIsoSensitivity: newMaximumIsoSensitivity) {
markChanged()
}
return self
}
/// Change exposure lock
///
/// - Parameter exposureLockMode: new exposure lock mode value
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(exposureLockMode: CameraExposureLockMode) -> CameraCore {
if _exposureLock == nil {
_exposureLock = CameraExposureLockCore(didChangeDelegate: self) { [unowned self] mode in
return self.backend.set(exposureLockMode: mode)
}
if isActive {
markChanged()
}
}
if _exposureLock!.update(mode: exposureLockMode) {
if isActive {
markChanged()
}
}
return self
}
// MARK: Exposure Compensation
/// Changes supported camera exposure compensation values
///
/// - Parameter supportedExposureCompensationValues: new supported camera exposure compensation values
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(
supportedExposureCompensationValues newExposureCompensations: Set<CameraEvCompensation>) -> CameraCore {
if _exposureCompensationSetting.update(supportedValues: newExposureCompensations) {
markChanged()
}
return self
}
/// Changes camera exposure compensation value
///
/// - Parameter exposureCompensationValue: new exposure compensation value
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(exposureCompensationValue newExposureCompensationValue: CameraEvCompensation)
-> CameraCore {
if _exposureCompensationSetting.update(value: newExposureCompensationValue) {
markChanged()
}
return self
}
// MARK: White Balance
/// Changes supported camera white balance modes
///
/// - Parameter supportedWhiteBalanceModes: new supported white balance modes
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(supportedWhiteBalanceModes newSupportedModes: Set<CameraWhiteBalanceMode>)
-> CameraCore {
if _whiteBalanceSettings.update(supportedModes: newSupportedModes) {
markChanged()
}
return self
}
/// Changes camera white balance mode
///
/// - Parameter whiteBalanceMode: new white balance mode
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(whiteBalanceMode newWhiteBalanceMode: CameraWhiteBalanceMode) -> CameraCore {
if _whiteBalanceSettings.update(mode: newWhiteBalanceMode) {
markChanged()
}
return self
}
/// Changes camera white balance lock supported
///
/// - Parameter whiteBalanceMode: new white balance lock supported
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(whiteBalanceLockSupported: Bool?) -> CameraCore {
if whiteBalanceLockSupported == nil {
if _whiteBalanceLock != nil {
_whiteBalanceLock = nil
if isActive {
markChanged()
}
}
return self
}
if _whiteBalanceLock == nil {
_whiteBalanceLock = CameraWhiteBalanceLockCore(didChangeDelegate: self) { [unowned self] isLockable in
return self.backend.set(whiteBalanceLock: isLockable)
}
if isActive {
markChanged()
}
}
if _whiteBalanceLock!.update(isLockable: whiteBalanceLockSupported) {
if isActive {
markChanged()
}
}
return self
}
/// Change white balance lock
///
/// - Parameter white balance lock: new white balance lock value
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(whiteBalanceLock: Bool) -> CameraCore {
if _whiteBalanceLock == nil {
return self
}
if _whiteBalanceLock!.update(lock: whiteBalanceLock) {
markChanged()
}
return self
}
// MARK: Styles
/// Changes supported styles
///
/// - Parameter supportedStyles: new supported styles
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(supportedStyles newSsupportedStyles: Set<CameraStyle>) -> CameraCore {
if _styleSettings.update(supportedStyles: newSsupportedStyles) {
markChanged()
}
return self
}
/// Changes timelapse interval min
///
/// - Parameter timelapseIntervalMin: new timelapse interval min
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(timelapseIntervalMin newTimelapseIntervalMin: Double) -> CameraCore {
if _photoSettings.update(timelapseIntervalMin: newTimelapseIntervalMin) {
markChanged()
}
return self
}
/// Changes gpslapse interval min
///
/// - Parameter gpslapseIntervalMin: new gpslapse interval min
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(gpslapseIntervalMin newGpslapseIntervalMin: Double) -> CameraCore {
if _photoSettings.update(gpslapseIntervalMin: newGpslapseIntervalMin) {
markChanged()
}
return self
}
/// Changes active style.
///
/// - Parameter activeStyle: new active style
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(activeStyle newActiveStyle: CameraStyle) -> CameraCore {
if _styleSettings.update(activeStyle: newActiveStyle) {
markChanged()
}
return self
}
/// Changes saturation style setting
///
/// - Parameter saturation: new saturation
/// - Returns: self to allow call chaining
@discardableResult public func update(saturation: (min: Int, value: Int, max: Int)) -> CameraCore {
let saturationChanged = _styleSettings.update(saturation: saturation)
if saturationChanged {
markChanged()
}
return self
}
/// Changes contrast style setting
///
/// - Parameter contrast: new contrast
/// - Returns: self to allow call chaining
@discardableResult public func update(contrast: (min: Int, value: Int, max: Int)) -> CameraCore {
let contrastChanged = _styleSettings.update(contrast: contrast)
if contrastChanged {
markChanged()
}
return self
}
/// Changes sharpness style setting
///
/// - Parameter sharpness: new sharpness
/// - Returns: self to allow call chaining
@discardableResult public func update(sharpness: (min: Int, value: Int, max: Int)) -> CameraCore {
let sharpnessChanged = _styleSettings.update(sharpness: sharpness)
if sharpnessChanged {
markChanged()
}
return self
}
/// Changes supported camera custom white balance temperatures
///
/// - Parameter supportedCustomWhiteBalanceTemperatures: new supported custom white balance temperatures
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(
supportedCustomWhiteBalanceTemperatures newSupportedCustomTemperatures: Set<CameraWhiteBalanceTemperature>)
-> CameraCore {
if _whiteBalanceSettings.update(supportedCustomTemperatures: newSupportedCustomTemperatures) {
markChanged()
}
return self
}
/// Changes camera custom white balance temperature
///
/// - Parameter customWhiteBalanceTemperature: new custom white balance temperature
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(customWhiteBalanceTemperature newTemperature: CameraWhiteBalanceTemperature)
-> CameraCore {
if _whiteBalanceSettings.update(customTemperature: newTemperature) {
markChanged()
}
return self
}
// MARK: HDR
/// Change HDR setting
///
/// - Parameter hdrSetting: new HDR setting value
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(hdrSetting: Bool) -> CameraCore {
if _hdrSetting == nil {
_hdrSetting = BoolSettingCore(didChangeDelegate: self) { [unowned self] value in
return self.backend.set(hdr: value)
}
markChanged()
}
if _hdrSetting!.update(value: hdrSetting) {
markChanged()
}
return self
}
/// Change actual HDR state
///
/// - Parameter hdrState: new HDR state
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(hdrState: Bool) -> CameraCore {
if self.hdrState != hdrState {
self.hdrState = hdrState
markChanged()
}
return self
}
// MARK: Recording
/// Changes supported modes, resolution and framerates
///
/// - Parameter recordingCapabilities: new supported modes, resolution and framerates
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(recordingCapabilities: [RecordingCapabilitiesEntry]) -> CameraCore {
if _recordingSettings.update(recordingCapabilities: recordingCapabilities) {
markChanged()
}
return self
}
/// Changes camera recording mode
///
/// - Parameter recordingMode: new camera recording mode
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(recordingMode newMode: CameraRecordingMode) -> CameraCore {
if _recordingSettings.update(mode: newMode) {
markChanged()
}
return self
}
/// Changes recording resolution
///
/// - Parameter recordingResolution: new recording resolution for the current recording mode
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(recordingResolution newResolution: CameraRecordingResolution)
-> CameraCore {
if _recordingSettings.update(resolution: newResolution) {
markChanged()
}
return self
}
/// Changes recording resolution
///
/// - Parameter recordingResolution: new recording resolution for the current recording mode
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(recordingFramerate newFramerate: CameraRecordingFramerate)
-> CameraCore {
if _recordingSettings.update(framerate: newFramerate) {
markChanged()
}
return self
}
/// Changes supported recording hyperlapse values
///
/// - Parameter supportedHyperlapseValues: new supported recording hyperlapse values
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(
supportedRecordingHyperlapseValues newHyperlapsValues: Set<CameraHyperlapseValue>)
-> CameraCore {
if _recordingSettings.update(supportedHyperlapseValues: newHyperlapsValues) {
markChanged()
}
return self
}
/// Changes recording hyperlapse value
///
/// - Parameter recordingHyperlapseValue: new recording hyperlapse value
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(recordingHyperlapseValue newHyperlapseValue: CameraHyperlapseValue)
-> CameraCore {
if _recordingSettings.update(hyperlapseValue: newHyperlapseValue) {
markChanged()
}
return self
}
/// Change recording bitrate
///
/// - Parameter recordingBitrate: new recording bitrate
/// - Returns: true if the value has been changed, false else
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(recordingBitrate bitrate: UInt) -> CameraCore {
if _recordingSettings.update(bitrate: bitrate) {
markChanged()
}
return self
}
// MARK: auto-record
/// Change auto-record setting
///
/// - Parameter value: new auto-record setting value
/// - Returns: true if the value has been changed, false else
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(autoRecord value: Bool) -> CameraCore {
if _autoRecordSetting == nil {
_autoRecordSetting = BoolSettingCore(didChangeDelegate: self) { [unowned self] value in
return self.backend.set(autoRecord: value)
}
markChanged()
}
if _autoRecordSetting!.update(value: value) {
markChanged()
}
return self
}
// MARK: Photo
/// Changes supported camera photo modes, formats and fileformats
///
/// - Parameter photoCapabilities: new photo capabilities
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(photoCapabilities: [PhotoCapabilitiesEntry]) -> CameraCore {
if _photoSettings.update(photoCapabilities: photoCapabilities) {
markChanged()
}
return self
}
/// Changes camera photo mode
///
/// - Parameter supportedPhotoModes: new camera photo mode
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(photoMode newMode: CameraPhotoMode) -> CameraCore {
if _photoSettings.update(mode: newMode) {
markChanged()
}
return self
}
/// Changes photo format
///
/// - Parameter photoFormat: new photo format for current photo mode
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(photoFormat newFormat: CameraPhotoFormat) -> CameraCore {
if _photoSettings.update(format: newFormat) {
markChanged()
}
return self
}
/// Changes timelapse capture interval
///
/// - Parameter timelapseCaptureInterval: new timelapse capture interval for current photo mode
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(timelapseCaptureInterval newTimelapseCaptureInterval: Double) -> CameraCore {
if _photoSettings.update(timelapseCaptureInterval: newTimelapseCaptureInterval) {
markChanged()
}
return self
}
/// Changes gpslapse capture interval
///
/// - Parameter gpslapseCaptureInterval: new gpslapse capture interval for current photo mode
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(gpslapseCaptureInterval newGpslapseCaptureInterval: Double) -> CameraCore {
if _photoSettings.update(gpslapseCaptureInterval: newGpslapseCaptureInterval) {
markChanged()
}
return self
}
/// Changes photo file format
///
/// - Parameter photoFileFormat: new photo file formats for current photo format
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(photoFileFormat newFileFormat: CameraPhotoFileFormat) -> CameraCore {
if _photoSettings.update(fileFormat: newFileFormat) {
markChanged()
}
return self
}
/// Changes supported photo burst values
///
/// - Parameter supportedPhotoBurstValues: new supported photo burst values
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(supportedPhotoBurstValues newBurstValues: Set<CameraBurstValue>)
-> CameraCore {
if _photoSettings.update(supportedBurstValues: newBurstValues) {
markChanged()
}
return self
}
/// Changes photo burst value
///
/// - Parameter photoBurstValue: new photo burst value
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(photoBurstValue newBurstValue: CameraBurstValue) -> CameraCore {
if _photoSettings.update(burstValue: newBurstValue) {
markChanged()
}
return self
}
/// Changes supported photo bracketing values
///
/// - Parameter supportedBracketingValues: new supported photo bracketing values
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(
supportedPhotoBracketingValues newBracketingValues: Set<CameraBracketingValue>) -> CameraCore {
if _photoSettings.update(supportedBracketingValues: newBracketingValues) {
markChanged()
}
return self
}
/// Changes photo bracketing value
///
/// - Parameter photoBracketingValue: new photo bracketing value
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(
photoBracketingValue newBracketingValue: CameraBracketingValue) -> CameraCore {
if _photoSettings.update(bracketingValue: newBracketingValue) {
markChanged()
}
return self
}
/// Changes recording state
///
/// - Parameters:
/// - newState: new state
/// - startTime: recording start time
/// - mediaId: id of the media when event is `photo_saved`
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(
recordingState newState: CameraRecordingFunctionState, startTime: Date? = nil,
mediaId: String? = nil) -> CameraCore {
if _recordingState.update(functionState: newState, startTime: startTime, mediaId: mediaId) {
markChanged()
}
return self
}
/// Changes photo count
///
/// - Parameters:
/// - photoCount: new photo count, when event is `taking_photo`
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(photoCount: Int) -> CameraCore {
if _photoState.update(photoCount: photoCount) {
markChanged()
}
return self
}
/// Changes photo state
///
/// - Parameters:
/// - newState: new state
/// - photoCount: new photo count, when event is `taking_photo`
/// - mediaId: id of the media when event is `photo_saved`
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(
photoState newState: CameraPhotoFunctionState, photoCount: Int? = nil, mediaId: String? = nil) -> CameraCore {
if _photoState.update(functionState: newState, photoCount: photoCount, mediaId: mediaId) {
markChanged()
}
return self
}
/// Changes zoom availability
///
/// - Parameter zoomIsAvailable: new availability
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(zoomIsAvailable newValue: Bool) -> CameraCore {
// create the zoom if it was not already created
if _zoom == nil {
_zoom = createZoom()
markChanged()
}
if _zoom!.update(isAvailable: newValue) {
markChanged()
}
return self
}
/// Changes zoom level
///
/// - Parameter currentZoomLevel: new zoom level
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(currentZoomLevel newValue: Double) -> CameraCore {
// create the zoom if it was not already created
if _zoom == nil {
_zoom = createZoom()
markChanged()
}
if _zoom!.update(currentLevel: newValue) {
markChanged()
}
return self
}
/// Changes max lossy (i.e. with quality degradation) zoom level
///
/// - Parameter maxLossyZoomLevel: new max lossy zoom level
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(maxLossyZoomLevel newValue: Double) -> CameraCore {
// create the zoom if it was not already created
if _zoom == nil {
_zoom = createZoom()
markChanged()
}
if _zoom!.update(maxLossyLevel: newValue) {
markChanged()
}
return self
}
/// Changes max loss less (i.e. without quality degradation) zoom level
///
/// - Parameter maxLossLessZoomLevel: new max loss less zoom level
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(maxLossLessZoomLevel newValue: Double) -> CameraCore {
// create the zoom if it was not already created
if _zoom == nil {
_zoom = createZoom()
markChanged()
}
if _zoom!.update(maxLossLessLevel: newValue) {
markChanged()
}
return self
}
/// Changes quality degradation allowance during zoom change with velocity
///
/// - Parameter qualityDegradationAllowed: new allowance
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(qualityDegradationAllowed newValue: Bool) -> CameraCore {
// create the zoom if it was not already created
if _zoom == nil {
_zoom = createZoom()
markChanged()
}
if _zoom!.update(qualityDegradationAllowed: newValue) {
markChanged()
}
return self
}
/// Changes max zoom speed setting
///
/// - Parameters:
/// - maxZoomSpeedLowerBound: new max lower bound, nil if bound does not change
/// - maxZoomSpeed: new setting value, nil if it does not change
/// - maxZoomSpeedUpperBound: new max upper bound, nil if bound does not change
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(
maxZoomSpeedLowerBound: Double?, maxZoomSpeed: Double?,
maxZoomSpeedUpperBound: Double?) -> CameraCore {
// create the zoom if it was not already created
if _zoom == nil {
_zoom = createZoom()
markChanged()
}
if _zoom!.update(
maxSpeedLowerBound: maxZoomSpeedLowerBound,
maxSpeed: maxZoomSpeed,
maxSpeedUpperBound: maxZoomSpeedUpperBound) {
markChanged()
}
return self
}
/// Reset the zoom values.
///
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func resetZoomValues() -> CameraCore {
if let _zoom = _zoom {
_zoom.resetValues()
markChanged()
}
return self
}
/// Changes alignments offsets.
///
/// - Parameters:
/// - yawLowerBound: new yaw offset lower bound
/// - yaw: new yaw offset value
/// - yawUpperBound: new yaw offset upper bound
/// - pitchLowerBound: new pitch offset lower bound
/// - pitch: new pitch offset value
/// - pitchUpperBound: new pitch offset upper bound
/// - rollLowerBound: new roll offset lower bound
/// - roll: new roll offset value
/// - rollUpperBound: new roll offset upper bound
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func update(yawLowerBound: Double, yaw: Double, yawUpperBound: Double,
pitchLowerBound: Double, pitch: Double, pitchUpperBound: Double,
rollLowerBound: Double, roll: Double, rollUpperBound: Double) -> CameraCore {
if _alignment == nil {
_alignment = CameraAlignmentCore(backend: self, didChangeDelegate: self)
if isActive {
markChanged()
}
}
if _alignment!.update(yawLowerBound: yawLowerBound, yaw: yaw, yawUpperBound: yawUpperBound) {
if isActive {
markChanged()
}
}
if _alignment!.update(pitchLowerBound: pitchLowerBound, pitch: pitch, pitchUpperBound: pitchUpperBound) {
if isActive {
markChanged()
}
}
if _alignment!.update(rollLowerBound: rollLowerBound, roll: roll, rollUpperBound: rollUpperBound) {
if isActive {
markChanged()
}
}
return self
}
/// Cancels all pending settings rollbacks.
///
/// - Returns: self to allow call chaining
/// - Note: Changes are not notified until notifyUpdated() is called.
@discardableResult public func cancelSettingsRollback() -> CameraCore {
_modeSetting.cancelRollback { markChanged() }
_exposureSettings.cancelRollback { markChanged() }
_exposureLock?.cancelRollback { markChanged() }
_exposureCompensationSetting.cancelRollback { markChanged() }
_whiteBalanceSettings.cancelRollback { markChanged() }
_styleSettings.cancelRollback { markChanged() }
_recordingSettings.cancelRollback { markChanged() }
_photoSettings.cancelRollback { markChanged() }
_autoRecordSetting?.cancelRollback { markChanged() }
_hdrSetting?.cancelRollback { markChanged() }
_zoom?.cancelSettingsRollback { markChanged() }
_whiteBalanceLock?.cancelRollback { markChanged() }
_alignment?.cancelRollback { markChanged() }
return self
}
}
// MARK: - CameraZoomBackend
/// Camera zoom backend implementation
extension CameraCore: CameraZoomBackend {
func set(maxZoomSpeed: Double) -> Bool {
return backend.set(maxZoomSpeed: maxZoomSpeed)
}
func set(qualityDegradationAllowance: Bool) -> Bool {
return backend.set(qualityDegradationAllowance: qualityDegradationAllowance)
}
func control(mode: CameraZoomControlMode, target: Double) {
backend.control(mode: mode, target: target)
}
}
// MARK: - CameraAlignmentBackend
/// Camera alignment backend implementation
extension CameraCore: CameraAlignmentBackend {
func set(yawOffset: Double, pitchOffset: Double, rollOffset: Double) -> Bool {
return backend.set(yawOffset: yawOffset, pitchOffset: pitchOffset, rollOffset: rollOffset)
}
func resetAlignment() -> Bool {
return backend.resetAlignment()
}
}
| 39.312754 | 119 | 0.658654 |
6929b6be216ddaddd6df8b491c88b8bf59b7c4e3 | 15,210 | kt | Kotlin | qatoolkit-inspector-android/src/main/java/com/github/iojjj/bootstrap/pub/qatoolkit/inspector/android/widget/TextViewInspectorConfiguration.kt | Iojjj/QA-Toolkit | 8f131d8132b0deb6a638d2a66fdf1d53911cca32 | [
"MIT",
"Unlicense"
] | 3 | 2021-11-23T10:26:01.000Z | 2022-02-13T19:48:33.000Z | qatoolkit-inspector-android/src/main/java/com/github/iojjj/bootstrap/pub/qatoolkit/inspector/android/widget/TextViewInspectorConfiguration.kt | Iojjj/QA-Toolkit | 8f131d8132b0deb6a638d2a66fdf1d53911cca32 | [
"MIT",
"Unlicense"
] | null | null | null | qatoolkit-inspector-android/src/main/java/com/github/iojjj/bootstrap/pub/qatoolkit/inspector/android/widget/TextViewInspectorConfiguration.kt | Iojjj/QA-Toolkit | 8f131d8132b0deb6a638d2a66fdf1d53911cca32 | [
"MIT",
"Unlicense"
] | null | null | null | @file:Suppress("FunctionName")
package com.github.iojjj.bootstrap.pub.qatoolkit.inspector.android.widget
import android.graphics.text.LineBreaker
import android.os.Build
import android.widget.TextView
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.CATEGORY_ORDER_STEP_LARGE
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.CATEGORY_ORDER_STEP_SMALL
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.CATEGORY_ORDER_VIEW_BACKGROUND
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.CategoryInspector
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.INSPECTOR_ORDER_STEP
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.InspectorConfiguration
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.Order
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.asGravityString
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.attribute.ColorAttribute.Companion.color
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.attribute.CommonAttribute.Companion.apiRestricted
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.attribute.DimensionAttribute.Companion.dimension
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.attribute.DimensionAttribute.Companion.textDimension
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.CategoryInspectorBuilder
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.Inspect
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.InspectorBuilder
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.ViewLayoutCategory
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.attribute.ApiRestricted
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.attribute.Color
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.attribute.Dimension
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.attribute.Drawable
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.attribute.FlatMap
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.attribute.Float
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.attribute.Int
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.attribute.String
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.attribute.TextDimension
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.attribute.TintedDrawable
import com.github.iojjj.bootstrap.pub.qatoolkit.inspector.dsl.category.Category
/**
* Implementation of [InspectorConfiguration] for [TextView] type.
*/
// Executing after View's inspector
@Order(1 * INSPECTOR_ORDER_STEP)
class TextViewInspectorConfiguration : InspectorConfiguration<TextView> {
override fun configure(): Iterable<CategoryInspector<TextView>> = Inspect {
ViewLayoutCategory {
Dimension(ATTRIBUTE_MIN_WIDTH) { textView ->
textView.minWidth.takeUnless { it < 0 }
}
Dimension(ATTRIBUTE_MIN_HEIGHT) { textView ->
textView.minHeight.takeUnless { it < 0 }
}
Dimension(ATTRIBUTE_MAX_WIDTH) { textView ->
textView.maxWidth.takeUnless { it < 0 || it == Int.MAX_VALUE }
}
Dimension(ATTRIBUTE_MAX_HEIGHT) { textView ->
textView.maxHeight.takeUnless { it < 0 || it == Int.MAX_VALUE }
}
}
TextViewTextCategory {
String(ATTRIBUTE_TEXT) { textView ->
textView.text.takeUnless { it.isNullOrEmpty() }
}
TextDimension(ATTRIBUTE_TEXT_SIZE) { it.textSize }
Float(ATTRIBUTE_TEXT_SCALE_X) { it.textScaleX }
FlatMap(ATTRIBUTE_AUTO_SIZE) { textView ->
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
if (textView.autoSizeTextType == TextView.AUTO_SIZE_TEXT_TYPE_NONE) {
emptyList()
} else {
listOfNotNull(
textView.autoSizeMinTextSize.takeUnless { it == -1 }
?.let { textDimension(ATTRIBUTE_AUTO_SIZE_MIN_TEXT_SIZE, it) },
textView.autoSizeMaxTextSize.takeUnless { it == -1 }
?.let { textDimension(ATTRIBUTE_AUTO_SIZE_MAX_TEXT_SIZE, it) },
textView.autoSizeStepGranularity.takeUnless { it == -1 }
?.let { textDimension(ATTRIBUTE_AUTO_SIZE_STEP_GRANULARITY, it) },
)
}
} else {
listOf(
apiRestricted(
ATTRIBUTE_AUTO_SIZE_MIN_TEXT_SIZE,
Build.VERSION_CODES.O
),
apiRestricted(
ATTRIBUTE_AUTO_SIZE_MAX_TEXT_SIZE,
Build.VERSION_CODES.O
),
apiRestricted(
ATTRIBUTE_AUTO_SIZE_STEP_GRANULARITY,
Build.VERSION_CODES.O
),
)
}
}
Color(ATTRIBUTE_TEXT_COLOR) {
it.textColors?.let { colors ->
colors.getColorForState(it.drawableState, colors.defaultColor)
}
}
}
TextViewShadowCategory {
FlatMap(ATTRIBUTE_SHADOW) {
if (it.shadowRadius <= 0.0f) {
emptyList()
} else {
listOf(
dimension(ATTRIBUTE_SHADOW_RADIUS, it.shadowRadius),
dimension(ATTRIBUTE_SHADOW_DX, it.shadowDx),
dimension(ATTRIBUTE_SHADOW_DY, it.shadowDy),
color(ATTRIBUTE_SHADOW_COLOR, it.shadowColor),
)
}
}
}
TextViewHintCategory {
String(ATTRIBUTE_HINT) { it.hint }
Color(ATTRIBUTE_HINT_COLOR) { it.currentHintTextColor }
}
TextViewParagraphCategory {
Dimension(ATTRIBUTE_LINE_SPACING_EXTRA) { it.lineSpacingExtra }
Float(ATTRIBUTE_LINE_SPACING_MULTIPLIER) { it.lineSpacingMultiplier }
Float(ATTRIBUTE_LETTER_SPACING) { it.letterSpacing }
Int(ATTRIBUTE_MIN_EMS) { textView ->
textView.minEms.takeUnless { it < 0 }
}
Int(ATTRIBUTE_MAX_EMS) { textView ->
textView.maxEms.takeUnless { it < 0 || it == Int.MAX_VALUE }
}
Int(ATTRIBUTE_MIN_LINES) { textView ->
textView.minLines.takeUnless { it < 0 }
}
Int(ATTRIBUTE_MAX_LINES) { textView ->
textView.maxLines.takeUnless { it < 0 || it == Int.MAX_VALUE }
}
Int(ATTRIBUTE_LINE_COUNT) { it.lineCount }
Dimension(ATTRIBUTE_LINE_HEIGHT) { it.lineHeight }
}
TextViewCompoundDrawables {
Dimension(ATTRIBUTE_COMPOUND_DRAWABLE_PADDING) { it.compoundDrawablePadding }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
TintedDrawable(ATTRIBUTE_COMPOUND_DRAWABLE_START) { it.compoundDrawablesRelative[0] to it.compoundDrawableTintList }
TintedDrawable(ATTRIBUTE_COMPOUND_DRAWABLE_TOP) { it.compoundDrawablesRelative[1] to it.compoundDrawableTintList }
TintedDrawable(ATTRIBUTE_COMPOUND_DRAWABLE_END) { it.compoundDrawablesRelative[2] to it.compoundDrawableTintList }
TintedDrawable(ATTRIBUTE_COMPOUND_DRAWABLE_BOTTOM) { it.compoundDrawablesRelative[3] to it.compoundDrawableTintList }
} else {
Drawable(ATTRIBUTE_COMPOUND_DRAWABLE_START) { it.compoundDrawablesRelative[0] }
Drawable(ATTRIBUTE_COMPOUND_DRAWABLE_TOP) { it.compoundDrawablesRelative[1] }
Drawable(ATTRIBUTE_COMPOUND_DRAWABLE_END) { it.compoundDrawablesRelative[2] }
Drawable(ATTRIBUTE_COMPOUND_DRAWABLE_BOTTOM) { it.compoundDrawablesRelative[3] }
ApiRestricted("${ATTRIBUTE_COMPOUND_DRAWABLE_START}: Tint", Build.VERSION_CODES.M) {
it.compoundDrawablesRelative[0]
}
ApiRestricted("${ATTRIBUTE_COMPOUND_DRAWABLE_TOP}: Tint", Build.VERSION_CODES.M) {
it.compoundDrawablesRelative[1]
}
ApiRestricted("${ATTRIBUTE_COMPOUND_DRAWABLE_END}: Tint", Build.VERSION_CODES.M) {
it.compoundDrawablesRelative[2]
}
ApiRestricted("${ATTRIBUTE_COMPOUND_DRAWABLE_BOTTOM}: Tint", Build.VERSION_CODES.M) {
it.compoundDrawablesRelative[3]
}
}
}
TextViewOtherCategory {
String(ATTRIBUTE_GRAVITY) { it.gravity.asGravityString() }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
String(ATTRIBUTE_JUSTIFICATION_MODE) {
when (val mode = it.justificationMode) {
LineBreaker.JUSTIFICATION_MODE_INTER_WORD -> "Inter Word"
LineBreaker.JUSTIFICATION_MODE_NONE -> "None"
else -> "Unsupported mode: $mode"
}
}
}
String(ATTRIBUTE_ELLIPSIZE) { it.ellipsize?.name }
}
}
@Suppress("MemberVisibilityCanBePrivate")
companion object {
const val CATEGORY_TEXT_VIEW_TEXT: String = "Text View: Text"
const val CATEGORY_TEXT_VIEW_TEXT_SHADOW: String = "Text View: Text Shadow"
const val CATEGORY_TEXT_VIEW_HINT: String = "Text View: Hint"
const val CATEGORY_TEXT_VIEW_PARAGRAPH: String = "Text View: Paragraph"
const val CATEGORY_TEXT_VIEW_COMPOUND_DRAWABLES: String = "Text View: Compound Drawables"
const val CATEGORY_TEXT_VIEW_OTHER: String = "Text View: Other"
const val CATEGORY_ORDER_TEXT_VIEW_FIRST: Int = CATEGORY_ORDER_VIEW_BACKGROUND - CATEGORY_ORDER_STEP_LARGE
const val CATEGORY_ORDER_TEXT_VIEW_TEXT: Int = CATEGORY_ORDER_TEXT_VIEW_FIRST
const val CATEGORY_ORDER_TEXT_VIEW_TEXT_SHADOW: Int = CATEGORY_ORDER_TEXT_VIEW_TEXT + CATEGORY_ORDER_STEP_SMALL
const val CATEGORY_ORDER_TEXT_VIEW_HINT: Int = CATEGORY_ORDER_TEXT_VIEW_TEXT_SHADOW + CATEGORY_ORDER_STEP_SMALL
const val CATEGORY_ORDER_TEXT_VIEW_PARAGRAPH: Int = CATEGORY_ORDER_TEXT_VIEW_HINT + CATEGORY_ORDER_STEP_SMALL
const val CATEGORY_ORDER_TEXT_VIEW_COMPOUND_DRAWABLES: Int = CATEGORY_ORDER_TEXT_VIEW_PARAGRAPH + CATEGORY_ORDER_STEP_SMALL
const val CATEGORY_ORDER_TEXT_VIEW_OTHER: Int = CATEGORY_ORDER_TEXT_VIEW_COMPOUND_DRAWABLES + CATEGORY_ORDER_STEP_SMALL
const val CATEGORY_ORDER_TEXT_VIEW_LAST: Int = CATEGORY_ORDER_TEXT_VIEW_OTHER
const val ATTRIBUTE_TEXT: String = "Text"
const val ATTRIBUTE_TEXT_SIZE: String = "Text size"
const val ATTRIBUTE_TEXT_SCALE_X: String = "Text scale X"
const val ATTRIBUTE_TEXT_COLOR: String = "Text color"
const val ATTRIBUTE_HINT: String = "Hint"
const val ATTRIBUTE_HINT_COLOR: String = "Hint color"
const val ATTRIBUTE_MAX_WIDTH: String = "Max width"
const val ATTRIBUTE_MAX_HEIGHT: String = "Max height"
const val ATTRIBUTE_MIN_WIDTH: String = "Min width"
const val ATTRIBUTE_MIN_HEIGHT: String = "Min height"
const val ATTRIBUTE_MAX_EMS: String = "Max width in ems"
const val ATTRIBUTE_MAX_LINES: String = "Max number of lines"
const val ATTRIBUTE_MIN_EMS: String = "Min width in ems"
const val ATTRIBUTE_MIN_LINES: String = "Min number of lines"
const val ATTRIBUTE_LINE_COUNT: String = "Number of lines"
const val ATTRIBUTE_LINE_HEIGHT: String = "Line height"
const val ATTRIBUTE_LINE_SPACING_MULTIPLIER: String = "Line spacing multiplier"
const val ATTRIBUTE_LINE_SPACING_EXTRA: String = "Line spacing extra"
const val ATTRIBUTE_GRAVITY: String = "Text gravity"
const val ATTRIBUTE_JUSTIFICATION_MODE: String = "Justification mode"
const val ATTRIBUTE_ELLIPSIZE: String = "Ellipsize type"
const val ATTRIBUTE_LETTER_SPACING: String = "Letter-spacing"
const val ATTRIBUTE_AUTO_SIZE: String = "Auto size"
const val ATTRIBUTE_AUTO_SIZE_STEP_GRANULARITY: String = "Auto size: step granularity"
const val ATTRIBUTE_AUTO_SIZE_MIN_TEXT_SIZE: String = "Auto size: min size"
const val ATTRIBUTE_AUTO_SIZE_MAX_TEXT_SIZE: String = "Auto size: max size"
const val ATTRIBUTE_COMPOUND_DRAWABLE_START: String = "Start drawable"
const val ATTRIBUTE_COMPOUND_DRAWABLE_TOP: String = "Top drawable"
const val ATTRIBUTE_COMPOUND_DRAWABLE_END: String = "End drawable"
const val ATTRIBUTE_COMPOUND_DRAWABLE_BOTTOM: String = "Bottom drawable"
const val ATTRIBUTE_COMPOUND_DRAWABLE_PADDING: String = "Padding between text and drawables"
const val ATTRIBUTE_SHADOW: String = "Shadow"
const val ATTRIBUTE_SHADOW_RADIUS: String = "Shadow radius"
const val ATTRIBUTE_SHADOW_DX: String = "Shadow dx"
const val ATTRIBUTE_SHADOW_DY: String = "Shadow dy"
const val ATTRIBUTE_SHADOW_COLOR: String = "Shadow color"
fun <T> InspectorBuilder<T>.TextViewTextCategory(
allowNulls: Boolean = this.allowNulls,
block: CategoryInspectorBuilder<T>.() -> Unit
) {
Category(CATEGORY_TEXT_VIEW_TEXT, CATEGORY_ORDER_TEXT_VIEW_TEXT, allowNulls, block)
}
fun <T> InspectorBuilder<T>.TextViewShadowCategory(
allowNulls: Boolean = this.allowNulls,
block: CategoryInspectorBuilder<T>.() -> Unit
) {
Category(CATEGORY_TEXT_VIEW_TEXT_SHADOW, CATEGORY_ORDER_TEXT_VIEW_TEXT_SHADOW, allowNulls, block)
}
fun <T> InspectorBuilder<T>.TextViewHintCategory(
allowNulls: Boolean = this.allowNulls,
block: CategoryInspectorBuilder<T>.() -> Unit
) {
Category(CATEGORY_TEXT_VIEW_HINT, CATEGORY_ORDER_TEXT_VIEW_HINT, allowNulls, block)
}
fun <T> InspectorBuilder<T>.TextViewParagraphCategory(
allowNulls: Boolean = this.allowNulls,
block: CategoryInspectorBuilder<T>.() -> Unit
) {
Category(CATEGORY_TEXT_VIEW_PARAGRAPH, CATEGORY_ORDER_TEXT_VIEW_PARAGRAPH, allowNulls, block)
}
fun <T> InspectorBuilder<T>.TextViewCompoundDrawables(
allowNulls: Boolean = this.allowNulls,
block: CategoryInspectorBuilder<T>.() -> Unit
) {
Category(CATEGORY_TEXT_VIEW_COMPOUND_DRAWABLES, CATEGORY_ORDER_TEXT_VIEW_COMPOUND_DRAWABLES, allowNulls, block)
}
fun <T> InspectorBuilder<T>.TextViewOtherCategory(
allowNulls: Boolean = this.allowNulls,
block: CategoryInspectorBuilder<T>.() -> Unit
) {
Category(CATEGORY_TEXT_VIEW_OTHER, CATEGORY_ORDER_TEXT_VIEW_OTHER, allowNulls, block)
}
}
} | 54.516129 | 133 | 0.662327 |
4025194d816929b86c01007aa5a8b20ca0d8694c | 3,252 | py | Python | Python_pathfindingAlgorithms/Python_pathfindingAlgorithms/Python_pathfindingAlgorithms.py | Lacwik/Python_pathfindingAlgorithmsWithMazeGenerator | df22e0c6f5830d288fb889019a516a94b3f74612 | [
"MIT"
] | null | null | null | Python_pathfindingAlgorithms/Python_pathfindingAlgorithms/Python_pathfindingAlgorithms.py | Lacwik/Python_pathfindingAlgorithmsWithMazeGenerator | df22e0c6f5830d288fb889019a516a94b3f74612 | [
"MIT"
] | null | null | null | Python_pathfindingAlgorithms/Python_pathfindingAlgorithms/Python_pathfindingAlgorithms.py | Lacwik/Python_pathfindingAlgorithmsWithMazeGenerator | df22e0c6f5830d288fb889019a516a94b3f74612 | [
"MIT"
] | null | null | null | from utils.cell import cell
from utils.maze import maze
from utils.statistics import *
from utils.configuration import *
from utils.algorithms import *
from pygame.locals import *
import cProfile
PROGRAM_END = False
pygame.init()
pygame.display.set_caption("Maciej Łacwik || maze generator + pathfinding")
sub1 = mainSurface.subsurface(p1_camera)
sub2 = mainSurface.subsurface(p2_camera)
sub3 = mainSurface.subsurface(p3_camera)
sub4 = mainSurface.subsurface(p4_camera)
maze1 = maze(sub1)
maze1.generate()
maze2 = maze(sub2)
maze2.generate()
maze3 = maze(sub3)
maze3.generate()
#maze1.generate()
#maze2.generate() #maze
#maze3.generate()
#maze1.load_level_1()
#maze2.load_level_1() # whiteboard
#maze3.load_level_1()
maze1.load_level_2()
maze2.load_level_2() # uncomment ony for more than 14 x 14 cells
maze3.load_level_2()
algorithm = Algorithms()
statistics = Statistics()
end_x = rows-1
end_y = cols-1
#bf_file = open("bf_plot_data.txt", "a")
#maze1.generate()
#maze1.count_connections()
#print("connections: " + str(maze1.connections_number))
#while(algorithm.bf_stop == False):
# algorithm.bellman_ford(maze1.mainGrid[0][0],maze1.mainGrid[end_x][end_y], maze1)
#algorithm.reset(maze1)
#bf_file.write(str(algorithm.bf_time) + " " + str(maze1.connections_number) + "\n")
# -------- Main Program Loop -----------
while not PROGRAM_END:
# --- Main event loop
for event in pygame.event.get():
if event.type == pygame.KEYDOWN and event.key == K_SPACE:
PAUSE = not PAUSE
print("-----STOPPED-----")
if event.type == pygame.KEYDOWN and event.key == K_s:
SHOW_STATS = not SHOW_STATS
if event.type == pygame.KEYDOWN and event.key == K_r:
algorithm.reset(maze3)
algorithm.reset(maze2)
algorithm.reset(maze1)
statistics.iterations_reset()
if event.type == pygame.QUIT:
PROGRAM_END = True
if(not PAUSE and algorithm.astar_stop == False):
algorithm.astar(maze3.mainGrid[7][7],maze3.mainGrid[end_x][end_y], maze3)
#cProfile.run('algorithm.astar(maze3.mainGrid[0][0],maze3.mainGrid[end_x][end_y], maze3)', 'stats.txt')
statistics.astar_iterate()
if(not PAUSE and algorithm.djikstra_stop == False):
algorithm.djikstra(maze2.mainGrid[7][7],maze2.mainGrid[end_x][end_y], maze2)
statistics.djikstra_iterate()
if(not PAUSE and algorithm.bf_stop == False):
algorithm.bellman_ford(maze1.mainGrid[7][7],maze1.mainGrid[end_x][end_y], maze1)
statistics.bf_iterate()
maze1.draw()
maze2.draw()
maze3.draw()
#statistics window
sub4.fill(LIGHT_BLUE)
pygame.draw.line(sub4, GREY, (0,0),(0, int(windowHEIGHT/2)), 8)
pygame.draw.line(sub4, GREY, (0,0),(int(windowWIDTH/2), 0), 8)
mainWindow.blit(sub1, (0,0))
mainWindow.blit(sub2, (int(windowWIDTH/2), 0))
mainWindow.blit(sub3, (0, int(windowHEIGHT/2)))
mainWindow.blit(sub4, (int(windowWIDTH/2), int(windowHEIGHT/2)))
if(SHOW_STATS == True):
statistics.display(algorithm.bf_time, algorithm.dijkstra_time, algorithm.astar_time)
else:
statistics.welcome_info()
pygame.display.flip()
clock.tick(framerate)
pygame.quit() | 30.392523 | 111 | 0.680812 |
e92c4d781cb65e9fbcd6b4e8f609f63d96885a87 | 800 | gemspec | Ruby | kicker.gemspec | Manfred/Four | 3addac7c9583c86a5ae9dda0d8fdd612742aaffe | [
"MIT"
] | 1 | 2015-11-09T00:01:39.000Z | 2015-11-09T00:01:39.000Z | kicker.gemspec | Manfred/Four | 3addac7c9583c86a5ae9dda0d8fdd612742aaffe | [
"MIT"
] | null | null | null | kicker.gemspec | Manfred/Four | 3addac7c9583c86a5ae9dda0d8fdd612742aaffe | [
"MIT"
] | null | null | null | $:.unshift File.expand_path('../lib', __FILE__)
require 'kicker/version'
require 'date'
Gem::Specification.new do |s|
s.name = "kicker"
s.version = Kicker::VERSION
s.date = Time.new
s.summary = "A lean, agnostic, flexible file-change watcher."
s.description = "Kicker lets you watch filesystem changes and act in them with predefined or custom recipes."
s.authors = ["Eloy Duran", "Manfred Stienstra"]
s.homepage = "http://github.com/Manfred/kicker"
s.email = %w{ eloy.de.enige@gmail.com manfred@fngtps.com }
s.executables = %w{ kicker }
s.require_paths = %w{ lib }
s.files = Dir[
'bin/kicker',
'lib/**/*.rb',
'README.rdoc',
'COPYING',
]
s.extra_rdoc_files = %w{ COPYING README.rdoc }
s.add_dependency("tidings")
end
| 26.666667 | 111 | 0.63875 |
c592cd8307251b3da2dac15741d9f9392aed9252 | 1,716 | cpp | C++ | src/main/cpp/khaiii/Preanal.cpp | thisisiron/khaiii-keras | c739c6f93198ecd9ac959a9b75c9d28d30ecb88b | [
"Apache-2.0"
] | 2 | 2018-12-01T00:36:40.000Z | 2018-12-01T00:36:44.000Z | src/main/cpp/khaiii/Preanal.cpp | thisisiron/khaiii-keras | c739c6f93198ecd9ac959a9b75c9d28d30ecb88b | [
"Apache-2.0"
] | 1 | 2019-02-20T09:25:50.000Z | 2019-02-20T09:25:50.000Z | src/main/cpp/khaiii/Preanal.cpp | thisisiron/khaiii-keras | c739c6f93198ecd9ac959a9b75c9d28d30ecb88b | [
"Apache-2.0"
] | 1 | 2018-12-10T05:33:44.000Z | 2018-12-10T05:33:44.000Z | /**
* @author Jamie (jamie.lim@kakaocorp.com)
* @copyright Copyright (C) 2018-, Kakao Corp. All rights reserved.
*/
#include "khaiii/Preanal.hpp"
//////////////
// includes //
//////////////
#include <exception>
#include "khaiii/KhaiiiApi.hpp"
#include "khaiii/Word.hpp"
namespace khaiii {
using std::exception;
using std::shared_ptr;
using std::string;
////////////////////
// static members //
////////////////////
shared_ptr<spdlog::logger> Preanal::_log = spdlog::stderr_color_mt("Preanal");
////////////////////
// ctors and dtor //
////////////////////
Preanal::~Preanal() {
close();
}
/////////////
// methods //
/////////////
void Preanal::open(string dir) {
_trie.open(dir + "/preanal.tri");
_val_mmf.open(dir + "/preanal.val");
_log->info("preanal dictionary opened");
}
void Preanal::close() {
_trie.close();
_val_mmf.close();
_log->debug("preanal dictionary closed");
}
void Preanal::apply(shared_ptr<Word> word) const {
auto matches = _trie.search_common_prefix_matches(word->wbegin, word->wlength);
int len = 0;
int idx = -1;
for (auto match = matches.rbegin(); match != matches.rend(); ++match) {
bool is_exact = match->val % 2 == 0;
if (is_exact && match->len == word->wlength) {
len = match->len;
idx = match->val / 2;
} else if (!is_exact) {
len = match->len;
idx = (match->val - 1) / 2;
}
if (len > 1 && idx >= 0) break;
}
if (len <= 0 || idx < 0) return;
const uint16_t* tag_out_start = &_val_mmf.data()[idx];
for (int i = 0; i < len; ++i) {
word->char_tags[i] = tag_out_start[i];
}
}
} // namespace khaiii
| 20.926829 | 83 | 0.539044 |
3b6fa043a5266f34e51654566a7a6494a36c5b91 | 2,120 | h | C | common/eucjis2004.h | hhorikawa/mini-tsf-ime | f937413e4c3bd5585d07c906403edfdf1c5d47ec | [
"BSD-3-Clause"
] | 1 | 2021-12-22T13:25:00.000Z | 2021-12-22T13:25:00.000Z | common/eucjis2004.h | hhorikawa/mini-tsf-ime | f937413e4c3bd5585d07c906403edfdf1c5d47ec | [
"BSD-3-Clause"
] | null | null | null | common/eucjis2004.h | hhorikawa/mini-tsf-ime | f937413e4c3bd5585d07c906403edfdf1c5d47ec | [
"BSD-3-Clause"
] | null | null | null | #pragma once
// Unicode Code PointをUTF-16へ変換
// 戻り値
// 0 : ucpがU+10FFFFより大きい
// firstまたはsecondがnullptr
// 1 : BMP内
// 2 : BMP外
// 引数
// ucp : Unicode符号位置
// first : BMPの文字または上位サロゲート
// second : 下位サロゲート
size_t UcpToWideChar(UCSCHAR ucp, PWCHAR first, PWCHAR second);
// EUC 1文字分をUnicode Code Pointへ変換
// 戻り値
// 変換に使用されたサイズ(char単位)
// 引数
// src : 変換元のEUC-JIS-2004文字列
// srcsize : 変換元のEUC-JIS-2004文字列のサイズ
// ucp1 : Unicode符号位置1つ目
// ucp2 : Unicode符号位置2つ目(結合文字がある場合、なければ0)
size_t EucJis2004ToUcp(LPCSTR src, size_t srcsize, PUCSCHAR ucp1, PUCSCHAR ucp2);
// EUC-JIS-2004をUTF-16へ変換
// 戻り値
// TRUE : 成功
// FALSE : 失敗
// 引数
// src : 変換元のEUC-JIS-2004文字列
// nullptrのとき戻り値はFALSEになる
// srcsize : nullptrのときsrcの終端NULLまで変換する
// nullptr以外のとき指定されたサイズまたはsrcの終端NULLの短いほうまで変換する
// 変換に使用されたサイズ(char単位)が戻る
// dst : 変換先のUTF-16LE文字列バッファ
// nullptrは許容される
// dstsize : dstのサイズ
// 変換結果の終端NULLを含むサイズ(wchar_t単位)が戻る
// nullptrのとき戻り値はFALSEになる
BOOL EucJis2004ToWideChar(LPCSTR src, size_t *srcsize, LPWSTR dst, size_t *dstsize);
// UTF-16をEUC-JIS-2004へ変換
// 戻り値
// TRUE : 成功
// FALSE : 失敗
// 引数
// src : 変換元のUTF-16LE文字列
// nullptrのとき戻り値はFALSEになる
// srcsize : nullptrのときsrcの終端NULLまで変換する
// nullptr以外のとき指定されたサイズまたはsrcの終端NULLの短いほうまで変換する
// 変換に使用されたサイズ(wchar_t単位)が戻る
// dst : 変換先のEUC-JIS-2004文字列バッファ
// nullptrは許容される
// dstsize : dstのサイズ
// 変換結果の終端NULLを含むサイズ(char単位)が戻る
// nullptrのとき戻り値はFALSEになる
BOOL WideCharToEucJis2004(LPCWSTR src, size_t *srcsize, LPSTR dst, size_t *dstsize);
std::string wstring_to_eucjis2004_string(const std::wstring &s);
std::wstring eucjis2004_string_to_wstring(const std::string &s);
#define WCTOEUC(w) wstring_to_eucjis2004_string(w).c_str()
#define EUCTOWC(u) eucjis2004_string_to_wstring(u).c_str()
| 33.125 | 85 | 0.608962 |
70a7d3d1c0187cbcf882247e108041f2fc37a467 | 276 | go | Go | abstract_factory_pattern/orange_factory.go | jormin/design-pattern | 869372b9d2980119e8f3a2fbedb59a3fae9bc5f4 | [
"MIT"
] | null | null | null | abstract_factory_pattern/orange_factory.go | jormin/design-pattern | 869372b9d2980119e8f3a2fbedb59a3fae9bc5f4 | [
"MIT"
] | null | null | null | abstract_factory_pattern/orange_factory.go | jormin/design-pattern | 869372b9d2980119e8f3a2fbedb59a3fae9bc5f4 | [
"MIT"
] | null | null | null | package abstract_factory_pattern
// OrangeFactory 橘子工厂
type OrangeFactory struct{}
// CreateFruit 创建水果
func (f *OrangeFactory) CreateFruit() Fruit {
return orange{}
}
// orange 橘子
type orange struct{}
// GetName 获取名称
func (a orange) GetName() string {
return "orange"
}
| 15.333333 | 45 | 0.735507 |
c01837a07f44a024563e1ddbf42d9ae9c326e908 | 1,788 | swift | Swift | AdForMerchant/AdForMerchant/Controllers/MerchantCenter/SetItemCodeViewController.swift | lieonCX/Banker-Saler | 10a2a7d063bfe57c72eb43535cfe11640428075e | [
"MIT"
] | null | null | null | AdForMerchant/AdForMerchant/Controllers/MerchantCenter/SetItemCodeViewController.swift | lieonCX/Banker-Saler | 10a2a7d063bfe57c72eb43535cfe11640428075e | [
"MIT"
] | null | null | null | AdForMerchant/AdForMerchant/Controllers/MerchantCenter/SetItemCodeViewController.swift | lieonCX/Banker-Saler | 10a2a7d063bfe57c72eb43535cfe11640428075e | [
"MIT"
] | null | null | null | //
// SetItemCodeViewController.swift
// AdForMerchant
//
// Created by lieon on 2016/10/26.
// Copyright © 2016年 Windward. All rights reserved.
//
import UIKit
class SetItemCodeViewController: ItemBaseViewController {
override var models: [AnyObject]? {
var models = [SetItemCodeViewHelpModel]()
let model0 = SetItemCodeViewHelpModel(desc: "货号标题", titleValue: "请输入货号标题")
let model1 = SetItemCodeViewHelpModel(desc: "货号", titleValue: "请输入货号")
models.append(model0)
models.append(model1)
return models
}
override var cellID: String {
return "SetItemCodeTableViewCell"
}
override func setupUI() {
super.setupUI()
tableView.register(UINib(nibName: "SetItemCodeTableViewCell", bundle: nil), forCellReuseIdentifier: cellID)
}
}
extension SetItemCodeViewController {
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
guard let cell = tableView.dequeueReusableCell(withIdentifier: cellID, for: indexPath) as? SetItemCodeTableViewCell, let modelArray = models as? [SetItemCodeViewHelpModel] else { return UITableViewCell() }
switch indexPath.row {
case 0:
cell.endEditingBlock = { [unowned self] textField, _ in
self.addItemHomeViewController.newItem.title = textField
}
case 1:
cell.endEditingBlock = { [unowned self] textField, _ in
self.addItemHomeViewController.newItem.code = textField
}
default:
break
}
if indexPath.row == modelArray.count - 1 {
cell.clipsToBounds = true
}
cell.model = modelArray[indexPath.row]
return cell
}
}
| 34.384615 | 214 | 0.652125 |
cc2ab8db092155216c7e2a386680e6a88a698e7a | 2,280 | dart | Dart | lib/GLRead/periodical/periodical.dart | AGdwChen/flutterDemo | eaed5631e999616966a72a2501f3ca14e60812a7 | [
"MIT"
] | null | null | null | lib/GLRead/periodical/periodical.dart | AGdwChen/flutterDemo | eaed5631e999616966a72a2501f3ca14e60812a7 | [
"MIT"
] | null | null | null | lib/GLRead/periodical/periodical.dart | AGdwChen/flutterDemo | eaed5631e999616966a72a2501f3ca14e60812a7 | [
"MIT"
] | null | null | null | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:glread/GLRead/periodical/per_page.dart';
import 'package:glread/GLRead/periodical/per_years.dart';
import 'package:glread/GLRead/net/glreadNetReq.dart';
class PeriodicalListPage extends StatefulWidget {
static const String routeName = '/glread/scrollable-tabs';
@override
PeriodicalListPageState createState() => new PeriodicalListPageState();
}
class PeriodicalListPageState extends State<PeriodicalListPage>
with SingleTickerProviderStateMixin {
TabController _controller;
perYearsModel yearModel;
void _yearsReq() {
var netReq = new glNetRequest();
netReq.selectYearFromNet((data) {
perYearsModel backData = perYearsModel.fromJson(data);
if (!mounted) return;
setState(() {
yearModel = backData;
});
}, errorCallback: (e) {
print(e);
});
}
@override
void initState() {
super.initState();
//
}
@override
void dispose() {
_controller.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
if (yearModel == null) {
_yearsReq();
return new CupertinoPageScaffold(
navigationBar: const CupertinoNavigationBar(
middle: Text('期刊'),
),
child: new Center(
child: const Text('加载中'),
));
} else {
if (_controller == null) {
_controller = new TabController(
vsync: this, length: yearModel.data.resultData.length);
}
return new Scaffold(
appBar: new AppBar(
title: const Text('期刊'),
centerTitle: true,
// backgroundColor: Colors.white,
bottom: new TabBar(
controller: _controller,
isScrollable: true,
indicator: const UnderlineTabIndicator(),
tabs: yearModel.data.resultData
.map((String value) => new Tab(text: value))
.toList(),
),
),
body: new TabBarView(
controller: _controller,
children: yearModel.data.resultData.map((String year) {
return new PerPage(year: year, ossPath: yearModel.data.osspath);
}).toList()),
);
}
}
}
| 27.46988 | 78 | 0.613158 |
866ad577520d11337e2733d203a4dd20089f4ef6 | 528 | go | Go | option/op.go | honkkki/go-practice | 9a53ba7324f2cd19028fdc4bb574c622d7c54f7a | [
"MIT"
] | null | null | null | option/op.go | honkkki/go-practice | 9a53ba7324f2cd19028fdc4bb574c622d7c54f7a | [
"MIT"
] | null | null | null | option/op.go | honkkki/go-practice | 9a53ba7324f2cd19028fdc4bb574c622d7c54f7a | [
"MIT"
] | 2 | 2022-01-09T15:06:27.000Z | 2022-01-23T09:37:36.000Z | package main
import "fmt"
type Conn struct {
id int
timeout int
name string
}
type Option func(conn *Conn)
func WithName(name string) Option {
return func(conn *Conn) {
conn.name = name
}
}
func WithTimeout(timeout int) Option {
return func(conn *Conn) {
conn.timeout = timeout
}
}
func NewConn(id int, option ...Option) *Conn {
conn := &Conn{id: id}
for _, op := range option {
op(conn)
}
return conn
}
func main() {
c := NewConn(1, WithName("tcp"), WithTimeout(10))
fmt.Printf("%+v\n", c)
}
| 13.894737 | 50 | 0.636364 |
acb0ee1b25314f41a58dcf789c42a5f8448b986a | 689 | cpp | C++ | PracticePtrs/main.cpp | mcelis13/C_exercises | 0ea4acd3cdee49a33fa0ecfacb534abc107f4d6c | [
"MIT"
] | null | null | null | PracticePtrs/main.cpp | mcelis13/C_exercises | 0ea4acd3cdee49a33fa0ecfacb534abc107f4d6c | [
"MIT"
] | null | null | null | PracticePtrs/main.cpp | mcelis13/C_exercises | 0ea4acd3cdee49a33fa0ecfacb534abc107f4d6c | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int NewBackpack = 4;
int OldBackpack = 2;
int *ptr;
cout << "Welcome to the Backpack Mart! We are here to aid you in your quest to buy a brand new backpack!"
cout << "Number of pockets in New Backpack " << NewBackpack << endl;
cout << "Compared it to the number of pockets your Old Backpack had which was just " << OldBackpack << "!" << endl;
ptr = &NewBackpack;
*ptr = 2;
cout << "I was wrong the New Backpack actually has " << NewBackpack << "pockets." << endl;
*ptr = 5;
cout << "Just kidding your New Backpack doesn't have 4 pockets it actually has " << NewBackpack << "" endl;
}
| 28.708333 | 119 | 0.634253 |
86ef8f4f432fd1c686e8fb291b84d744abaa4574 | 436 | go | Go | metrics/metrics.go | Shopify/goose | 9736a90186d0c2feedbff96fae0202a7fefb314b | [
"MIT"
] | 60 | 2018-12-07T01:17:00.000Z | 2022-02-24T20:27:14.000Z | metrics/metrics.go | Shopify/goose | 9736a90186d0c2feedbff96fae0202a7fefb314b | [
"MIT"
] | 39 | 2019-02-19T15:16:21.000Z | 2022-02-28T12:05:10.000Z | metrics/metrics.go | Shopify/goose | 9736a90186d0c2feedbff96fae0202a7fefb314b | [
"MIT"
] | 7 | 2019-01-28T03:50:21.000Z | 2022-03-18T08:07:24.000Z | package metrics
import (
"github.com/Shopify/goose/statsd"
)
// Note that statsd's default backend is the nullBackend, which doesn't do anything.
// For these metrics to work, use statsd.SetBackend.
var (
GenMainRun = &statsd.Timer{Name: "genmain.run"}
GenMainShutdown = &statsd.Timer{Name: "genmain.shutdown"}
HTTPRequest = &statsd.Timer{Name: "http.request"}
ShellCommandRun = &statsd.Timer{Name: "shell.command.run"}
)
| 25.647059 | 84 | 0.729358 |
28cd2255d803db851c83c2ad73da4ce449701c8f | 9,330 | ps1 | PowerShell | psake.ps1 | markekraus/1.1.1.1 | 0fb782172e1c281a047b9052a30926e889d65e70 | [
"MIT"
] | 4 | 2018-03-31T01:26:19.000Z | 2018-04-23T13:43:11.000Z | psake.ps1 | markekraus/MVP.PSGitHub | aed4c97a79a8d04b655a2b2a4e520643da39e2f9 | [
"MIT"
] | null | null | null | psake.ps1 | markekraus/MVP.PSGitHub | aed4c97a79a8d04b655a2b2a4e520643da39e2f9 | [
"MIT"
] | null | null | null | # PSake makes variables declared here available in other scriptblocks
# Init some things
Properties {
# Find the build folder based on build system
$ProjectRoot = $ENV:BHProjectPath
if (-not $ProjectRoot) {
$ProjectRoot = $PSScriptRoot
}
$ModuleFolder = $ENV:BHModulePath
$ModuleName = $ENV:BHProjectName
$DestinationManifest = Join-Path $ENV:BHBuildOutput "$ModuleName.psd1"
$SourceModuleRoot = Join-Path $ENV:BHModulePath "$ModuleName.psm1"
$DestinationRootModule = Join-Path $ENV:BHBuildOutput "$ModuleName.psm1"
$DestinationFolder = $ENV:BHBuildOutput
If (-not $ModuleName) {
$ModuleName = Split-Path -Path $ModuleFolder -Leaf
}
$PSVersion = $PSVersionTable.PSVersion.Major
$TestFile = "TestResults_PS$PSVersion`_$TimeStamp.xml"
$lines = '----------------------------------------------------------------------'
$Verbose = @{ }
if ($ENV:BHCommitMessage -match "!verbose") {
$Verbose = @{ Verbose = $True }
}
$CurrentVersion = [version](Get-Metadata -Path $env:BHPSModuleManifest)
$BuildVersion = [version]::New($CurrentVersion.Major, $CurrentVersion.Minor, ($CurrentVersion.Build + 1), ($CurrentVersion.Revision + 1))
if ($ENV:BHBranchName -eq "master") {
$BuildVersion = [version]::New($CurrentVersion.Major, $CurrentVersion.Minor, ($CurrentVersion.Build + 1))
}
$GalleryVersion = Get-NextNugetPackageVersion -Name $ModuleName
if ($BuildVersion -lt $GalleryVersion) {
$BuildVersion = $GalleryVersion
}
If ($ENV:BHBranchName -eq "master" -and $ENV:BHCommitMessage -match '!deploy') {
$BuildVersion = [version]::New($CurrentVersion.Major, ($CurrentVersion.Minor + 1), 0)
if (
$CurrentVersion.Minor -eq 0 -and
$CurrentVersion.Build -eq 0
) {
#This is a major version release, don't molest the the version
$BuildVersion = $CurrentVersion
}
If ($GalleryVersion -gt $BuildVersion) {
$BuildVersion = $GalleryVersion
}
}
$BuildDate = Get-Date -uFormat '%Y-%m-%d'
$CodeCoverageExclude = @()
$DocsFolder = Join-Path $ProjectRoot "Docs"
$TestsFolder = Join-Path $ProjectRoot "Tests"
}
Task Default -Depends Init, Build, Test, BuildDocs, TestDocs, Deploy
Task Init {
$lines
Set-Location $ProjectRoot
"Build System Details:"
Get-Item ENV:BH* | Format-Table -aut | Out-String
"Current Version: $CurrentVersion`n"
"Build Version: $BuildVersion`n"
}
Task Build -Depends Init {
$lines
New-Item -ItemType Directory -Path $DestinationFolder -Force -ErrorAction SilentlyContinue
Copy-Item $ENV:BHPSModuleManifest $DestinationManifest -Force
Copy-Item "$ModuleFolder\Configuration.psd1" "$DestinationFolder\Configuration.psd1" -Force -ErrorAction SilentlyContinue
# Bump the module version
"Updating Module version to $BuildVersion"
Update-Metadata -Path $DestinationManifest -PropertyName ModuleVersion -Value $BuildVersion
if (Test-Path "$ModuleFolder\Public\") {
"Populating AliasesToExport and FunctionsToExport"
$FunctionFiles = Get-ChildItem "$ModuleFolder\Public\" -Filter '*.ps1' -Recurse |
Where-Object { $_.Name -notmatch '\.tests{0,1}\.ps1' }
$ExportFunctions = [System.Collections.Generic.List[String]]::new()
$ExportAliases = [System.Collections.Generic.List[String]]::new()
foreach ($FunctionFile in $FunctionFiles) {
"- Processing $($FunctionFile.FullName)"
$AST = [System.Management.Automation.Language.Parser]::ParseFile($FunctionFile.FullName, [ref]$null, [ref]$null)
$Functions = $AST.FindAll( {
$args[0] -is [System.Management.Automation.Language.FunctionDefinitionAst]
}, $true)
if ($Functions.Name) {
$ExportFunctions.Add($Functions.Name)
}
$Aliases = $AST.FindAll( {
$args[0] -is [System.Management.Automation.Language.AttributeAst] -and
$args[0].parent -is [System.Management.Automation.Language.ParamBlockAst] -and
$args[0].TypeName.FullName -eq 'alias'
}, $true)
if ($Aliases.PositionalArguments.value) {
$ExportAliases.Add($Aliases.PositionalArguments.value)
}
}
"- Running Update-MetaData -Path $DestinationManifest -PropertyName FunctionsToExport -Value : `r`n - {0}" -f ($ExportFunctions -Join "`r`n - ")
Update-MetaData -Path $DestinationManifest -PropertyName FunctionsToExport -Value $ExportFunctions
"- Update-Metadata -Path $DestinationManifest -PropertyName AliasesToExport -Value : `r`n - {0}" -f ($ExportAliases -Join "`r`n - ")
Update-Metadata -Path $DestinationManifest -PropertyName AliasesToExport -Value $ExportAliases
} Else {
"$ModuleFolder\Public\ not found. No public functions to import"
}
"Populating $DestinationRootModule"
# Scan the Enums, Classes,Public, and Private folders and add
# all files contents to $DestinationRootModule
$Params = @{
Path = @(
"$ModuleFolder\Enums\"
"$ModuleFolder\Classes\"
"$ModuleFolder\Public\"
"$ModuleFolder\Private\"
)
Filter = '*.ps1'
Recurse = $true
ErrorAction = 'SilentlyContinue'
}
Get-ChildItem @Params |
Where-Object { $_.Name -notmatch '\.tests{0,1}\.ps1' } |
Get-Content |
Set-Content -Path $DestinationRootModule -Encoding UTF8
# Add Content of src psm1 to the end of the destination psm1
Get-Content $SourceModuleRoot | Add-Content -Path $DestinationRootModule -Encoding UTF8
}
Task Test -depends Init {
$lines
"`n`tSTATUS: Testing with PowerShell $PSVersion"
# Gather test results. Store them in a variable and file
$Timestamp = Get-date -uformat "%Y%m%d-%H%M%S"
$TestFile = "TestResults_PS$PSVersion`_$TimeStamp.xml"
$Params = @{
Script = "$ProjectRoot\Tests"
PassThru = $true
OutputFormat = 'NUnitXml'
OutputFile = "$ProjectRoot\bin\$TestFile"
Tag = 'Unit'
Show = 'Fails'
CodeCoverage = $DestinationRootModule
}
$TestResults = Invoke-Pester @Params
# In Appveyor? Upload our tests! #Abstract this into a function?
If ($ENV:BHBuildSystem -eq 'AppVeyor') {
"Uploading $ProjectRoot\bin\$TestFile to AppVeyor"
"JobID: $env:APPVEYOR_JOB_ID"
(New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path "$ProjectRoot\bin\$TestFile"))
}
Remove-Item "$ProjectRoot\bin\$TestFile" -Force -ErrorAction SilentlyContinue
" "
}
Task BuildDocs -depends Init, Build {
$lines
Import-Module $DestinationManifest -Force -Global
$Params = @{
Module = $ModuleName
ErrorAction = 'SilentlyContinue'
AlphabeticParamsOrder = $true
WithModulePage = $true
OutputFolder = $DocsFolder
}
New-MarkdownHelp @Params
$Params = @{
Path = $DocsFolder
RefreshModulePage = $true
AlphabeticParamsOrder = $true
}
Update-MarkdownHelpModule @Params
$Params = @{
Path = $DocsFolder
Force = $true
OutputPath = $DestinationFolder
}
New-ExternalHelp @Params
"`n"
}
Task TestDocs -depends Init {
$lines
"Running Documentation tests`n"
$Timestamp = Get-date -uformat "%Y%m%d-%H%M%S"
$TestFile = "TestResults_PS$PSVersion`_$TimeStamp.xml"
$Params = @{
Script = "$ProjectRoot\Tests"
PassThru = $true
Tag = 'Documentation'
OutputFormat = 'NUnitXml'
OutputFile = "$ProjectRoot\bin\$TestFile"
Show = 'Fails'
}
$TestResults = Invoke-Pester @Params
" "
If ($ENV:BHBuildSystem -eq 'AppVeyor') {
"Uploading $ProjectRoot\bin\$TestFile to AppVeyor"
"JobID: $env:APPVEYOR_JOB_ID"
(New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path "$ProjectRoot\bin\$TestFile"))
}
Remove-Item "$ProjectRoot\bin\$TestFile" -Force -ErrorAction SilentlyContinue
" "
}
Task Deploy -depends Init {
$lines
# Gate deployment
if (
$ENV:BHBuildSystem -ne 'Unknown' -and
$ENV:BHBranchName -eq "master" -and
$ENV:BHCommitMessage -match '!deploy'
) {
Import-Module -Force -Global $DestinationFolder
$Params = @{
Path = $ProjectRoot
Force = $true
}
Invoke-PSDeploy @Verbose @Params
} else {
"Skipping deployment: To deploy, ensure that...`n" +
"`t* You are in a known build system (Current: $ENV:BHBuildSystem)`n" +
"`t* You are committing to the master branch (Current: $ENV:BHBranchName) `n" +
"`t* Your commit message includes !deploy (Current: $ENV:BHCommitMessage)"
}
"`n"
}
Task Clean {
Remove-Item "$ENV:BHBinDir\*" -Recurse -Force -Confirm:$false
}
| 39.367089 | 172 | 0.622079 |
4962539606cd40cf3e1d8b9020aa33468b35e47f | 281 | dart | Dart | packages/flame_test/test/expect_double_test.dart | Sproute777/flame | 2058b05b3e88b6d055f066245225a810ac34d9a0 | [
"MIT"
] | 5,173 | 2019-06-09T14:54:27.000Z | 2022-03-31T19:56:08.000Z | packages/flame_test/test/expect_double_test.dart | Sproute777/flame | 2058b05b3e88b6d055f066245225a810ac34d9a0 | [
"MIT"
] | 797 | 2019-06-09T16:50:16.000Z | 2022-03-31T21:40:34.000Z | packages/flame_test/test/expect_double_test.dart | Sproute777/flame | 2058b05b3e88b6d055f066245225a810ac34d9a0 | [
"MIT"
] | 555 | 2019-06-10T09:00:06.000Z | 2022-03-31T12:29:55.000Z | import 'package:flame_test/flame_test.dart';
import 'package:test/test.dart';
void main() {
group('expectDouble', () {
test('can test double', () {
const one = 1.0;
expectDouble(one + 1.0, 2.0);
expectDouble(one + 1.1, 2.0, epsilon: 0.11);
});
});
}
| 21.615385 | 50 | 0.576512 |
b39d5352c8e32a0ba3daa71ad5fa4a8bcacc24a4 | 8,306 | sql | SQL | roles/apnscp/initialize-db/files/mysql/apnscp.sql | apisnetworks/apnscp-playbooks | f31a1eacb18571c22194d4c7baa89763fd45bf57 | [
"MIT"
] | 8 | 2018-04-18T06:42:55.000Z | 2019-12-19T13:11:16.000Z | roles/apnscp/initialize-db/files/mysql/apnscp.sql | apisnetworks/apnscp-playbooks | f31a1eacb18571c22194d4c7baa89763fd45bf57 | [
"MIT"
] | null | null | null | roles/apnscp/initialize-db/files/mysql/apnscp.sql | apisnetworks/apnscp-playbooks | f31a1eacb18571c22194d4c7baa89763fd45bf57 | [
"MIT"
] | 3 | 2021-02-15T08:40:27.000Z | 2021-08-21T19:08:57.000Z | -- MySQL dump 10.16 Distrib 10.1.25-MariaDB, for Linux (x86_64)
--
-- Host: localhost Database: apnscp_esprit
-- ------------------------------------------------------
-- Server version 10.1.25-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `api_keys`
--
DROP TABLE IF EXISTS `api_keys`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `api_keys` (
`api_key` char(64) NOT NULL,
`username` varchar(32) NOT NULL DEFAULT '',
`domain` varchar(52) DEFAULT NULL,
`site_id` int(3) NULL DEFAULT NULL,
`server_name` varchar(16) DEFAULT NULL,
`invoice` varchar(34) DEFAULT NULL COMMENT '+4 chars to support resellers',
`last_used` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`api_key`),
KEY `soap_keys_index1731` (`username`,`domain`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `dav_locks`
--
DROP TABLE IF EXISTS `dav_locks`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `dav_locks` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`owner` varchar(100) DEFAULT NULL,
`timeout` int(10) unsigned DEFAULT NULL,
`created` int(11) DEFAULT NULL,
`token` varbinary(100) DEFAULT NULL,
`scope` tinyint(4) DEFAULT NULL,
`depth` tinyint(4) DEFAULT NULL,
`uri` varbinary(1000) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `token` (`token`),
KEY `uri` (`uri`(100))
) ENGINE=InnoDB AUTO_INCREMENT=127 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `dav_propertystorage`
--
DROP TABLE IF EXISTS `dav_propertystorage`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `dav_propertystorage` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`path` varbinary(1024) NOT NULL,
`name` varbinary(100) NOT NULL,
`valuetype` int(10) unsigned DEFAULT NULL,
`value` mediumblob,
PRIMARY KEY (`id`),
UNIQUE KEY `path_property` (`path`(600),`name`)
) ENGINE=InnoDB AUTO_INCREMENT=3410 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `info_requests`
--
DROP TABLE IF EXISTS `info_requests`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `info_requests` (
`ip` int(10) unsigned NOT NULL,
`class` enum('password','username','email') NOT NULL,
`challenge` char(40) DEFAULT NULL,
`site_id` int(3) NOT NULL,
`domain` varchar(52) NOT NULL,
`username` varchar(32) DEFAULT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
KEY `timestamp` (`timestamp`),
KEY `timestamp_2` (`timestamp`),
KEY `challenge` (`challenge`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `login_log`
--
DROP TABLE IF EXISTS `login_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `login_log` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`ip` int(10) unsigned NOT NULL DEFAULT '0',
`login_date` timestamp NULL DEFAULT NULL,
`domain` varchar(52) DEFAULT NULL,
`username` varchar(32) NOT NULL DEFAULT '',
`invoice` char(64) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `login_log_index1740` (`login_date`),
KEY `login_log_index1739` (`domain`,`username`),
KEY `username` (`username`,`domain`),
KEY `invoice` (`invoice`)
) ENGINE=MyISAM AUTO_INCREMENT=275083 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `page_behavior`
--
DROP TABLE IF EXISTS `page_behavior`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `page_behavior` (
`behavior_id` int(10) NOT NULL AUTO_INCREMENT,
`page_id` int(5) NOT NULL,
`func_id` int(10) DEFAULT NULL,
`session_id` varchar(32) DEFAULT NULL,
`postback` tinyint(1) NOT NULL DEFAULT '0',
`ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`behavior_id`),
KEY `session_id` (`session_id`)
) ENGINE=MyISAM AUTO_INCREMENT=48652 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `page_functions`
--
DROP TABLE IF EXISTS `page_functions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `page_functions` (
`behavior_id` int(10) NOT NULL,
`func_order` int(5) NOT NULL,
`function` varchar(32) NOT NULL,
KEY `behavior_id` (`behavior_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `pages`
--
DROP TABLE IF EXISTS `pages`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pages` (
`page_id` int(10) NOT NULL AUTO_INCREMENT,
`page_name` varchar(24) NOT NULL,
PRIMARY KEY (`page_id`),
UNIQUE KEY `page_name` (`page_name`)
) ENGINE=MyISAM AUTO_INCREMENT=112 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `quota_tracker`
--
DROP TABLE IF EXISTS `quota_tracker`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `quota_tracker` (
`ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`uid` char(8) NOT NULL DEFAULT '',
`quota` int(8) unsigned NOT NULL DEFAULT '0',
UNIQUE KEY `qt_idx` (`uid`,`ts`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `session_information`
--
DROP TABLE IF EXISTS `session_information`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `session_information` (
`session_id` char(32) NOT NULL DEFAULT '',
`domain` varchar(52) DEFAULT NULL,
`username` char(32) DEFAULT NULL,
`password` varchar(32) DEFAULT '',
`level` tinyint(2) unsigned NOT NULL DEFAULT '0',
`login_ts` datetime DEFAULT NULL,
`last_action` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`session_data` longblob,
`user_id` int(5) DEFAULT NULL,
`group_id` int(5) DEFAULT NULL,
`site_number` int(3) DEFAULT NULL,
`login_method` enum('http','soap','dav','cli') NOT NULL DEFAULT 'http',
`auto_logout` tinyint(1) DEFAULT '1',
PRIMARY KEY (`session_id`),
KEY `la_idx` (`last_action`),
KEY `lookup_by_site` (`site_number`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `sql_dumps`
--
DROP TABLE IF EXISTS `sql_dumps`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sql_dumps` (
`site_id` int(3) NOT NULL DEFAULT '0',
`db_type` enum('mysql','pgsql') NOT NULL,
`db_name` varchar(50) NOT NULL,
`day_span` int(3) unsigned NOT NULL,
`extension` enum('gz','bz','zip','none') NOT NULL,
`next_date` date DEFAULT NULL,
`email` varchar(50) DEFAULT NULL,
`preserve` tinyint(3) DEFAULT '0',
PRIMARY KEY (`site_id`,`db_type`,`db_name`),
KEY `date` (`next_date`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dump completed on 2017-08-07 2:10:11
| 35.344681 | 89 | 0.707922 |
5fe1f14a06fc8d895eeb01cc6926a9042faae968 | 3,728 | c | C | infer/tests/codetoanalyze/c/bufferoverrun/models.c | quangdo3112/infer | 846d6fa23dbe3eb24ffa76e117424620a8754e70 | [
"MIT"
] | null | null | null | infer/tests/codetoanalyze/c/bufferoverrun/models.c | quangdo3112/infer | 846d6fa23dbe3eb24ffa76e117424620a8754e70 | [
"MIT"
] | null | null | null | infer/tests/codetoanalyze/c/bufferoverrun/models.c | quangdo3112/infer | 846d6fa23dbe3eb24ffa76e117424620a8754e70 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <stdio.h>
#include <stdlib.h>
void exit_bo_good_unreachable_bad() {
int arr[1];
exit(1);
// unreachable so no buffer overrun
arr[42] = 42;
}
void fgetc_m1_bad(FILE* f) {
int arr[10000];
int c = fgetc(f);
arr[c] = 42;
}
void fgetc_255_bad(FILE* f) {
int arr[255];
int c = fgetc(f);
if (c >= 0) {
arr[c] = 42;
}
}
void fgetc_256_good(FILE* f) {
int arr[256];
int c = fgetc(f);
if (c >= 0) {
arr[c] = 42;
}
}
void fgetc_256_bad(FILE* f) {
int arr[256];
int c = fgetc(f);
arr[c + 1] = 42;
}
void fgetc_257_good(FILE* f) {
int arr[257];
int c = fgetc(f);
arr[c + 1] = 42;
}
void memcpy_bad1() {
int arr1[10];
int arr2[20];
memcpy(arr1, arr2, 44);
}
void memcpy_bad2() {
int arr1[10];
int arr2[20];
memcpy(arr2, arr1, 44);
}
void memcpy_bad3() {
int arr1[10];
int arr2[20];
memcpy(arr1, arr2, -1);
}
void memcpy_bad4() {
int src[1];
int buff[1];
int* dst = &buff[0];
memcpy(dst, src, sizeof(dst));
}
void memcpy_good1() {
int arr1[10];
int arr2[20];
memcpy(arr2, arr1, 40);
}
void memcpy_good2() {
int arr1[10];
int arr2[20];
memcpy(arr2, arr1, 0);
}
void memcpy_good3() {
int arr1[10];
int arr2[20];
memcpy(arr2, arr1, 20);
}
void memcpy_good4() {
int src[3];
int dst[3];
memcpy(dst, src, sizeof(dst));
}
void memcpy_len(size_t len) {
char dst[len];
char src[len];
memcpy(dst, src, len);
}
void call_memcpy_len1_Good() { memcpy_len(40); }
extern size_t unknown_uint();
void call_memcpy_len2_Good_FP() {
size_t x = unknown();
memcpy_len(x);
}
void memmove_bad1() {
int arr1[10];
int arr2[20];
memmove(arr1, arr2, 44);
}
void memmove_bad2() {
int arr1[10];
int arr2[20];
memmove(arr2, arr1, 44);
}
void memmove_bad3() {
int arr1[10];
int arr2[20];
memmove(arr1, arr2, -1);
}
void memmove_bad4() {
int src[1];
int buff[1];
int* dst = &buff[0];
memmove(dst, src, sizeof(dst));
}
void memmove_good1() {
int arr1[10];
int arr2[20];
memmove(arr2, arr1, 40);
}
void memmove_good2() {
int arr1[10];
int arr2[20];
memmove(arr2, arr1, 0);
}
void memmove_good3() {
int arr1[10];
int arr2[20];
memmove(arr2, arr1, 20);
}
void memmove_good4() {
int src[3];
int dst[3];
memmove(dst, src, sizeof(dst));
}
void memset_bad1() {
int arr[10];
memset(arr, 0, 44);
}
void memset_bad2() {
int arr[10];
memset(arr, 0, -1);
}
void memset_bad3() {
int arr[1];
int* dst = &arr[0];
memset(dst, 0, sizeof(dst));
}
void memset_good1() {
int arr[10];
memset(arr, 0, 40);
}
void memset_good2() {
int arr[10];
memset(arr, 0, 0);
}
void memset_good3() {
int arr[10];
memset(arr, 0, 20);
}
void memset_good4() {
int arr[10];
memset(arr, 0, sizeof(arr));
}
void strncpy_bad1() {
int arr1[10];
int arr2[20];
strncpy(arr1, arr2, 44);
}
void strncpy_bad2() {
int arr1[10];
int arr2[20];
strncpy(arr2, arr1, 44);
}
void strncpy_bad3() {
int arr1[10];
int arr2[20];
strncpy(arr1, arr2, -1);
}
void strncpy_bad4() {
int src[1];
int buff[1];
int* dst = &buff[0];
strncpy(dst, src, sizeof(dst));
}
void strncpy_good1() {
int arr1[10];
int arr2[20];
strncpy(arr2, arr1, 40);
}
void strncpy_good2() {
int arr1[10];
int arr2[20];
strncpy(arr2, arr1, 0);
}
void strncpy_good3() {
int arr1[10];
int arr2[20];
strncpy(arr2, arr1, 20);
}
void strncpy_good4() {
int src[3];
int dst[3];
strncpy(dst, src, sizeof(dst));
}
void strncpy_good5_FP() {
char src[5] = "test";
char dst[5];
strncpy(dst, src, 10);
}
| 14.677165 | 66 | 0.599785 |
266573d566af0dedee5759b3add084aef3cc169d | 344 | java | Java | app/src/main/java/com/deimian86/verdurasdetemporada/utils/bus/MessageEventPescado.java | deimian86/VerdurasdeTemporada | 8c077e9b076285602121747e15795159052320d0 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/deimian86/verdurasdetemporada/utils/bus/MessageEventPescado.java | deimian86/VerdurasdeTemporada | 8c077e9b076285602121747e15795159052320d0 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/deimian86/verdurasdetemporada/utils/bus/MessageEventPescado.java | deimian86/VerdurasdeTemporada | 8c077e9b076285602121747e15795159052320d0 | [
"Apache-2.0"
] | null | null | null | package com.deimian86.verdurasdetemporada.utils.bus;
import com.deimian86.verdurasdetemporada.entities.pescados.Pescado;
public class MessageEventPescado {
private Pescado pescado;
public MessageEventPescado(Pescado pescado) {
this.pescado = pescado;
}
public Pescado getPescado() {
return pescado;
}
} | 20.235294 | 67 | 0.726744 |
37101ca205fcefbacf6820ba0e9d924326ac7cd3 | 49,086 | asm | Assembly | P6/data_P6/testpoint/testpoint41.asm | alxzzhou/BUAA_CO_2020 | b54bf367081a5a11701ebc3fc78a23494aecca9e | [
"Apache-2.0"
] | 1 | 2022-01-23T09:24:47.000Z | 2022-01-23T09:24:47.000Z | P6/data_P6/testpoint/testpoint41.asm | alxzzhou/BUAA_CO_2020 | b54bf367081a5a11701ebc3fc78a23494aecca9e | [
"Apache-2.0"
] | null | null | null | P6/data_P6/testpoint/testpoint41.asm | alxzzhou/BUAA_CO_2020 | b54bf367081a5a11701ebc3fc78a23494aecca9e | [
"Apache-2.0"
] | null | null | null | ori $1, $0, 8
ori $2, $0, 2
ori $3, $0, 12
ori $4, $0, 2
sw $3, 0($0)
sw $1, 4($0)
sw $4, 8($0)
sw $1, 12($0)
sw $2, 16($0)
sw $2, 20($0)
sw $2, 24($0)
sw $4, 28($0)
sw $4, 32($0)
sw $1, 36($0)
sw $3, 40($0)
sw $4, 44($0)
sw $1, 48($0)
sw $1, 52($0)
sw $1, 56($0)
sw $1, 60($0)
sw $1, 64($0)
sw $4, 68($0)
sw $3, 72($0)
sw $4, 76($0)
sw $3, 80($0)
sw $4, 84($0)
sw $2, 88($0)
sw $1, 92($0)
sw $3, 96($0)
sw $4, 100($0)
sw $2, 104($0)
sw $3, 108($0)
sw $3, 112($0)
sw $3, 116($0)
sw $3, 120($0)
sw $2, 124($0)
xor $2, $2, $2
mult $2, $2
bgtz $2, TAG1
sw $2, 0($2)
TAG1:
mtlo $2
andi $3, $2, 0
mflo $1
bltz $1, TAG2
TAG2:
addiu $4, $1, 15
mthi $4
lui $3, 14
srlv $4, $1, $3
TAG3:
srlv $1, $4, $4
mthi $4
mthi $4
sh $4, 0($4)
TAG4:
sra $3, $1, 15
sh $1, 0($3)
lui $4, 14
bltz $4, TAG5
TAG5:
lui $1, 7
srav $2, $4, $4
subu $4, $1, $1
or $4, $4, $4
TAG6:
bgtz $4, TAG7
lui $1, 0
subu $1, $4, $4
mtlo $4
TAG7:
srlv $4, $1, $1
lh $1, 0($1)
lui $4, 8
multu $1, $1
TAG8:
mthi $4
ori $1, $4, 9
bltz $1, TAG9
mthi $4
TAG9:
bne $1, $1, TAG10
mtlo $1
div $1, $1
slti $1, $1, 3
TAG10:
lui $2, 13
beq $1, $1, TAG11
lb $1, 0($1)
beq $1, $1, TAG11
TAG11:
sb $1, 0($1)
mtlo $1
and $1, $1, $1
bne $1, $1, TAG12
TAG12:
srl $1, $1, 8
mfhi $2
beq $2, $2, TAG13
addi $4, $1, 8
TAG13:
addu $3, $4, $4
lui $4, 5
ori $2, $4, 8
bne $4, $4, TAG14
TAG14:
lui $4, 12
sll $0, $0, 0
div $2, $2
sltiu $4, $4, 2
TAG15:
bne $4, $4, TAG16
sw $4, 0($4)
mthi $4
mfhi $2
TAG16:
srlv $1, $2, $2
sb $2, 0($1)
sll $4, $1, 2
mult $1, $2
TAG17:
bgez $4, TAG18
multu $4, $4
divu $4, $4
blez $4, TAG18
TAG18:
xor $3, $4, $4
lui $4, 3
sll $1, $4, 5
mthi $4
TAG19:
ori $1, $1, 11
lui $2, 14
bne $1, $1, TAG20
lui $1, 5
TAG20:
lui $4, 0
sll $0, $0, 0
sll $0, $0, 0
sltu $4, $3, $1
TAG21:
mthi $4
bne $4, $4, TAG22
multu $4, $4
mflo $2
TAG22:
beq $2, $2, TAG23
sb $2, 0($2)
sw $2, 0($2)
mflo $2
TAG23:
mtlo $2
mtlo $2
sb $2, 0($2)
lui $1, 13
TAG24:
sll $1, $1, 13
sll $0, $0, 0
mflo $2
lui $3, 0
TAG25:
mthi $3
lb $1, 0($3)
sra $4, $1, 4
sw $1, 0($3)
TAG26:
sra $3, $4, 9
lhu $2, 0($4)
beq $3, $4, TAG27
sll $1, $3, 13
TAG27:
bne $1, $1, TAG28
mult $1, $1
lui $2, 13
lui $2, 15
TAG28:
bgtz $2, TAG29
mthi $2
sw $2, 0($2)
sltiu $1, $2, 11
TAG29:
lui $2, 0
mthi $2
lw $4, 0($2)
blez $1, TAG30
TAG30:
sh $4, 0($4)
beq $4, $4, TAG31
mthi $4
add $2, $4, $4
TAG31:
mthi $2
multu $2, $2
lw $1, 0($2)
lbu $2, 0($2)
TAG32:
mflo $2
mfhi $2
sllv $1, $2, $2
sw $1, 0($2)
TAG33:
lbu $1, 0($1)
lbu $3, 0($1)
subu $1, $3, $3
lw $4, 0($1)
TAG34:
addi $3, $4, 9
mthi $3
lui $3, 12
sb $4, 0($4)
TAG35:
mflo $4
multu $4, $4
sw $3, 0($4)
sll $0, $0, 0
TAG36:
mtlo $1
lui $1, 9
bne $1, $1, TAG37
divu $1, $1
TAG37:
mtlo $1
sll $0, $0, 0
lui $1, 2
bne $1, $1, TAG38
TAG38:
mflo $3
mthi $1
mthi $3
mflo $3
TAG39:
bne $3, $3, TAG40
mthi $3
andi $2, $3, 13
mtlo $2
TAG40:
bne $2, $2, TAG41
mflo $3
and $3, $2, $2
sb $3, 0($3)
TAG41:
lui $2, 0
bgez $2, TAG42
mthi $2
xor $4, $2, $2
TAG42:
lhu $3, 0($4)
sh $4, 0($4)
multu $4, $3
bltz $4, TAG43
TAG43:
sw $3, 0($3)
srav $1, $3, $3
mult $1, $3
xori $3, $3, 12
TAG44:
srlv $2, $3, $3
mthi $3
and $1, $2, $3
lui $3, 10
TAG45:
srlv $1, $3, $3
subu $2, $3, $3
lui $2, 11
bgtz $2, TAG46
TAG46:
sll $0, $0, 0
mthi $2
xori $2, $2, 7
lui $4, 9
TAG47:
addu $3, $4, $4
lui $1, 1
bne $4, $3, TAG48
ori $3, $3, 10
TAG48:
mtlo $3
lui $3, 6
nor $4, $3, $3
div $4, $3
TAG49:
sll $0, $0, 0
mult $4, $4
bgtz $3, TAG50
xori $4, $4, 11
TAG50:
div $4, $4
lui $2, 0
lui $1, 3
sll $0, $0, 0
TAG51:
sw $2, 0($2)
bne $2, $2, TAG52
mult $2, $2
lui $4, 1
TAG52:
sll $0, $0, 0
sll $0, $0, 0
sll $0, $0, 0
mthi $4
TAG53:
andi $3, $4, 5
andi $3, $3, 6
mthi $3
mthi $3
TAG54:
multu $3, $3
lui $2, 8
bgez $2, TAG55
mflo $4
TAG55:
bltz $4, TAG56
multu $4, $4
mflo $2
sw $4, 0($4)
TAG56:
bne $2, $2, TAG57
lui $4, 12
mflo $2
srav $1, $2, $2
TAG57:
lb $4, 0($1)
bgez $1, TAG58
lh $4, 0($1)
lbu $3, 0($4)
TAG58:
lw $1, 0($3)
sllv $3, $3, $1
xor $2, $3, $3
mtlo $3
TAG59:
lui $4, 10
lui $4, 7
div $4, $4
sw $4, 0($2)
TAG60:
div $4, $4
mfhi $3
mflo $2
sll $0, $0, 0
TAG61:
bgtz $3, TAG62
add $4, $3, $3
xori $2, $3, 5
sltu $4, $3, $2
TAG62:
srl $4, $4, 13
andi $1, $4, 4
sltiu $4, $4, 14
bne $4, $4, TAG63
TAG63:
lbu $2, 0($4)
lui $2, 9
srl $3, $2, 12
beq $2, $2, TAG64
TAG64:
lui $1, 1
lui $3, 3
mthi $3
beq $1, $3, TAG65
TAG65:
mflo $2
xori $3, $3, 0
sllv $1, $3, $3
sb $3, 0($2)
TAG66:
bgtz $1, TAG67
lui $4, 13
mflo $4
mfhi $1
TAG67:
bne $1, $1, TAG68
sll $0, $0, 0
mfhi $3
blez $3, TAG68
TAG68:
sll $0, $0, 0
mtlo $3
sltu $4, $3, $3
sll $0, $0, 0
TAG69:
sb $4, 0($4)
sltiu $1, $4, 1
bgtz $1, TAG70
sb $1, 0($1)
TAG70:
srl $4, $1, 3
sb $1, 0($1)
mfhi $2
divu $2, $2
TAG71:
sll $0, $0, 0
mthi $4
mtlo $2
lb $1, 0($4)
TAG72:
mfhi $4
beq $1, $4, TAG73
mtlo $4
xor $1, $1, $4
TAG73:
sltu $3, $1, $1
sllv $2, $1, $1
srlv $3, $3, $3
mthi $2
TAG74:
mthi $3
mtlo $3
andi $2, $3, 15
mthi $3
TAG75:
sub $4, $2, $2
lui $1, 7
addiu $4, $1, 7
lui $4, 2
TAG76:
mfhi $1
beq $4, $4, TAG77
sll $0, $0, 0
sh $3, 0($4)
TAG77:
and $3, $3, $3
sb $3, 0($3)
sllv $2, $3, $3
mfhi $1
TAG78:
mflo $2
bne $1, $1, TAG79
sub $3, $2, $2
blez $2, TAG79
TAG79:
mult $3, $3
mthi $3
blez $3, TAG80
lh $4, 0($3)
TAG80:
mflo $4
lh $1, 0($4)
mthi $4
beq $1, $4, TAG81
TAG81:
divu $1, $1
ori $1, $1, 11
bne $1, $1, TAG82
lui $1, 2
TAG82:
mthi $1
srl $2, $1, 8
lui $2, 13
mthi $1
TAG83:
mtlo $2
bgtz $2, TAG84
divu $2, $2
sb $2, 0($2)
TAG84:
mflo $4
addu $1, $4, $2
sb $1, 0($4)
lbu $4, 0($4)
TAG85:
beq $4, $4, TAG86
lb $3, 0($4)
sltu $2, $4, $3
bgtz $4, TAG86
TAG86:
addu $4, $2, $2
sra $3, $4, 15
addiu $4, $3, 7
bltz $4, TAG87
TAG87:
lui $3, 9
mtlo $3
ori $3, $3, 12
andi $3, $3, 9
TAG88:
mfhi $1
lui $3, 3
sll $0, $0, 0
xori $3, $3, 11
TAG89:
srl $2, $3, 7
blez $2, TAG90
slti $3, $3, 2
bgez $2, TAG90
TAG90:
sh $3, 0($3)
sw $3, 0($3)
mtlo $3
bne $3, $3, TAG91
TAG91:
addu $2, $3, $3
lb $3, 0($2)
addi $3, $3, 6
lbu $3, 0($2)
TAG92:
sw $3, 0($3)
mfhi $3
mtlo $3
lui $4, 0
TAG93:
lui $4, 6
blez $4, TAG94
sll $0, $0, 0
mfhi $4
TAG94:
beq $4, $4, TAG95
lui $3, 13
mflo $2
lui $1, 2
TAG95:
mthi $1
addiu $4, $1, 5
mult $1, $4
lui $3, 11
TAG96:
bgez $3, TAG97
sll $0, $0, 0
bltz $3, TAG97
lui $4, 1
TAG97:
lui $4, 8
slti $1, $4, 4
bgtz $1, TAG98
sb $1, 0($1)
TAG98:
xori $1, $1, 10
lui $1, 2
mfhi $1
multu $1, $1
TAG99:
beq $1, $1, TAG100
mtlo $1
sb $1, 0($1)
lui $1, 6
TAG100:
sb $1, 0($1)
beq $1, $1, TAG101
lb $2, 0($1)
lui $2, 9
TAG101:
mthi $2
lb $3, 0($2)
mflo $1
bne $1, $3, TAG102
TAG102:
lhu $2, 0($1)
mthi $2
mthi $1
sh $2, 0($1)
TAG103:
bne $2, $2, TAG104
and $1, $2, $2
mthi $2
lui $2, 13
TAG104:
sll $0, $0, 0
addu $3, $2, $2
sll $0, $0, 0
blez $2, TAG105
TAG105:
sll $2, $2, 4
mthi $2
srl $4, $2, 3
xori $2, $4, 5
TAG106:
sll $0, $0, 0
ori $2, $2, 6
mthi $2
sll $0, $0, 0
TAG107:
and $4, $3, $3
lui $2, 6
lui $1, 6
bgez $4, TAG108
TAG108:
mtlo $1
mflo $2
sll $0, $0, 0
mflo $2
TAG109:
sll $0, $0, 0
addiu $1, $2, 8
mfhi $1
lui $3, 14
TAG110:
mflo $4
divu $4, $3
div $4, $3
mthi $3
TAG111:
xor $2, $4, $4
bgtz $2, TAG112
mfhi $3
mult $4, $4
TAG112:
bgez $3, TAG113
sll $0, $0, 0
bne $3, $3, TAG113
sb $3, 0($3)
TAG113:
mtlo $3
sll $0, $0, 0
mfhi $3
sll $0, $0, 0
TAG114:
beq $4, $4, TAG115
div $4, $4
mult $4, $4
beq $4, $4, TAG115
TAG115:
mult $4, $4
bltz $4, TAG116
lui $4, 14
mtlo $4
TAG116:
bgtz $4, TAG117
mthi $4
bne $4, $4, TAG117
mfhi $3
TAG117:
sll $1, $3, 15
sll $0, $0, 0
bne $1, $1, TAG118
nor $4, $1, $3
TAG118:
sll $0, $0, 0
multu $4, $2
addi $1, $2, 4
sll $0, $0, 0
TAG119:
mult $1, $1
bne $1, $1, TAG120
nor $3, $1, $1
mthi $3
TAG120:
xori $2, $3, 13
lui $3, 10
sra $4, $3, 7
blez $3, TAG121
TAG121:
or $3, $4, $4
sh $3, -5120($3)
mtlo $3
mthi $3
TAG122:
lui $1, 1
divu $3, $1
multu $3, $3
ori $3, $3, 10
TAG123:
lui $3, 14
sll $0, $0, 0
bne $3, $1, TAG124
sll $0, $0, 0
TAG124:
mfhi $1
bgez $3, TAG125
mthi $3
mtlo $3
TAG125:
mfhi $2
mflo $2
sra $3, $1, 0
mtlo $2
TAG126:
blez $3, TAG127
mtlo $3
mtlo $3
lbu $1, 0($3)
TAG127:
addiu $1, $1, 14
lh $4, 0($1)
lui $1, 11
mtlo $1
TAG128:
bgtz $1, TAG129
slti $1, $1, 1
bne $1, $1, TAG129
mflo $1
TAG129:
mtlo $1
add $2, $1, $1
mflo $2
lw $1, 0($1)
TAG130:
sll $0, $0, 0
lhu $4, -5120($1)
multu $1, $1
mflo $3
TAG131:
sll $0, $0, 0
bgez $2, TAG132
sll $0, $0, 0
lui $2, 10
TAG132:
lui $3, 4
mtlo $2
sltu $3, $3, $3
sw $2, 0($3)
TAG133:
mult $3, $3
sb $3, 0($3)
sb $3, 0($3)
sh $3, 0($3)
TAG134:
mflo $1
multu $3, $3
mfhi $2
lui $1, 7
TAG135:
sll $4, $1, 14
mflo $3
mthi $3
slt $2, $1, $3
TAG136:
sh $2, 0($2)
slti $2, $2, 3
blez $2, TAG137
mtlo $2
TAG137:
mflo $4
lui $1, 8
mfhi $4
beq $4, $2, TAG138
TAG138:
mflo $1
bltz $1, TAG139
mult $4, $4
slt $3, $4, $4
TAG139:
mflo $4
mthi $4
bne $3, $3, TAG140
addu $2, $4, $3
TAG140:
multu $2, $2
addi $2, $2, 5
mtlo $2
lbu $3, 0($2)
TAG141:
lw $2, 0($3)
lui $1, 2
multu $1, $2
sll $0, $0, 0
TAG142:
divu $1, $1
mflo $3
lui $4, 15
lui $1, 13
TAG143:
mthi $1
sll $0, $0, 0
mfhi $4
mfhi $1
TAG144:
sltiu $1, $1, 4
mfhi $4
mflo $3
beq $3, $1, TAG145
TAG145:
divu $3, $3
mult $3, $3
or $3, $3, $3
blez $3, TAG146
TAG146:
lui $2, 11
sb $2, 0($3)
or $2, $2, $3
mult $2, $3
TAG147:
xori $3, $2, 0
lui $2, 15
sll $0, $0, 0
beq $2, $2, TAG148
TAG148:
ori $1, $3, 2
addiu $3, $1, 4
addiu $3, $1, 0
subu $1, $3, $3
TAG149:
lhu $1, 0($1)
lh $3, 0($1)
mflo $3
multu $3, $1
TAG150:
subu $2, $3, $3
sll $0, $0, 0
sll $0, $0, 0
bne $3, $3, TAG151
TAG151:
multu $2, $2
bne $2, $2, TAG152
mtlo $2
blez $2, TAG152
TAG152:
mult $2, $2
sll $3, $2, 14
sllv $1, $2, $2
lui $3, 9
TAG153:
bne $3, $3, TAG154
divu $3, $3
sll $0, $0, 0
slti $3, $3, 8
TAG154:
sll $4, $3, 0
sub $4, $4, $4
sltu $2, $4, $4
lui $4, 7
TAG155:
lui $3, 5
mflo $1
mtlo $4
sra $3, $3, 1
TAG156:
sll $0, $0, 0
mfhi $3
multu $3, $3
lh $3, 0($3)
TAG157:
lh $2, 0($3)
beq $3, $3, TAG158
lui $2, 0
beq $2, $3, TAG158
TAG158:
add $4, $2, $2
mult $2, $2
sh $2, 0($2)
xori $1, $2, 10
TAG159:
sh $1, 0($1)
sh $1, 0($1)
mfhi $4
sb $1, 0($4)
TAG160:
lui $1, 9
lui $3, 5
srl $4, $3, 4
beq $1, $4, TAG161
TAG161:
sll $0, $0, 0
bne $4, $4, TAG162
mthi $4
bgtz $4, TAG162
TAG162:
mfhi $1
bne $1, $1, TAG163
andi $4, $4, 13
bne $4, $4, TAG163
TAG163:
mthi $4
mtlo $4
lh $1, 0($4)
bne $4, $1, TAG164
TAG164:
lh $2, 0($1)
multu $2, $2
sh $1, 0($1)
lui $2, 9
TAG165:
lui $1, 14
slti $4, $1, 11
mflo $2
sw $4, 0($2)
TAG166:
divu $2, $2
lw $3, 0($2)
mult $3, $3
slti $3, $2, 14
TAG167:
sh $3, 0($3)
sllv $1, $3, $3
blez $1, TAG168
srav $1, $3, $3
TAG168:
lui $1, 8
mthi $1
slti $1, $1, 15
mflo $4
TAG169:
multu $4, $4
lhu $1, 0($4)
lbu $2, 0($4)
mthi $1
TAG170:
lb $4, 0($2)
lbu $4, 0($2)
mthi $4
mthi $4
TAG171:
ori $2, $4, 2
lui $4, 4
bltz $4, TAG172
mfhi $1
TAG172:
sw $1, 0($1)
lui $3, 3
sll $0, $0, 0
sltiu $4, $1, 6
TAG173:
mfhi $3
sw $4, 0($3)
mfhi $3
mult $3, $3
TAG174:
bne $3, $3, TAG175
lb $2, 0($3)
bgtz $2, TAG175
srl $2, $2, 13
TAG175:
bne $2, $2, TAG176
lui $4, 3
beq $2, $4, TAG176
mtlo $2
TAG176:
sltiu $3, $4, 11
sll $0, $0, 0
mtlo $3
bgtz $4, TAG177
TAG177:
mfhi $2
lhu $1, 0($2)
lb $2, 0($1)
lui $1, 9
TAG178:
mult $1, $1
sll $0, $0, 0
mthi $1
sll $0, $0, 0
TAG179:
bne $1, $1, TAG180
ori $4, $1, 3
nor $3, $4, $4
bne $3, $4, TAG180
TAG180:
mtlo $3
bne $3, $3, TAG181
sll $0, $0, 0
slt $4, $1, $1
TAG181:
mflo $3
mfhi $3
sra $3, $4, 0
bne $3, $4, TAG182
TAG182:
sb $3, 0($3)
bgez $3, TAG183
andi $1, $3, 8
sh $1, 0($3)
TAG183:
and $2, $1, $1
sll $2, $2, 2
mfhi $3
ori $1, $3, 7
TAG184:
slti $2, $1, 4
addu $2, $1, $2
sll $0, $0, 0
lui $1, 1
TAG185:
sll $0, $0, 0
mfhi $1
div $3, $1
bltz $1, TAG186
TAG186:
sra $4, $1, 8
sll $0, $0, 0
div $1, $4
lh $2, -2304($4)
TAG187:
bltz $2, TAG188
sw $2, 0($2)
sw $2, 0($2)
multu $2, $2
TAG188:
addiu $3, $2, 7
beq $2, $3, TAG189
lui $3, 9
lui $4, 10
TAG189:
mult $4, $4
mthi $4
sll $0, $0, 0
sll $0, $0, 0
TAG190:
mthi $1
addiu $3, $1, 1
sll $0, $0, 0
sll $0, $0, 0
TAG191:
mult $1, $1
xori $2, $1, 1
sll $0, $0, 0
lui $4, 9
TAG192:
divu $4, $4
div $4, $4
beq $4, $4, TAG193
sll $0, $0, 0
TAG193:
sll $0, $0, 0
addiu $4, $3, 15
lui $3, 10
sll $0, $0, 0
TAG194:
divu $3, $3
bne $3, $3, TAG195
mtlo $3
mthi $3
TAG195:
sll $0, $0, 0
beq $3, $3, TAG196
mthi $3
bltz $3, TAG196
TAG196:
mflo $4
andi $2, $3, 6
beq $4, $4, TAG197
mthi $2
TAG197:
sltiu $4, $2, 2
mfhi $2
sb $2, 0($4)
mflo $4
TAG198:
bltz $4, TAG199
sll $0, $0, 0
mtlo $4
lui $4, 7
TAG199:
mflo $2
sltu $2, $4, $2
addiu $1, $4, 14
sb $2, 0($2)
TAG200:
sll $0, $0, 0
srlv $2, $1, $1
mthi $2
beq $1, $2, TAG201
TAG201:
addiu $2, $2, 2
mtlo $2
beq $2, $2, TAG202
lh $4, 0($2)
TAG202:
bgtz $4, TAG203
addiu $4, $4, 8
bgtz $4, TAG203
lh $1, 0($4)
TAG203:
subu $2, $1, $1
sw $1, 0($2)
sub $2, $1, $2
slt $1, $1, $1
TAG204:
blez $1, TAG205
lbu $2, 0($1)
lui $4, 3
sltiu $1, $1, 15
TAG205:
multu $1, $1
slti $1, $1, 5
lbu $2, 0($1)
bgtz $2, TAG206
TAG206:
lbu $2, 0($2)
bgtz $2, TAG207
lui $4, 8
lui $2, 2
TAG207:
sltiu $2, $2, 13
addiu $1, $2, 1
sb $2, 0($2)
bgez $2, TAG208
TAG208:
div $1, $1
srlv $4, $1, $1
lh $3, 0($4)
mtlo $1
TAG209:
sll $0, $0, 0
lbu $3, 0($2)
bltz $3, TAG210
sllv $3, $3, $3
TAG210:
mtlo $3
mflo $4
lb $1, 0($3)
or $4, $1, $3
TAG211:
or $3, $4, $4
bne $3, $4, TAG212
nor $3, $4, $4
lui $3, 5
TAG212:
addu $3, $3, $3
bgtz $3, TAG213
divu $3, $3
or $2, $3, $3
TAG213:
and $2, $2, $2
mtlo $2
sltiu $4, $2, 12
bgtz $2, TAG214
TAG214:
multu $4, $4
bltz $4, TAG215
divu $4, $4
mtlo $4
TAG215:
mult $4, $4
mfhi $4
mtlo $4
mflo $4
TAG216:
mflo $4
ori $1, $4, 9
lh $4, 0($4)
sb $4, 0($1)
TAG217:
bltz $4, TAG218
sll $4, $4, 13
lui $3, 12
slti $4, $4, 7
TAG218:
beq $4, $4, TAG219
sh $4, 0($4)
mtlo $4
lui $4, 14
TAG219:
blez $4, TAG220
mult $4, $4
lui $4, 12
mfhi $1
TAG220:
beq $1, $1, TAG221
div $1, $1
and $3, $1, $1
mtlo $3
TAG221:
sll $0, $0, 0
beq $3, $3, TAG222
sll $0, $0, 0
mtlo $3
TAG222:
mfhi $3
mult $3, $3
bgez $3, TAG223
mfhi $1
TAG223:
sb $1, 0($1)
beq $1, $1, TAG224
mflo $3
multu $1, $1
TAG224:
mtlo $3
sb $3, 0($3)
lbu $2, 0($3)
sh $3, 0($3)
TAG225:
sb $2, 0($2)
bgez $2, TAG226
sltu $4, $2, $2
lui $1, 9
TAG226:
lbu $2, 0($1)
mtlo $1
bgtz $2, TAG227
sw $2, 0($1)
TAG227:
mflo $3
sb $3, 0($3)
bgez $3, TAG228
sllv $3, $2, $2
TAG228:
slti $4, $3, 12
sb $4, 0($4)
lb $1, 0($4)
lb $4, 0($1)
TAG229:
mthi $4
andi $4, $4, 7
mult $4, $4
sb $4, 0($4)
TAG230:
addu $4, $4, $4
mthi $4
divu $4, $4
blez $4, TAG231
TAG231:
sh $4, 0($4)
or $4, $4, $4
sh $4, 0($4)
beq $4, $4, TAG232
TAG232:
mult $4, $4
addiu $3, $4, 8
mflo $4
nor $1, $4, $3
TAG233:
sb $1, 15($1)
mtlo $1
lw $3, 15($1)
lui $4, 3
TAG234:
subu $4, $4, $4
mult $4, $4
sltiu $1, $4, 4
mtlo $4
TAG235:
lbu $1, 0($1)
srl $1, $1, 12
mthi $1
multu $1, $1
TAG236:
mtlo $1
addu $4, $1, $1
bne $1, $1, TAG237
mult $4, $1
TAG237:
mult $4, $4
mtlo $4
lui $1, 12
sll $0, $0, 0
TAG238:
sll $0, $0, 0
sltu $1, $1, $1
mflo $4
mthi $1
TAG239:
sh $4, 0($4)
lui $1, 8
mflo $2
bne $2, $1, TAG240
TAG240:
lb $2, 0($2)
mtlo $2
addi $4, $2, 11
bne $2, $2, TAG241
TAG241:
mtlo $4
bgez $4, TAG242
srl $2, $4, 8
beq $2, $4, TAG242
TAG242:
mtlo $2
bne $2, $2, TAG243
slt $4, $2, $2
xori $3, $4, 3
TAG243:
beq $3, $3, TAG244
lui $1, 7
div $3, $3
xor $2, $3, $1
TAG244:
sh $2, 0($2)
lbu $2, 0($2)
addiu $4, $2, 10
lui $1, 10
TAG245:
sllv $2, $1, $1
beq $1, $2, TAG246
mfhi $4
lui $3, 4
TAG246:
mult $3, $3
srav $4, $3, $3
mfhi $1
sltu $4, $3, $3
TAG247:
sw $4, 0($4)
mult $4, $4
lui $2, 4
bgez $4, TAG248
TAG248:
sll $0, $0, 0
lhu $4, 0($4)
sb $4, 0($4)
mult $4, $4
TAG249:
multu $4, $4
beq $4, $4, TAG250
mthi $4
lui $4, 8
TAG250:
mthi $4
addu $4, $4, $4
sltiu $4, $4, 6
sltiu $1, $4, 12
TAG251:
lbu $1, 0($1)
mflo $3
bne $1, $3, TAG252
mtlo $3
TAG252:
lui $3, 8
sll $0, $0, 0
sll $0, $0, 0
sltiu $4, $4, 14
TAG253:
sb $4, 0($4)
bgtz $4, TAG254
sb $4, 0($4)
addu $3, $4, $4
TAG254:
mfhi $2
lui $4, 8
sll $0, $0, 0
bgtz $3, TAG255
TAG255:
lui $3, 11
sh $3, 0($2)
mflo $2
srlv $1, $3, $2
TAG256:
sll $0, $0, 0
mfhi $1
bltz $1, TAG257
lh $2, 0($1)
TAG257:
bgez $2, TAG258
mflo $1
beq $2, $1, TAG258
mthi $2
TAG258:
xor $2, $1, $1
andi $4, $1, 14
sllv $1, $1, $2
lh $3, 0($1)
TAG259:
bgtz $3, TAG260
slti $4, $3, 5
bne $4, $3, TAG260
multu $4, $3
TAG260:
beq $4, $4, TAG261
sb $4, 0($4)
bgez $4, TAG261
sb $4, 0($4)
TAG261:
xori $3, $4, 1
mfhi $3
sh $4, 0($3)
multu $4, $3
TAG262:
bgtz $3, TAG263
lbu $4, 0($3)
mthi $3
multu $3, $4
TAG263:
mtlo $4
lui $4, 5
sll $0, $0, 0
beq $1, $4, TAG264
TAG264:
mflo $4
mthi $1
blez $4, TAG265
mfhi $4
TAG265:
mflo $4
andi $3, $4, 9
mthi $3
lb $1, 0($3)
TAG266:
add $1, $1, $1
sh $1, 0($1)
multu $1, $1
sh $1, 0($1)
TAG267:
multu $1, $1
srav $1, $1, $1
mult $1, $1
lui $4, 11
TAG268:
subu $1, $4, $4
bne $4, $4, TAG269
xori $3, $1, 1
add $1, $1, $4
TAG269:
mflo $4
mult $4, $1
bgtz $1, TAG270
sll $0, $0, 0
TAG270:
sw $4, 0($4)
beq $4, $4, TAG271
mfhi $4
slti $1, $4, 15
TAG271:
sll $0, $0, 0
addu $1, $1, $1
sll $0, $0, 0
mtlo $1
TAG272:
lui $3, 6
mthi $1
lui $3, 4
bgtz $1, TAG273
TAG273:
lui $3, 14
addiu $3, $3, 2
divu $3, $3
mtlo $3
TAG274:
beq $3, $3, TAG275
mfhi $2
addi $2, $2, 6
lhu $3, 0($2)
TAG275:
bgtz $3, TAG276
slt $2, $3, $3
beq $3, $2, TAG276
lui $4, 3
TAG276:
lw $4, 0($4)
slti $1, $4, 1
srl $1, $4, 8
mult $1, $4
TAG277:
blez $1, TAG278
sll $1, $1, 10
sll $2, $1, 5
bne $2, $1, TAG278
TAG278:
lw $3, 0($2)
sb $2, 0($3)
multu $3, $2
mfhi $4
TAG279:
slti $3, $4, 2
beq $3, $4, TAG280
multu $4, $3
mtlo $3
TAG280:
sb $3, 0($3)
lbu $4, 0($3)
mtlo $3
mfhi $1
TAG281:
sh $1, 0($1)
lui $2, 9
or $2, $1, $1
multu $2, $2
TAG282:
mthi $2
multu $2, $2
beq $2, $2, TAG283
srlv $4, $2, $2
TAG283:
mtlo $4
lui $1, 11
sll $0, $0, 0
lhu $3, 0($4)
TAG284:
mflo $1
lb $4, 0($1)
slt $2, $3, $1
mfhi $2
TAG285:
mtlo $2
sh $2, 0($2)
beq $2, $2, TAG286
xor $1, $2, $2
TAG286:
bne $1, $1, TAG287
lw $1, 0($1)
bgez $1, TAG287
mult $1, $1
TAG287:
sw $1, 0($1)
mthi $1
lui $3, 5
sltiu $2, $1, 11
TAG288:
mfhi $1
mult $2, $1
nor $2, $1, $1
div $2, $2
TAG289:
bne $2, $2, TAG290
sh $2, 1($2)
blez $2, TAG290
sllv $1, $2, $2
TAG290:
xori $2, $1, 3
sll $0, $0, 0
lui $3, 4
beq $1, $1, TAG291
TAG291:
or $3, $3, $3
bne $3, $3, TAG292
divu $3, $3
nor $4, $3, $3
TAG292:
sll $0, $0, 0
sll $0, $0, 0
lui $2, 4
mflo $2
TAG293:
sb $2, 0($2)
multu $2, $2
mult $2, $2
mthi $2
TAG294:
ori $3, $2, 9
mtlo $3
sb $3, 0($3)
blez $3, TAG295
TAG295:
mfhi $4
beq $4, $3, TAG296
addiu $3, $3, 13
lui $1, 2
TAG296:
mflo $3
lui $4, 1
lb $2, 0($3)
divu $1, $4
TAG297:
lb $1, 0($2)
mtlo $2
sb $2, 0($2)
lb $2, 0($1)
TAG298:
mtlo $2
div $2, $2
lbu $4, 0($2)
xor $4, $4, $2
TAG299:
sb $4, 0($4)
multu $4, $4
beq $4, $4, TAG300
lb $1, 0($4)
TAG300:
lui $2, 1
lui $4, 7
sll $0, $0, 0
mtlo $4
TAG301:
divu $4, $4
sltiu $3, $4, 6
mflo $2
bgtz $4, TAG302
TAG302:
lui $2, 9
mtlo $2
multu $2, $2
sltu $3, $2, $2
TAG303:
lhu $2, 0($3)
lb $2, 0($3)
bne $3, $3, TAG304
sw $3, 0($3)
TAG304:
bne $2, $2, TAG305
mfhi $1
addiu $4, $1, 0
srl $1, $1, 2
TAG305:
sh $1, 0($1)
lui $2, 9
multu $2, $2
bne $1, $2, TAG306
TAG306:
subu $1, $2, $2
bne $1, $1, TAG307
sll $0, $0, 0
blez $1, TAG307
TAG307:
mtlo $2
bne $2, $2, TAG308
sll $0, $0, 0
lui $1, 9
TAG308:
bgtz $1, TAG309
mtlo $1
bltz $1, TAG309
mthi $1
TAG309:
sltiu $1, $1, 1
mthi $1
srlv $2, $1, $1
beq $1, $1, TAG310
TAG310:
mfhi $1
sltu $3, $1, $2
lui $1, 0
blez $2, TAG311
TAG311:
mtlo $1
mflo $2
bgtz $1, TAG312
lui $2, 5
TAG312:
xori $4, $2, 2
bgez $4, TAG313
mtlo $4
lui $2, 0
TAG313:
mfhi $3
sb $3, 0($3)
blez $2, TAG314
divu $3, $2
TAG314:
sh $3, 0($3)
bgez $3, TAG315
mthi $3
mult $3, $3
TAG315:
sll $1, $3, 8
lb $4, 0($1)
ori $2, $4, 9
bgez $3, TAG316
TAG316:
multu $2, $2
lui $3, 1
bgtz $2, TAG317
mfhi $2
TAG317:
sh $2, 0($2)
lui $1, 1
bgez $2, TAG318
mfhi $1
TAG318:
beq $1, $1, TAG319
sb $1, 0($1)
beq $1, $1, TAG319
mflo $4
TAG319:
sra $4, $4, 2
lhu $4, 0($4)
mthi $4
sra $1, $4, 9
TAG320:
mult $1, $1
multu $1, $1
lui $1, 5
bgtz $1, TAG321
TAG321:
sll $0, $0, 0
divu $1, $1
mflo $1
lbu $1, 0($1)
TAG322:
mflo $3
lui $1, 9
bgtz $1, TAG323
lui $4, 3
TAG323:
sll $0, $0, 0
xor $2, $4, $4
bgtz $4, TAG324
multu $4, $4
TAG324:
mflo $4
bne $2, $4, TAG325
addu $4, $4, $4
mult $4, $2
TAG325:
bltz $4, TAG326
lbu $2, 0($4)
multu $4, $2
sh $4, 0($2)
TAG326:
mtlo $2
lui $3, 15
mfhi $1
slt $1, $3, $1
TAG327:
bgtz $1, TAG328
or $4, $1, $1
mflo $3
bgez $4, TAG328
TAG328:
multu $3, $3
bne $3, $3, TAG329
xori $4, $3, 2
mfhi $1
TAG329:
xor $1, $1, $1
multu $1, $1
lui $3, 5
mthi $3
TAG330:
mfhi $2
mthi $3
bgtz $2, TAG331
addu $4, $3, $3
TAG331:
bgtz $4, TAG332
sltu $2, $4, $4
mtlo $2
bgez $2, TAG332
TAG332:
mfhi $4
mfhi $1
mult $4, $1
multu $2, $2
TAG333:
mfhi $2
lui $3, 14
mtlo $1
mthi $1
TAG334:
bgtz $3, TAG335
sll $0, $0, 0
beq $4, $4, TAG335
addiu $2, $4, 9
TAG335:
lui $2, 14
addu $2, $2, $2
beq $2, $2, TAG336
ori $4, $2, 7
TAG336:
beq $4, $4, TAG337
mflo $4
lui $3, 1
lui $4, 1
TAG337:
mfhi $4
beq $4, $4, TAG338
mtlo $4
subu $2, $4, $4
TAG338:
mflo $2
lui $3, 9
mfhi $1
sll $0, $0, 0
TAG339:
sll $0, $0, 0
srl $1, $4, 15
lh $1, 0($1)
sltiu $2, $1, 2
TAG340:
sra $3, $2, 2
bgtz $2, TAG341
lui $2, 14
and $1, $3, $3
TAG341:
ori $2, $1, 8
lb $2, 0($1)
sb $2, 0($2)
multu $2, $2
TAG342:
xor $2, $2, $2
sh $2, 0($2)
ori $2, $2, 1
divu $2, $2
TAG343:
xori $3, $2, 8
beq $2, $2, TAG344
srl $3, $3, 4
mflo $3
TAG344:
lui $3, 0
andi $3, $3, 4
beq $3, $3, TAG345
mflo $2
TAG345:
bne $2, $2, TAG346
lb $3, 0($2)
beq $3, $2, TAG346
ori $1, $2, 5
TAG346:
bne $1, $1, TAG347
lui $2, 11
mflo $4
lb $1, 0($4)
TAG347:
multu $1, $1
bgez $1, TAG348
sub $3, $1, $1
mfhi $1
TAG348:
multu $1, $1
lhu $2, 0($1)
mthi $2
beq $2, $1, TAG349
TAG349:
lui $3, 9
and $4, $3, $2
mfhi $3
sh $4, 0($4)
TAG350:
mthi $3
sltu $1, $3, $3
bne $1, $1, TAG351
mtlo $3
TAG351:
bne $1, $1, TAG352
slti $4, $1, 14
beq $1, $4, TAG352
lui $3, 14
TAG352:
addu $1, $3, $3
divu $3, $1
sll $4, $3, 14
addiu $3, $3, 5
TAG353:
mthi $3
sllv $4, $3, $3
sltu $4, $3, $3
sll $2, $4, 6
TAG354:
sb $2, 0($2)
mfhi $3
blez $3, TAG355
lbu $2, 0($2)
TAG355:
addiu $1, $2, 7
div $1, $1
bgtz $2, TAG356
andi $2, $1, 8
TAG356:
srlv $2, $2, $2
lui $1, 8
lui $4, 0
sw $1, 0($2)
TAG357:
mult $4, $4
bltz $4, TAG358
addiu $3, $4, 12
and $3, $3, $4
TAG358:
mult $3, $3
lbu $2, 0($3)
bne $3, $3, TAG359
mult $3, $3
TAG359:
sh $2, 0($2)
mult $2, $2
mthi $2
mthi $2
TAG360:
mflo $3
xori $3, $2, 3
sb $3, 0($3)
sh $2, 0($2)
TAG361:
lui $4, 0
mthi $3
mtlo $4
lui $2, 9
TAG362:
subu $4, $2, $2
lb $3, 0($4)
beq $3, $4, TAG363
sll $0, $0, 0
TAG363:
mflo $4
add $2, $3, $3
lw $1, 0($2)
sll $0, $0, 0
TAG364:
multu $4, $4
lbu $2, 0($4)
mtlo $2
sb $4, 0($2)
TAG365:
mfhi $4
beq $2, $2, TAG366
subu $2, $2, $2
mthi $4
TAG366:
subu $4, $2, $2
or $3, $2, $4
beq $3, $4, TAG367
lhu $1, 0($2)
TAG367:
bgtz $1, TAG368
sltiu $1, $1, 8
bne $1, $1, TAG368
mfhi $1
TAG368:
ori $3, $1, 10
beq $1, $1, TAG369
addi $4, $1, 8
sub $4, $3, $1
TAG369:
lhu $1, 0($4)
beq $4, $1, TAG370
divu $1, $1
sh $1, 0($4)
TAG370:
mthi $1
lhu $2, -2306($1)
beq $2, $2, TAG371
addiu $2, $1, 3
TAG371:
mtlo $2
sb $2, -2309($2)
bltz $2, TAG372
lbu $1, -2309($2)
TAG372:
lui $1, 3
mtlo $1
bgez $1, TAG373
mtlo $1
TAG373:
addiu $3, $1, 8
bne $1, $3, TAG374
mtlo $1
lui $2, 10
TAG374:
bltz $2, TAG375
mfhi $4
lw $2, -2309($2)
sll $0, $0, 0
TAG375:
sll $0, $0, 0
sltiu $4, $1, 0
ori $4, $4, 5
mtlo $1
TAG376:
div $4, $4
mthi $4
lui $1, 8
lui $1, 12
TAG377:
mult $1, $1
mthi $1
bltz $1, TAG378
lui $4, 10
TAG378:
divu $4, $4
sll $1, $4, 15
xori $3, $1, 2
subu $3, $4, $1
TAG379:
lui $4, 15
sra $1, $3, 12
mtlo $4
div $1, $4
TAG380:
sll $0, $0, 0
lb $3, -160($1)
bne $3, $1, TAG381
multu $1, $3
TAG381:
beq $3, $3, TAG382
sb $3, 0($3)
lh $3, 0($3)
divu $3, $3
TAG382:
div $3, $3
lbu $2, 0($3)
lb $2, 0($3)
beq $3, $3, TAG383
TAG383:
xor $3, $2, $2
lui $3, 1
sll $0, $0, 0
slti $4, $3, 6
TAG384:
lui $1, 11
bltz $4, TAG385
mthi $1
mflo $3
TAG385:
lui $3, 14
sll $0, $0, 0
mthi $3
sll $0, $0, 0
TAG386:
mthi $4
bgtz $4, TAG387
mfhi $1
mtlo $4
TAG387:
sw $1, 0($1)
multu $1, $1
sb $1, 0($1)
mult $1, $1
TAG388:
sll $3, $1, 4
bgez $1, TAG389
sltiu $4, $3, 6
lui $2, 15
TAG389:
div $2, $2
mult $2, $2
andi $3, $2, 12
beq $3, $3, TAG390
TAG390:
mult $3, $3
mflo $4
bne $4, $3, TAG391
lui $2, 9
TAG391:
addiu $2, $2, 11
addiu $3, $2, 4
multu $2, $3
sll $0, $0, 0
TAG392:
blez $2, TAG393
multu $2, $2
sra $2, $2, 11
lhu $1, -288($2)
TAG393:
addi $2, $1, 6
lh $2, 0($2)
mult $1, $1
lbu $2, 0($2)
TAG394:
sb $2, 0($2)
sw $2, 0($2)
sh $2, 0($2)
bgez $2, TAG395
TAG395:
slt $2, $2, $2
lbu $1, 0($2)
sb $1, 0($2)
or $4, $2, $1
TAG396:
lui $1, 8
bltz $4, TAG397
mtlo $1
mthi $1
TAG397:
addiu $4, $1, 2
sll $0, $0, 0
sll $0, $0, 0
lui $2, 2
TAG398:
mthi $2
lui $2, 12
bne $2, $2, TAG399
addiu $3, $2, 6
TAG399:
bgtz $3, TAG400
mfhi $3
sb $3, 0($3)
mfhi $4
TAG400:
mult $4, $4
bgez $4, TAG401
addu $2, $4, $4
bne $4, $2, TAG401
TAG401:
multu $2, $2
sll $0, $0, 0
sltu $2, $2, $2
sh $2, 0($2)
TAG402:
lbu $4, 0($2)
mthi $4
beq $2, $4, TAG403
lui $2, 2
TAG403:
addu $1, $2, $2
beq $1, $2, TAG404
mtlo $2
divu $2, $1
TAG404:
mflo $2
mult $1, $1
xor $2, $1, $2
srl $3, $2, 11
TAG405:
sb $3, 0($3)
mflo $2
bltz $2, TAG406
sb $2, 0($2)
TAG406:
sh $2, 0($2)
lhu $2, 0($2)
mthi $2
mult $2, $2
TAG407:
mthi $2
mult $2, $2
mflo $4
lui $2, 11
TAG408:
sll $0, $0, 0
mult $2, $2
sll $0, $0, 0
bne $2, $2, TAG409
TAG409:
sll $0, $0, 0
sw $2, 0($4)
bltz $2, TAG410
addu $2, $2, $2
TAG410:
sra $2, $2, 11
mfhi $2
blez $2, TAG411
mtlo $2
TAG411:
lui $1, 1
beq $2, $1, TAG412
mflo $1
lb $4, 0($2)
TAG412:
bne $4, $4, TAG413
mult $4, $4
sra $2, $4, 0
mult $2, $2
TAG413:
sra $2, $2, 14
sllv $3, $2, $2
mfhi $2
beq $3, $2, TAG414
TAG414:
sh $2, 0($2)
sll $4, $2, 14
mthi $2
sw $4, 0($2)
TAG415:
mult $4, $4
lui $4, 7
bgez $4, TAG416
lui $3, 5
TAG416:
sll $0, $0, 0
lui $4, 9
lui $1, 10
sll $0, $0, 0
TAG417:
bgtz $3, TAG418
mult $3, $3
sw $3, 0($3)
bgez $3, TAG418
TAG418:
slt $3, $3, $3
andi $1, $3, 6
lui $4, 9
lui $2, 3
TAG419:
mfhi $2
andi $3, $2, 15
sra $4, $2, 14
mthi $2
TAG420:
sb $4, 0($4)
lb $3, 0($4)
mtlo $4
lh $2, 0($3)
TAG421:
mthi $2
multu $2, $2
mthi $2
lb $4, 0($2)
TAG422:
mthi $4
bne $4, $4, TAG423
sw $4, 0($4)
mfhi $4
TAG423:
mtlo $4
andi $4, $4, 6
bgez $4, TAG424
lui $3, 3
TAG424:
sll $0, $0, 0
bne $3, $3, TAG425
addu $3, $3, $3
div $3, $3
TAG425:
blez $3, TAG426
divu $3, $3
beq $3, $3, TAG426
ori $1, $3, 7
TAG426:
sll $0, $0, 0
bgez $1, TAG427
and $3, $1, $1
divu $3, $1
TAG427:
sll $0, $0, 0
lui $1, 6
beq $3, $3, TAG428
sltu $1, $1, $1
TAG428:
mult $1, $1
mult $1, $1
lui $2, 15
sll $0, $0, 0
TAG429:
sltiu $4, $3, 14
mthi $4
mflo $2
lui $1, 11
TAG430:
divu $1, $1
bne $1, $1, TAG431
mtlo $1
bne $1, $1, TAG431
TAG431:
mthi $1
andi $1, $1, 6
sub $3, $1, $1
lb $2, 0($1)
TAG432:
mult $2, $2
beq $2, $2, TAG433
sllv $3, $2, $2
ori $1, $3, 1
TAG433:
sb $1, 0($1)
bltz $1, TAG434
addi $2, $1, 9
or $3, $1, $1
TAG434:
lbu $3, 0($3)
blez $3, TAG435
mfhi $3
lui $4, 8
TAG435:
mtlo $4
multu $4, $4
bgtz $4, TAG436
mtlo $4
TAG436:
sb $4, 0($4)
lui $4, 3
blez $4, TAG437
div $4, $4
TAG437:
beq $4, $4, TAG438
mthi $4
lui $1, 0
mfhi $2
TAG438:
or $3, $2, $2
lui $4, 4
and $4, $2, $4
mflo $4
TAG439:
lbu $3, 0($4)
sub $3, $3, $3
slt $4, $4, $3
mfhi $4
TAG440:
mfhi $3
sll $0, $0, 0
bgez $3, TAG441
mthi $3
TAG441:
sllv $1, $3, $3
mfhi $2
andi $3, $2, 3
sll $0, $0, 0
TAG442:
sw $3, 0($3)
sb $3, 0($3)
mfhi $4
beq $4, $3, TAG443
TAG443:
andi $2, $4, 9
nor $4, $4, $2
sll $0, $0, 0
sll $0, $0, 0
TAG444:
bgtz $3, TAG445
mtlo $3
beq $3, $3, TAG445
mfhi $1
TAG445:
srav $2, $1, $1
mtlo $1
sll $0, $0, 0
addiu $2, $1, 8
TAG446:
srlv $2, $2, $2
sh $2, -768($2)
lb $3, -768($2)
srl $1, $3, 3
TAG447:
sltiu $2, $1, 3
mtlo $1
bltz $1, TAG448
lb $1, 0($2)
TAG448:
mflo $1
add $4, $1, $1
sltiu $1, $1, 3
sb $1, 0($1)
TAG449:
lb $4, 0($1)
multu $1, $4
beq $1, $1, TAG450
mthi $1
TAG450:
blez $4, TAG451
mthi $4
lbu $3, 0($4)
sllv $4, $4, $3
TAG451:
mflo $4
beq $4, $4, TAG452
sltiu $4, $4, 8
lui $3, 4
TAG452:
mfhi $4
beq $4, $4, TAG453
ori $3, $4, 0
lw $4, 0($4)
TAG453:
lui $3, 14
mflo $4
lui $3, 1
sllv $2, $3, $3
TAG454:
sll $0, $0, 0
mfhi $3
blez $3, TAG455
mfhi $1
TAG455:
lui $2, 14
div $1, $2
mflo $2
srl $4, $1, 10
TAG456:
xori $2, $4, 1
beq $2, $2, TAG457
sb $2, 0($2)
mthi $2
TAG457:
beq $2, $2, TAG458
mthi $2
sh $2, 0($2)
lhu $1, 0($2)
TAG458:
sb $1, 0($1)
sltiu $3, $1, 9
mfhi $2
mthi $2
TAG459:
mflo $3
mtlo $3
sb $3, 0($3)
divu $3, $2
TAG460:
lui $3, 5
mfhi $3
lui $4, 11
mthi $3
TAG461:
lui $3, 10
mflo $2
bgez $4, TAG462
xor $2, $2, $3
TAG462:
lui $1, 12
sll $0, $0, 0
slt $2, $2, $2
bltz $2, TAG463
TAG463:
slt $4, $2, $2
beq $4, $2, TAG464
sw $2, 0($2)
mflo $2
TAG464:
srlv $4, $2, $2
addi $1, $2, 9
sll $4, $1, 3
bne $1, $1, TAG465
TAG465:
mflo $1
mfhi $2
mflo $2
mtlo $1
TAG466:
beq $2, $2, TAG467
sh $2, 0($2)
lh $2, 0($2)
multu $2, $2
TAG467:
slti $2, $2, 2
lui $3, 4
divu $2, $2
xori $1, $3, 14
TAG468:
mfhi $4
nor $4, $1, $1
and $2, $1, $4
lui $1, 1
TAG469:
sll $0, $0, 0
srl $3, $1, 11
multu $3, $3
beq $3, $3, TAG470
TAG470:
sltu $3, $3, $3
blez $3, TAG471
lui $4, 15
sllv $3, $3, $3
TAG471:
mthi $3
and $2, $3, $3
bgtz $3, TAG472
addu $1, $3, $3
TAG472:
nor $1, $1, $1
sltiu $3, $1, 11
mflo $4
mflo $2
TAG473:
bltz $2, TAG474
nor $4, $2, $2
sb $4, -1024($2)
nor $4, $4, $4
TAG474:
mthi $4
mfhi $3
srl $1, $4, 10
or $1, $3, $1
TAG475:
bne $1, $1, TAG476
mfhi $4
lh $2, -1024($4)
multu $2, $1
TAG476:
slt $4, $2, $2
beq $4, $4, TAG477
lhu $4, 0($4)
sb $4, 0($2)
TAG477:
sw $4, -255($4)
xor $1, $4, $4
lui $1, 9
bgtz $4, TAG478
TAG478:
mthi $1
lui $2, 11
blez $1, TAG479
sll $0, $0, 0
TAG479:
lui $3, 0
beq $3, $3, TAG480
sll $0, $0, 0
beq $2, $2, TAG480
TAG480:
mflo $4
mtlo $3
blez $3, TAG481
mult $4, $3
TAG481:
mtlo $4
bltz $4, TAG482
lui $1, 10
mtlo $1
TAG482:
mthi $1
lui $2, 9
mtlo $2
div $2, $2
TAG483:
addu $3, $2, $2
sll $0, $0, 0
mtlo $4
mflo $2
TAG484:
lui $4, 14
blez $2, TAG485
ori $1, $4, 14
bgez $2, TAG485
TAG485:
lui $2, 5
mthi $1
mtlo $2
bne $2, $1, TAG486
TAG486:
sll $0, $0, 0
bltz $2, TAG487
lui $1, 15
divu $2, $1
TAG487:
slti $3, $1, 12
sll $0, $0, 0
sll $0, $0, 0
beq $1, $2, TAG488
TAG488:
lui $2, 15
bne $2, $2, TAG489
sll $0, $0, 0
mthi $2
TAG489:
blez $2, TAG490
sll $0, $0, 0
mult $2, $2
bne $2, $2, TAG490
TAG490:
mfhi $2
bgtz $2, TAG491
sra $3, $2, 9
sb $2, 0($2)
TAG491:
sw $3, 0($3)
lui $2, 5
lui $3, 1
xori $4, $3, 10
TAG492:
bgtz $4, TAG493
divu $4, $4
lui $4, 10
andi $3, $4, 10
TAG493:
div $3, $3
and $1, $3, $3
lui $3, 7
sll $0, $0, 0
TAG494:
beq $3, $3, TAG495
mtlo $3
bgtz $3, TAG495
lb $3, 0($3)
TAG495:
lui $4, 8
mfhi $4
mfhi $1
bne $1, $4, TAG496
TAG496:
sb $1, 0($1)
bne $1, $1, TAG497
mthi $1
mthi $1
TAG497:
sh $1, 0($1)
bne $1, $1, TAG498
mfhi $1
xori $1, $1, 6
TAG498:
lhu $2, 0($1)
sb $2, 0($2)
sh $1, 0($2)
sh $2, 0($2)
TAG499:
beq $2, $2, TAG500
mult $2, $2
lui $3, 6
lbu $4, 0($3)
TAG500:
subu $3, $4, $4
andi $4, $4, 15
sra $4, $4, 14
mtlo $4
TAG501:
bgtz $4, TAG502
lui $2, 7
bgtz $4, TAG502
mult $4, $2
TAG502:
lui $4, 14
sll $0, $0, 0
div $4, $4
sh $2, 0($3)
TAG503:
srav $2, $3, $3
beq $3, $3, TAG504
mthi $3
divu $2, $3
TAG504:
lw $4, 0($2)
mthi $2
mflo $3
mthi $3
TAG505:
lui $1, 5
mtlo $1
lbu $2, 0($3)
mthi $1
TAG506:
mtlo $2
mtlo $2
sh $2, 0($2)
lhu $2, 0($2)
TAG507:
sll $3, $2, 13
lui $1, 6
lbu $1, 0($2)
lui $2, 14
TAG508:
mflo $2
lui $2, 7
sll $0, $0, 0
addiu $4, $2, 14
TAG509:
mthi $4
addiu $1, $4, 3
bgtz $4, TAG510
sll $0, $0, 0
TAG510:
lhu $2, 0($3)
mult $2, $2
and $4, $2, $2
multu $4, $2
TAG511:
multu $4, $4
multu $4, $4
mfhi $2
lhu $1, 0($4)
TAG512:
mflo $2
addu $3, $1, $2
sh $3, 0($3)
mfhi $3
TAG513:
srl $4, $3, 5
ori $3, $3, 15
sb $4, 0($3)
mult $4, $4
TAG514:
bne $3, $3, TAG515
sltu $3, $3, $3
lw $4, 0($3)
bgtz $3, TAG515
TAG515:
srav $1, $4, $4
mfhi $1
srlv $4, $1, $1
ori $3, $4, 4
TAG516:
andi $3, $3, 12
lui $2, 6
bgtz $3, TAG517
andi $1, $3, 1
TAG517:
mult $1, $1
multu $1, $1
lui $2, 13
sllv $4, $2, $1
TAG518:
mtlo $4
mthi $4
beq $4, $4, TAG519
mtlo $4
TAG519:
andi $2, $4, 14
mfhi $1
mtlo $1
addiu $2, $1, 8
TAG520:
xori $1, $2, 3
mult $2, $1
mtlo $1
mfhi $1
TAG521:
divu $1, $1
mfhi $1
sw $1, 0($1)
sb $1, 0($1)
TAG522:
mtlo $1
mflo $2
bgez $1, TAG523
srl $2, $1, 1
TAG523:
sb $2, 0($2)
multu $2, $2
multu $2, $2
mtlo $2
TAG524:
beq $2, $2, TAG525
srl $2, $2, 0
beq $2, $2, TAG525
srl $3, $2, 9
TAG525:
blez $3, TAG526
sh $3, 0($3)
beq $3, $3, TAG526
lui $2, 13
TAG526:
bgez $2, TAG527
multu $2, $2
sh $2, 0($2)
bne $2, $2, TAG527
TAG527:
sll $0, $0, 0
sll $0, $0, 0
sll $0, $0, 0
lui $4, 8
TAG528:
addiu $1, $4, 3
mfhi $3
sll $0, $0, 0
lui $1, 10
TAG529:
and $2, $1, $1
bne $2, $2, TAG530
sll $0, $0, 0
mtlo $2
TAG530:
lui $3, 7
beq $3, $3, TAG531
divu $3, $3
mflo $1
TAG531:
mfhi $4
xori $1, $1, 14
multu $4, $1
lui $2, 7
TAG532:
blez $2, TAG533
mflo $2
lh $1, 0($2)
sb $1, 0($1)
TAG533:
mfhi $1
srl $3, $1, 14
xor $4, $3, $1
bltz $1, TAG534
TAG534:
lbu $2, 0($4)
addi $2, $4, 2
lh $3, 0($2)
mult $2, $3
TAG535:
lui $4, 12
xor $4, $3, $4
sll $0, $0, 0
sll $0, $0, 0
TAG536:
bgez $4, TAG537
mfhi $1
bgtz $4, TAG537
sll $4, $1, 13
TAG537:
bltz $4, TAG538
mfhi $4
or $3, $4, $4
lbu $2, 0($4)
TAG538:
sltu $2, $2, $2
multu $2, $2
slt $2, $2, $2
bltz $2, TAG539
TAG539:
mflo $1
mtlo $2
andi $3, $1, 4
srav $2, $3, $1
TAG540:
beq $2, $2, TAG541
addiu $4, $2, 9
xori $3, $2, 0
nor $2, $3, $2
TAG541:
mfhi $2
mult $2, $2
andi $2, $2, 9
lbu $4, 0($2)
TAG542:
addu $3, $4, $4
srlv $4, $4, $4
mtlo $3
sb $4, 0($4)
TAG543:
slt $3, $4, $4
sw $4, 0($4)
srav $1, $4, $4
and $3, $1, $1
TAG544:
multu $3, $3
lhu $3, 0($3)
mtlo $3
lui $4, 6
TAG545:
mflo $2
mtlo $2
bne $4, $2, TAG546
srav $2, $2, $4
TAG546:
blez $2, TAG547
sll $2, $2, 11
lui $3, 13
sw $3, 0($2)
TAG547:
mult $3, $3
bne $3, $3, TAG548
lh $4, 0($3)
mflo $1
TAG548:
lh $2, 0($1)
srl $3, $2, 11
bltz $3, TAG549
mtlo $2
TAG549:
sra $4, $3, 14
slt $2, $4, $4
srl $4, $2, 0
addu $3, $4, $2
TAG550:
bne $3, $3, TAG551
mult $3, $3
bne $3, $3, TAG551
mflo $1
TAG551:
mthi $1
sb $1, 0($1)
lui $3, 11
mfhi $1
TAG552:
lui $3, 1
srl $4, $3, 6
addu $2, $3, $3
mflo $1
TAG553:
mtlo $1
blez $1, TAG554
sw $1, 0($1)
lui $2, 0
TAG554:
andi $3, $2, 15
lui $2, 13
beq $2, $2, TAG555
sll $0, $0, 0
TAG555:
mflo $3
bgez $3, TAG556
mthi $3
sb $3, 0($3)
TAG556:
beq $3, $3, TAG557
mtlo $3
bltz $3, TAG557
mthi $3
TAG557:
mfhi $4
bgtz $4, TAG558
sw $3, 0($4)
sh $3, 0($4)
TAG558:
mfhi $2
bgez $4, TAG559
slt $2, $4, $2
divu $2, $2
TAG559:
srav $4, $2, $2
lb $2, 0($4)
mfhi $1
lui $3, 0
TAG560:
subu $2, $3, $3
sw $3, 0($2)
blez $2, TAG561
multu $3, $3
TAG561:
lui $3, 14
mflo $4
xori $3, $3, 4
subu $4, $3, $3
TAG562:
addiu $2, $4, 9
xori $4, $2, 11
mthi $4
subu $4, $4, $4
TAG563:
multu $4, $4
mtlo $4
sb $4, 0($4)
mfhi $3
TAG564:
lui $1, 2
blez $1, TAG565
lui $3, 1
mthi $1
TAG565:
addu $1, $3, $3
mult $1, $1
mult $1, $3
sll $0, $0, 0
TAG566:
sb $2, 0($2)
multu $2, $2
bgez $2, TAG567
ori $2, $2, 0
TAG567:
blez $2, TAG568
lb $1, 0($2)
div $2, $1
mtlo $2
TAG568:
lb $4, 0($1)
lb $3, 0($4)
lbu $3, 0($3)
divu $3, $4
TAG569:
mflo $3
mfhi $1
mult $1, $3
bne $1, $1, TAG570
TAG570:
sltu $4, $1, $1
or $3, $4, $1
multu $3, $4
mult $4, $4
TAG571:
mtlo $3
bgez $3, TAG572
sltiu $3, $3, 7
divu $3, $3
TAG572:
bgez $3, TAG573
and $1, $3, $3
xor $2, $3, $3
div $2, $2
TAG573:
bgtz $2, TAG574
multu $2, $2
multu $2, $2
mtlo $2
TAG574:
mtlo $2
addiu $1, $2, 11
lh $1, 0($1)
bne $1, $1, TAG575
TAG575:
divu $1, $1
bltz $1, TAG576
lui $4, 3
mflo $2
TAG576:
sb $2, 0($2)
sb $2, 0($2)
bne $2, $2, TAG577
sb $2, 0($2)
TAG577:
lbu $1, 0($2)
bltz $2, TAG578
addiu $4, $1, 5
beq $2, $2, TAG578
TAG578:
sb $4, 0($4)
mfhi $2
multu $2, $2
lw $2, 0($2)
TAG579:
sw $2, -256($2)
or $2, $2, $2
lui $1, 15
mfhi $2
TAG580:
lbu $2, 0($2)
mult $2, $2
mthi $2
mthi $2
TAG581:
mtlo $2
lui $1, 14
mtlo $1
mfhi $1
TAG582:
andi $4, $1, 8
bgtz $4, TAG583
sw $1, 0($4)
sll $2, $1, 8
TAG583:
mflo $3
subu $3, $3, $3
lb $3, 0($2)
mflo $1
TAG584:
sll $0, $0, 0
lui $1, 5
sll $0, $0, 0
xor $1, $1, $1
TAG585:
srl $1, $1, 10
multu $1, $1
or $2, $1, $1
bgtz $1, TAG586
TAG586:
srl $4, $2, 6
sra $4, $2, 9
mtlo $4
srav $2, $2, $4
TAG587:
sb $2, 0($2)
lui $2, 11
sll $0, $0, 0
mthi $2
TAG588:
sll $0, $0, 0
multu $2, $2
xor $2, $2, $2
multu $2, $2
TAG589:
bne $2, $2, TAG590
lbu $1, 0($2)
xor $3, $2, $2
lui $3, 4
TAG590:
sll $0, $0, 0
divu $1, $3
sll $0, $0, 0
sll $0, $0, 0
TAG591:
beq $2, $2, TAG592
mflo $2
sw $2, 0($2)
mflo $3
TAG592:
sll $0, $0, 0
sll $0, $0, 0
sll $4, $2, 13
sra $2, $3, 0
TAG593:
lui $1, 13
mflo $4
slt $1, $1, $2
bgtz $1, TAG594
TAG594:
lui $1, 8
sll $0, $0, 0
lui $4, 5
andi $2, $1, 7
TAG595:
xori $4, $2, 8
mult $4, $4
bltz $2, TAG596
mflo $4
TAG596:
mtlo $4
sb $4, 0($4)
mfhi $3
srav $4, $3, $4
TAG597:
bgez $4, TAG598
lh $3, 0($4)
slti $2, $4, 6
sltu $1, $2, $4
TAG598:
mfhi $4
bgez $1, TAG599
mfhi $4
lui $2, 12
TAG599:
sb $2, 0($2)
sw $2, 0($2)
lui $2, 9
sll $0, $0, 0
TAG600:
mfhi $4
blez $4, TAG601
xor $3, $4, $4
beq $3, $4, TAG601
TAG601:
mflo $1
addiu $3, $3, 13
andi $1, $3, 4
mfhi $1
TAG602:
bgez $1, TAG603
lui $1, 6
lui $3, 10
bne $3, $1, TAG603
TAG603:
lbu $3, 0($3)
mult $3, $3
bne $3, $3, TAG604
sh $3, 0($3)
TAG604:
sub $3, $3, $3
lw $2, 0($3)
sb $3, 0($3)
bne $2, $3, TAG605
TAG605:
sb $2, 0($2)
bltz $2, TAG606
multu $2, $2
mult $2, $2
TAG606:
mflo $4
mthi $4
lui $4, 3
lui $2, 10
TAG607:
lui $3, 10
sll $0, $0, 0
addiu $2, $3, 2
mthi $2
TAG608:
multu $2, $2
blez $2, TAG609
lui $1, 7
mfhi $2
TAG609:
bltz $2, TAG610
sllv $3, $2, $2
divu $2, $3
mtlo $2
TAG610:
mthi $3
lui $3, 13
sll $0, $0, 0
bgez $3, TAG611
TAG611:
lui $2, 6
sll $0, $0, 0
sll $0, $0, 0
sll $0, $0, 0
TAG612:
sll $0, $0, 0
mflo $1
mult $4, $4
mthi $4
TAG613:
sra $3, $1, 9
bltz $3, TAG614
lui $3, 6
mflo $3
TAG614:
lui $1, 15
sll $1, $3, 2
lui $3, 12
mult $1, $1
TAG615:
mfhi $1
mtlo $3
bne $1, $3, TAG616
addi $3, $1, 12
TAG616:
lui $3, 11
sll $0, $0, 0
sll $0, $0, 0
bgez $3, TAG617
TAG617:
mult $1, $1
beq $1, $1, TAG618
lh $1, 0($1)
lb $2, 0($1)
TAG618:
mthi $2
mtlo $2
blez $2, TAG619
mflo $2
TAG619:
multu $2, $2
mthi $2
bne $2, $2, TAG620
srav $2, $2, $2
TAG620:
sll $0, $0, 0
and $1, $2, $2
mflo $2
lb $1, 0($2)
TAG621:
andi $4, $1, 1
bgtz $4, TAG622
and $1, $4, $4
sb $4, 0($1)
TAG622:
lw $4, 0($1)
sb $1, 0($4)
slti $4, $1, 7
lui $1, 0
TAG623:
multu $1, $1
sub $2, $1, $1
addiu $3, $2, 5
mfhi $2
TAG624:
bgez $2, TAG625
add $4, $2, $2
mflo $4
mult $2, $2
TAG625:
bgtz $4, TAG626
sll $2, $4, 9
bne $4, $2, TAG626
lui $4, 5
TAG626:
mtlo $4
bne $4, $4, TAG627
sll $0, $0, 0
sll $0, $0, 0
TAG627:
mflo $2
lui $4, 6
andi $4, $4, 6
mflo $1
TAG628:
multu $1, $1
mthi $1
beq $1, $1, TAG629
multu $1, $1
TAG629:
sll $0, $0, 0
sll $0, $0, 0
beq $1, $1, TAG630
sll $0, $0, 0
TAG630:
mthi $1
beq $1, $1, TAG631
mtlo $1
blez $1, TAG631
TAG631:
lui $3, 2
beq $3, $3, TAG632
mfhi $4
multu $4, $4
TAG632:
mthi $4
mfhi $2
mfhi $3
subu $1, $3, $4
TAG633:
mflo $3
bgtz $3, TAG634
sll $0, $0, 0
divu $3, $3
TAG634:
mflo $2
sll $4, $2, 8
multu $3, $4
mfhi $2
TAG635:
sb $2, -6400($2)
mtlo $2
sll $4, $2, 5
lui $4, 9
TAG636:
sll $3, $4, 0
sll $0, $0, 0
mflo $1
mtlo $1
TAG637:
and $4, $1, $1
lui $1, 15
srav $2, $1, $1
mfhi $2
TAG638:
lui $1, 5
div $2, $1
mflo $4
bltz $1, TAG639
TAG639:
mfhi $4
bgez $4, TAG640
multu $4, $4
sw $4, 0($4)
TAG640:
mtlo $4
lhu $4, -6400($4)
sra $1, $4, 13
mtlo $4
TAG641:
slti $4, $1, 15
andi $2, $1, 14
bne $2, $2, TAG642
sb $1, 0($4)
TAG642:
bgtz $2, TAG643
mult $2, $2
srav $3, $2, $2
sh $3, 0($3)
TAG643:
sb $3, 0($3)
lbu $3, 0($3)
xor $2, $3, $3
mflo $2
TAG644:
sw $2, 0($2)
bgtz $2, TAG645
lui $3, 8
sltu $4, $2, $2
TAG645:
sb $4, 0($4)
srl $1, $4, 13
multu $1, $1
lui $3, 5
TAG646:
subu $4, $3, $3
subu $4, $4, $3
sll $0, $0, 0
bltz $4, TAG647
TAG647:
subu $3, $3, $3
slt $1, $3, $3
lui $2, 13
mult $3, $2
TAG648:
sllv $4, $2, $2
sll $0, $0, 0
mfhi $3
beq $2, $4, TAG649
TAG649:
lui $3, 7
sll $0, $0, 0
sll $0, $0, 0
bne $3, $3, TAG650
TAG650:
div $3, $3
lui $4, 8
sll $0, $0, 0
mflo $3
TAG651:
bne $3, $3, TAG652
mfhi $2
sllv $4, $2, $2
multu $3, $2
TAG652:
lb $3, 0($4)
slti $3, $3, 4
beq $4, $4, TAG653
srl $4, $3, 12
TAG653:
mflo $3
lbu $2, 0($4)
lui $2, 1
mtlo $2
TAG654:
sll $0, $0, 0
slt $4, $2, $2
mult $4, $4
mthi $2
TAG655:
addi $3, $4, 3
srlv $2, $3, $3
mflo $3
sllv $2, $3, $4
TAG656:
bgez $2, TAG657
mflo $2
addu $1, $2, $2
mthi $1
TAG657:
bne $1, $1, TAG658
srl $4, $1, 8
subu $1, $1, $1
lui $1, 1
TAG658:
lui $1, 15
sll $0, $0, 0
mtlo $1
mthi $1
TAG659:
lui $2, 7
mfhi $4
xori $3, $4, 8
bne $2, $3, TAG660
TAG660:
sll $0, $0, 0
beq $3, $3, TAG661
divu $3, $3
lw $4, 0($3)
TAG661:
lui $4, 9
bgez $4, TAG662
sll $0, $0, 0
lui $1, 8
TAG662:
sll $0, $0, 0
sll $0, $0, 0
ori $2, $1, 4
sll $0, $0, 0
TAG663:
div $1, $1
lui $3, 9
sll $0, $0, 0
mtlo $3
TAG664:
xori $2, $1, 7
beq $2, $2, TAG665
lui $3, 15
beq $2, $1, TAG665
TAG665:
mflo $1
bne $1, $1, TAG666
lui $2, 3
lui $4, 12
TAG666:
lui $3, 6
sll $0, $0, 0
sltu $2, $4, $3
subu $4, $4, $4
TAG667:
bgez $4, TAG668
mflo $1
mflo $2
blez $1, TAG668
TAG668:
xori $3, $2, 8
lh $1, 0($3)
sltu $3, $3, $1
slt $2, $3, $1
TAG669:
srl $3, $2, 0
addiu $1, $3, 4
bgez $1, TAG670
lui $1, 12
TAG670:
mtlo $1
beq $1, $1, TAG671
srl $2, $1, 8
mfhi $3
TAG671:
sltu $3, $3, $3
lbu $2, 0($3)
beq $3, $3, TAG672
sh $2, 0($2)
TAG672:
beq $2, $2, TAG673
mult $2, $2
divu $2, $2
div $2, $2
TAG673:
multu $2, $2
lui $3, 11
div $2, $3
lb $1, 0($2)
TAG674:
lui $4, 1
addu $1, $4, $1
beq $1, $4, TAG675
srav $3, $1, $4
TAG675:
sltiu $3, $3, 0
bltz $3, TAG676
mflo $2
srav $3, $3, $3
TAG676:
bltz $3, TAG677
sh $3, 0($3)
lui $2, 13
multu $3, $3
TAG677:
subu $3, $2, $2
sll $0, $0, 0
sll $0, $0, 0
xori $2, $3, 12
TAG678:
mthi $2
beq $2, $2, TAG679
sb $2, 0($2)
sb $2, 0($2)
TAG679:
addu $1, $2, $2
sh $2, 0($2)
mflo $1
lbu $1, 0($2)
TAG680:
lb $3, 0($1)
div $1, $3
lui $1, 1
beq $1, $3, TAG681
TAG681:
lui $2, 12
div $2, $1
mflo $1
lui $2, 11
TAG682:
sll $0, $0, 0
sll $0, $0, 0
lui $1, 3
slti $4, $2, 13
TAG683:
sllv $3, $4, $4
sw $4, 0($3)
lbu $1, 0($3)
lui $2, 13
TAG684:
bne $2, $2, TAG685
lui $4, 7
div $2, $2
div $2, $2
TAG685:
blez $4, TAG686
sll $0, $0, 0
bltz $4, TAG686
srlv $2, $4, $4
TAG686:
sll $0, $0, 0
bne $2, $2, TAG687
lui $4, 15
lui $1, 1
TAG687:
div $1, $1
lui $1, 12
bgez $1, TAG688
sra $3, $1, 12
TAG688:
mtlo $3
lbu $1, -192($3)
lui $3, 13
sll $2, $1, 13
TAG689:
sh $2, 0($2)
lui $3, 9
sll $0, $0, 0
sll $0, $0, 0
TAG690:
mthi $2
addiu $1, $2, 14
bne $1, $2, TAG691
mthi $1
TAG691:
andi $3, $1, 6
bltz $3, TAG692
mtlo $3
addiu $1, $3, 3
TAG692:
mfhi $4
mthi $4
divu $4, $1
blez $4, TAG693
TAG693:
mflo $3
srl $2, $3, 15
bltz $2, TAG694
mfhi $4
TAG694:
mflo $1
andi $4, $1, 10
sh $1, 0($4)
sh $1, 0($4)
TAG695:
blez $4, TAG696
mfhi $4
lui $2, 9
mthi $2
TAG696:
lw $2, 0($2)
addu $4, $2, $2
lbu $2, 0($2)
srlv $3, $2, $2
TAG697:
lui $2, 15
lui $2, 11
mfhi $4
sll $0, $0, 0
TAG698:
lbu $3, 0($4)
sh $4, 0($3)
srl $1, $3, 14
mflo $2
TAG699:
mtlo $2
sb $2, 0($2)
xori $1, $2, 0
beq $1, $1, TAG700
TAG700:
xori $1, $1, 14
lui $3, 11
sll $0, $0, 0
lbu $1, 0($1)
TAG701:
beq $1, $1, TAG702
addu $4, $1, $1
mthi $1
bgtz $4, TAG702
TAG702:
div $4, $4
lhu $4, 0($4)
mult $4, $4
sra $2, $4, 10
TAG703:
lbu $1, 0($2)
sw $2, 0($2)
bgez $1, TAG704
sllv $3, $1, $1
TAG704:
bltz $3, TAG705
or $3, $3, $3
mfhi $3
multu $3, $3
TAG705:
mfhi $4
bltz $3, TAG706
lui $2, 14
sb $3, 0($4)
TAG706:
sll $0, $0, 0
lui $3, 3
sra $3, $3, 10
lb $3, -192($3)
TAG707:
lui $4, 14
srlv $4, $4, $3
sll $0, $0, 0
beq $4, $3, TAG708
TAG708:
mthi $3
mflo $3
mfhi $2
and $1, $3, $3
TAG709:
nor $3, $1, $1
mflo $4
mthi $4
bgtz $3, TAG710
TAG710:
xori $3, $4, 9
mthi $3
mflo $1
mtlo $3
TAG711:
bltz $1, TAG712
sh $1, 0($1)
multu $1, $1
nor $1, $1, $1
TAG712:
or $4, $1, $1
sll $4, $4, 0
mtlo $4
srav $3, $4, $1
TAG713:
divu $3, $3
mtlo $3
bgtz $3, TAG714
mtlo $3
TAG714:
srav $2, $3, $3
bgez $2, TAG715
mflo $2
sh $2, 1($3)
TAG715:
sll $0, $0, 0
andi $3, $2, 8
srl $4, $3, 4
lb $4, 0($4)
TAG716:
sb $4, 1($4)
beq $4, $4, TAG717
div $4, $4
bgez $4, TAG717
TAG717:
mfhi $3
div $3, $4
mthi $4
andi $2, $3, 1
TAG718:
beq $2, $2, TAG719
multu $2, $2
sll $3, $2, 7
srlv $4, $3, $2
TAG719:
lui $1, 8
beq $4, $1, TAG720
mthi $1
bne $1, $4, TAG720
TAG720:
lui $2, 1
srl $3, $1, 13
bgtz $1, TAG721
subu $2, $3, $1
TAG721:
subu $3, $2, $2
sll $0, $0, 0
blez $2, TAG722
divu $2, $2
TAG722:
sll $1, $3, 10
bgtz $3, TAG723
sw $3, 0($1)
mthi $1
TAG723:
blez $1, TAG724
lui $1, 2
beq $1, $1, TAG724
mult $1, $1
TAG724:
andi $1, $1, 6
lw $1, 0($1)
bne $1, $1, TAG725
mthi $1
TAG725:
lb $2, 0($1)
mfhi $1
lbu $3, 0($1)
lui $1, 15
TAG726:
bltz $1, TAG727
sll $0, $0, 0
lui $4, 13
mflo $4
TAG727:
sllv $4, $4, $4
lb $2, 0($4)
mfhi $2
sh $4, 0($4)
TAG728:
mult $2, $2
sh $2, 0($2)
addiu $1, $2, 9
srav $2, $2, $2
TAG729:
beq $2, $2, TAG730
mthi $2
sw $2, 0($2)
sh $2, 0($2)
TAG730:
sll $3, $2, 10
lw $4, 0($2)
lui $1, 12
sll $0, $0, 0
TAG731:
bltz $4, TAG732
mtlo $4
beq $4, $4, TAG732
mult $4, $4
TAG732:
beq $4, $4, TAG733
mtlo $4
blez $4, TAG733
lbu $4, 0($4)
TAG733:
sll $0, $0, 0
mult $4, $4
lui $2, 7
sll $0, $0, 0
TAG734:
sll $0, $0, 0
ori $4, $2, 7
bgez $4, TAG735
divu $4, $2
TAG735:
mfhi $1
mflo $4
subu $3, $4, $4
slti $2, $4, 2
TAG736:
bgtz $2, TAG737
mtlo $2
lui $3, 8
lbu $1, 0($3)
TAG737:
addiu $1, $1, 7
lbu $3, 0($1)
bgtz $1, TAG738
addu $4, $1, $3
TAG738:
lhu $4, 0($4)
multu $4, $4
mult $4, $4
or $2, $4, $4
TAG739:
lui $2, 2
slti $1, $2, 5
xor $3, $2, $2
mtlo $2
TAG740:
mtlo $3
bgez $3, TAG741
sh $3, 0($3)
subu $1, $3, $3
TAG741:
mflo $3
lui $1, 10
divu $1, $1
blez $3, TAG742
TAG742:
mflo $3
mfhi $4
lui $3, 10
lui $1, 13
TAG743:
beq $1, $1, TAG744
mult $1, $1
sb $1, 0($1)
addiu $1, $1, 6
TAG744:
and $4, $1, $1
lui $3, 3
srav $4, $3, $4
mult $4, $4
TAG745:
slti $4, $4, 15
srlv $4, $4, $4
srl $4, $4, 3
mthi $4
TAG746:
lh $2, 0($4)
mthi $2
beq $4, $2, TAG747
sh $2, 0($4)
TAG747:
sw $2, 0($2)
beq $2, $2, TAG748
ori $1, $2, 7
addiu $1, $1, 0
TAG748:
beq $1, $1, TAG749
divu $1, $1
lbu $2, 0($1)
mtlo $2
TAG749:
lui $3, 2
bgtz $2, TAG750
mult $2, $2
bltz $3, TAG750
TAG750:
nop
nop
test_end:
beq $0, $0, test_end
nop | 12.948035 | 22 | 0.501406 |
bde7b3ddda4f38ee5c61f86956b62434b1e90c0b | 18,992 | kt | Kotlin | windykotlin/src/test/java/com/thepeaklab/module/windykotlin/viewmodel/WindyMapViewViewModelTest.kt | thepeaklab/WindyKotlin | f92c5ab138f76aaab9d26780ab35c6fd9ba61a52 | [
"MIT"
] | 1 | 2021-07-12T10:01:10.000Z | 2021-07-12T10:01:10.000Z | windykotlin/src/test/java/com/thepeaklab/module/windykotlin/viewmodel/WindyMapViewViewModelTest.kt | thepeaklab/WindyKotlin | f92c5ab138f76aaab9d26780ab35c6fd9ba61a52 | [
"MIT"
] | null | null | null | windykotlin/src/test/java/com/thepeaklab/module/windykotlin/viewmodel/WindyMapViewViewModelTest.kt | thepeaklab/WindyKotlin | f92c5ab138f76aaab9d26780ab35c6fd9ba61a52 | [
"MIT"
] | 2 | 2020-03-16T15:12:39.000Z | 2020-09-29T15:35:51.000Z | package com.thepeaklab.module.windykotlin.viewmodel
import android.content.Context
import android.content.res.TypedArray
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.nhaarman.mockitokotlin2.any
import com.nhaarman.mockitokotlin2.doAnswer
import com.nhaarman.mockitokotlin2.eq
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.spy
import com.nhaarman.mockitokotlin2.times
import com.nhaarman.mockitokotlin2.verify
import com.nhaarman.mockitokotlin2.whenever
import com.thepeaklab.module.windykotlin.R
import com.thepeaklab.module.windykotlin.core.WindyHTMLResources
import com.thepeaklab.module.windykotlin.core.models.Coordinate
import com.thepeaklab.module.windykotlin.core.models.Icon
import com.thepeaklab.module.windykotlin.core.models.Marker
import com.thepeaklab.module.windykotlin.core.models.WindyEventContent
import com.thepeaklab.module.windykotlin.core.models.WindyIcon
import com.thepeaklab.module.windykotlin.core.models.WindyInitOptions
import com.thepeaklab.module.windykotlin.core.models.WindyZoomPanOptions
import com.thepeaklab.module.windykotlin.view.WindyMapViewContext
import org.junit.Before
import org.junit.Rule
import org.junit.Test
import java.util.UUID
/**
* WindyMapViewViewModelTest
* Windykotlin
*
* Created by Thomas Cirksena on 2019-11-28.
* Copyright © 2019 the peak lab. gmbh & co. kg. All rights reserved.
*/
@Suppress("UNCHECKED_CAST")
class WindyMapViewViewModelTest {
@JvmField
@Rule
var instantTaskExecutorRule = InstantTaskExecutorRule()
lateinit var viewContext: WindyMapViewContext
lateinit var context: Context
lateinit var htmlResources: WindyHTMLResources
@Before
fun setUp() {
viewContext = mock()
context = mock()
htmlResources = mock()
}
@Test
fun `initializeMap | no options | don't run map init`() {
// init ViewModel
WindyMapViewViewModel(viewContext, htmlResources)
// check assertions
verify(viewContext, times(0)).initMap(any())
}
@Test
fun `initializeMap | with options | run map init`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
// define mock behavior
whenever(htmlResources.indexHTML(any<WindyInitOptions>())).thenReturn("html-content")
// init ViewModel
val viewModel = WindyMapViewViewModel(viewContext, htmlResources, options)
// trigger action
viewModel.initializeMap()
// check assertions
verify(viewContext, times(1)).initMap(any())
}
@Test
fun `initializeMap | with options | html content is loaded`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
// define mock behavior
whenever(htmlResources.indexHTML(any<WindyInitOptions>())).thenReturn("html-content")
// init ViewModel
val viewModel = WindyMapViewViewModel(viewContext, htmlResources, options)
// trigger action
viewModel.initializeMap()
// check assertions
verify(htmlResources, times(1)).indexHTML(eq(options))
}
@Test
fun `options | set by WindyInitOptions | map init is requested`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
// define mock behavior
whenever(htmlResources.indexHTML(any<WindyInitOptions>())).thenReturn("html-content")
// init ViewModel
val viewModel = spy(WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.setOptions(options)
// check assertions
verify(viewModel, times(1)).initializeMap()
}
@Test
fun `options | set by TypedArray without 'apiKey' | map init is not requested`() {
// define test data
val typedArray: TypedArray = mock()
val apiKey = "Ma-API-Key"
val lat = 52.0f
val lng = 8.0f
val zoom = 5
// define mock behavior
whenever(typedArray.indexCount).thenReturn(3)
whenever(typedArray.getIndex(eq(1))).thenReturn(R.styleable.WindyMapView_lat)
whenever(typedArray.getIndex(eq(2))).thenReturn(R.styleable.WindyMapView_lng)
whenever(typedArray.getIndex(eq(3))).thenReturn(R.styleable.WindyMapView_zoom)
whenever(typedArray.getFloat(eq(R.styleable.WindyMapView_lat), eq(-1f))).thenReturn(lat)
whenever(typedArray.getFloat(eq(R.styleable.WindyMapView_lng), eq(-1f))).thenReturn(lng)
whenever(typedArray.getInteger(eq(R.styleable.WindyMapView_zoom), eq(-1))).thenReturn(zoom)
// init ViewModel
val viewModel = spy(WindyMapViewViewModel(viewContext, htmlResources))
// trigger action
viewModel.setOptions(typedArray)
// check assertions
verify(viewModel, times(0)).setOptions(any<WindyInitOptions>())
}
@Test
fun `options | set by TypedArray with 'apiKey' | map init is requested`() {
// define test data
val apiKey = "Ma-API-Key"
val lat = 52.0f
val lng = 8.0f
val zoom = 5
val typedArray: TypedArray = mock()
// define mock behavior
whenever(typedArray.indexCount).thenReturn(4)
whenever(typedArray.getIndex(eq(0))).thenReturn(R.styleable.WindyMapView_apiKey)
whenever(typedArray.getIndex(eq(1))).thenReturn(R.styleable.WindyMapView_lat)
whenever(typedArray.getIndex(eq(2))).thenReturn(R.styleable.WindyMapView_lng)
whenever(typedArray.getIndex(eq(3))).thenReturn(R.styleable.WindyMapView_zoom)
whenever(typedArray.getString(eq(R.styleable.WindyMapView_apiKey))).thenReturn(apiKey)
whenever(typedArray.getFloat(eq(R.styleable.WindyMapView_lat), eq(-1f))).thenReturn(lat)
whenever(typedArray.getFloat(eq(R.styleable.WindyMapView_lng), eq(-1f))).thenReturn(lng)
whenever(typedArray.getInteger(eq(R.styleable.WindyMapView_zoom), eq(-1))).thenReturn(zoom)
// init ViewModel
val viewModel = spy(WindyMapViewViewModel(viewContext, htmlResources))
// trigger action
viewModel.setOptions(typedArray)
// check assertions
verify(viewModel, times(1)).initializeMap()
}
@Test
fun `panTo | without options | request js-snippet without options`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val coordinate = Coordinate(51.0, 8.0)
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.panTo(coordinate)
// check assertions
verify(htmlResources, times(1)).panToJSSnippet(eq(coordinate), eq(null))
}
@Test
fun `panTo | with options | request js-snippet with options`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val zoomPanOptions = WindyZoomPanOptions(animate = true)
val coordinate = Coordinate(51.0, 8.0)
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.panTo(coordinate, zoomPanOptions)
// check assertions
verify(htmlResources, times(1)).panToJSSnippet(eq(coordinate), eq(zoomPanOptions))
}
@Test
fun `panTo | evaluates script`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val zoomPanOptions = WindyZoomPanOptions(animate = true)
val coordinate = Coordinate(51.0, 8.0)
// define mock behavior
whenever(htmlResources.panToJSSnippet(eq(coordinate), eq(zoomPanOptions))).thenReturn("JS-Snippet")
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.panTo(coordinate, zoomPanOptions)
// check assertions
verify(viewContext, times(1)).evaluateScript(eq("JS-Snippet"), eq(null))
}
@Test
fun `setZoom | without options | request js-snippet without options`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val zoomLevel = 6
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.setZoom(zoomLevel)
// check assertions
verify(htmlResources, times(1)).setZoomJSSnippet(eq(zoomLevel), eq(null))
}
@Test
fun `setZoom | with options | request js-snippet with options`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val zoomPanOptions = WindyZoomPanOptions(animate = true)
val zoomLevel = 6
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.setZoom(zoomLevel, zoomPanOptions)
// check assertions
verify(htmlResources, times(1)).setZoomJSSnippet(eq(zoomLevel), eq(zoomPanOptions))
}
@Test
fun `setZoom | evaluates script`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val zoomPanOptions = WindyZoomPanOptions(animate = true)
val zoomLevel = 6
// define mock behavior
whenever(htmlResources.setZoomJSSnippet(eq(zoomLevel), eq(zoomPanOptions))).thenReturn("JS-Snippet")
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.setZoom(6, zoomPanOptions)
// check assertions
verify(viewContext, times(1)).evaluateScript(eq("JS-Snippet"), eq(null))
}
@Test
fun `fitBounds | request js-snippet`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val coordinates = listOf(
Coordinate(1.0, 2.0),
Coordinate(3.0, 4.0),
Coordinate(5.0, 6.0)
)
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.fitBounds(coordinates)
// check assertions
verify(htmlResources, times(1)).fitBoundsJSSnippet(eq(coordinates))
}
@Test
fun `fitBounds | evaluates script`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val coordinates = listOf(
Coordinate(1.0, 2.0),
Coordinate(3.0, 4.0),
Coordinate(5.0, 6.0)
)
// define mock behavior
whenever(htmlResources.fitBoundsJSSnippet(eq(coordinates))).thenReturn("JS-Snippet")
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.fitBounds(coordinates)
// check assertions
verify(viewContext, times(1)).evaluateScript(eq("JS-Snippet"), eq(null))
}
@Test
fun `getMapCenter | request js-snippet`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val closure: (Coordinate?) -> Unit = mock()
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.getMapCenter(closure)
// check assertions
verify(htmlResources, times(1)).getCenterJSSnippet()
}
@Test
fun `getMapCenter | evaluates script`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val closure: (Coordinate?) -> Unit = mock()
// define mock behavior
whenever(htmlResources.getCenterJSSnippet()).thenReturn("JS-Snippet")
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.getMapCenter(closure)
// check assertions
verify(viewContext, times(1)).evaluateScript(eq("JS-Snippet"), any())
}
@Test
fun `getMapCenter | on js object return | object is decoded`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val closure: (Coordinate?) -> Unit = mock()
// define mock behavior
whenever(htmlResources.getCenterJSSnippet()).thenReturn("JS-Snippet")
doAnswer { invocation ->
val closureMock = invocation.arguments[1] as (String) -> Unit
closureMock("")
}.whenever(viewContext).evaluateScript(eq("JS-Snippet"), any())
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.getMapCenter(closure)
// check assertions
verify(htmlResources, times(1)).decodeJavaScriptObject(any(), eq(Coordinate::class.java))
}
@Test
fun `addMarker | request js-snippet`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val marker = Marker(
uuid = UUID.randomUUID(),
coordinate = Coordinate(
lat = 2.0,
lng = 5.0
),
icon = WindyIcon(
icon = Icon(url = "http://www.my.test.image.png")
)
)
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.addMarker(context, marker)
// check assertions
verify(htmlResources, times(1)).addMarkerJSSnippet(eq(context), eq(marker))
}
@Test
fun `addMarker | evaluates script`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val marker = Marker(
uuid = UUID.randomUUID(),
coordinate = Coordinate(
lat = 2.0,
lng = 5.0
),
icon = WindyIcon(
icon = Icon(url = "http://www.my.test.image.png")
)
)
// define mock behavior
whenever(htmlResources.addMarkerJSSnippet(eq(context), eq(marker))).thenReturn("JS-Snippet")
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.addMarker(context, marker)
// check assertions
verify(viewContext, times(1)).evaluateScript(eq("JS-Snippet"), eq(null))
}
@Test
fun `removeMarker | request js-snippet`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val uuid = UUID.randomUUID()
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.removeMarker(uuid)
// check assertions
verify(htmlResources, times(1)).removeMarkerJSSnippet(eq(uuid))
}
@Test
fun `removeMarker | evaluates script`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val uuid = UUID.randomUUID()
// define mock behavior
whenever(htmlResources.removeMarkerJSSnippet(eq(uuid))).thenReturn("JS-Snippet")
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
viewModel.removeMarker(uuid)
// check assertions
verify(viewContext, times(1)).evaluateScript(eq("JS-Snippet"), eq(null))
}
@Test
fun `handleEvent | on js object return | object is decoded`() {
// define test data
val options = WindyInitOptions(
key = "My-API-Key",
verbose = true,
lat = 53.0,
lon = 18.5,
zoom = 10
)
val event = "{}"
// define mock behavior
whenever(htmlResources.getCenterJSSnippet()).thenReturn("JS-Snippet")
// init ViewModel
val viewModel = (WindyMapViewViewModel(viewContext, htmlResources, options))
// trigger action
//language=JSON
viewModel.handleEvent("{\n \"name\" : \"markerclick\",\n \"options\" : {\n \"bounds\": {\n \"_northEast\": {\n \"lat\": 52,\n \"lng\": 8\n },\n \"_southWest\": {\n \"lat\": 52,\n \"lng\": 8\n }\n },\n \"uuid\": \"3aa8df6e-3071-42d1-a1d3-3cf47c2dce30\"\n }\n}")
viewModel.handleEvent(event)
// check assertions
verify(htmlResources, times(1)).decodeJavaScriptObject(eq(event), eq(WindyEventContent::class.java))
}
} | 30.290271 | 328 | 0.592039 |
12dc8f09a00fe2d3d7dcfae5132dae57df0713c5 | 1,454 | html | HTML | examples/simple/exp/input-2.html | jhyry-gcpud/saxon-gradle | 011213a0469fff91b5f0b4596cbb932bd9476d10 | [
"MIT"
] | 17 | 2017-03-16T10:40:36.000Z | 2022-03-06T20:19:14.000Z | examples/simple/exp/input-2.html | ecompositor/saxon-gradle | 2261d6e77334b6a9f7b2537a137b97c4bbf09638 | [
"MIT"
] | 33 | 2016-04-06T13:49:20.000Z | 2021-11-19T07:59:28.000Z | examples/simple/exp/input-2.html | ecompositor/saxon-gradle | 2261d6e77334b6a9f7b2537a137b97c4bbf09638 | [
"MIT"
] | 11 | 2016-06-27T08:30:38.000Z | 2022-01-12T02:43:15.000Z | <!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Purchase Order</title>
<style type="text/css">
body {
font-family: sans-serif;
padding: 0.625rem
}
dt {
font-weight: bold;
}
.DeliveryNotes {
font-style: italic;
}
</style>
</head>
<body>
<h1>Purchase Order</h1>
<article class="PurchaseOrder" data-order-number="52256">
<dl>
<dt>Order date</dt>
<dd><time>2016-04-01</time></dd>
</dl>
<h2>Purchase Order 52256</h2>
<h3>Shipping address</h3>
<address data-type="Shipping">John Doe<br>456 Parkway Drive<br>Sydney<br>New South Wales 10150 Australia </address>
<h3>Billing address</h3>
<address data-type="Billing">Jane Doe<br>456 Parkway Drive<br>Sydney<br>New South Wales 10150 Australia </address>
<p class="DeliveryNotes">Deliver packages personally.</p>
<dl>
<dt data-part-number="367-XY">Heroin</dt>
<dd class="Quantity">3</dd>
<dd class="USPrice">3234.14</dd>
<dt data-part-number="221-BC">Chainsaw</dt>
<dd class="Quantity">1</dd>
<dd class="USPrice">129.95</dd>
<dd class="ShipDate">2015-10-12</dd>
</dl>
</article>
</body>
</html> | 32.311111 | 124 | 0.528886 |
36aaf459a56eeec0dba5b0754d3bab3773ea5672 | 150 | rs | Rust | src/test/run-fail/expr-if-panic.rs | komaeda/rust | b2c6b8c29f13f8d1f242da89e587960b95337819 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 518 | 2015-08-13T08:50:23.000Z | 2020-07-23T19:52:51.000Z | src/test/run-fail/expr-if-panic.rs | komaeda/rust | b2c6b8c29f13f8d1f242da89e587960b95337819 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 157 | 2015-08-09T12:52:55.000Z | 2020-07-19T20:02:52.000Z | src/test/run-fail/expr-if-panic.rs | komaeda/rust | b2c6b8c29f13f8d1f242da89e587960b95337819 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 29 | 2015-09-06T00:03:53.000Z | 2020-04-05T10:05:38.000Z | // error-pattern:explicit panic
fn main() {
let _x = if false {
0
} else if true {
panic!()
} else {
10
};
}
| 12.5 | 31 | 0.433333 |
c985142d3c1be469148996c165371bf4dc79ae86 | 5,003 | kt | Kotlin | app/src/main/java/com/italiasimon/themoviedatabase/repositories/MoviesRepository.kt | simonitalia/the-movie-database | c69c4bfc307b2a8984bf3e29eec7457b7dd9b24f | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/italiasimon/themoviedatabase/repositories/MoviesRepository.kt | simonitalia/the-movie-database | c69c4bfc307b2a8984bf3e29eec7457b7dd9b24f | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/italiasimon/themoviedatabase/repositories/MoviesRepository.kt | simonitalia/the-movie-database | c69c4bfc307b2a8984bf3e29eec7457b7dd9b24f | [
"Apache-2.0"
] | null | null | null | package com.italiasimon.themoviedatabase.repositories
import android.util.Log
import com.italiasimon.themoviedatabase.models.Movie
import com.italiasimon.themoviedatabase.tmdbClient.TmdbApi
import com.italiasimon.themoviedatabase.tmdbClient.TmdbGetMoviesResponse
import retrofit2.Call
import retrofit2.Callback
import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
class MoviesRepository {
companion object {
private const val TAG = "MoviesRepository"
private const val BASE_URL = "https://api.themoviedb.org/3/"
}
private val api: TmdbApi
init {
val retrofit = Retrofit.Builder()
.baseUrl(BASE_URL)
.addConverterFactory(GsonConverterFactory.create())
.build()
api = retrofit.create(TmdbApi::class.java)
}
/*
* Get movies list from api endpoint.
*/
fun updateMovies(
endpoint: TmdbApi.Endpoint,
page: Int = 1,
onSuccess: (movies: List<Movie>) -> Unit,
onError: () -> Unit
) {
when (endpoint) {
// fetch popular movies
TmdbApi.Endpoint.POPULAR -> {
api.getPopularMovies(page = page)
.enqueue(object : Callback<TmdbGetMoviesResponse> {
override fun onResponse(
call: Call<TmdbGetMoviesResponse>,
response: Response<TmdbGetMoviesResponse>
) {
if (response.isSuccessful) {
val responseBody = response.body()
// on successful fetch
if (responseBody != null) {
onSuccess(responseBody.movies)
// on unsuccessful fetch
} else {
onError()
}
}
}
// on fetch error
override fun onFailure(call: Call<TmdbGetMoviesResponse>, t: Throwable) {
Log.e(TAG, ".api.getPopularMovies failure: ${t.localizedMessage}", t)
onError()
}
})
}
// fetch top rated
TmdbApi.Endpoint.TOP_RATED-> {
api.getTopRatedMovies(page = page)
.enqueue(object : Callback<TmdbGetMoviesResponse> {
override fun onResponse(
call: Call<TmdbGetMoviesResponse>,
response: Response<TmdbGetMoviesResponse>
) {
if (response.isSuccessful) {
val responseBody = response.body()
// on successful fetch
if (responseBody != null) {
onSuccess(responseBody.movies)
// on unsuccessful fetch
} else {
onError()
}
}
}
// on fetch error
override fun onFailure(call: Call<TmdbGetMoviesResponse>, t: Throwable) {
Log.e(TAG, ".api.getTopRatedMovies failure: ${t.localizedMessage}", t)
onError()
}
})
}
// fetch upcoming
TmdbApi.Endpoint.UPCOMING-> {
api.getUpcomingMovies(page = page)
.enqueue(object : Callback<TmdbGetMoviesResponse> {
override fun onResponse(
call: Call<TmdbGetMoviesResponse>,
response: Response<TmdbGetMoviesResponse>
) {
if (response.isSuccessful) {
val responseBody = response.body()
// on successful fetch
if (responseBody != null) {
onSuccess(responseBody.movies)
// on unsuccessful fetch
} else {
onError()
}
}
}
// on fetch error
override fun onFailure(call: Call<TmdbGetMoviesResponse>, t: Throwable) {
Log.e(TAG, ".api.getUpcomingMovies failure:: ${t.localizedMessage}", t)
onError()
}
})
}
}
}
} | 37.059259 | 99 | 0.430742 |
67c8a244389da16e9d3c9f8bb4dd6e222e42690c | 308 | asm | Assembly | oeis/322/A322113.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/322/A322113.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/322/A322113.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A322113: Number of non-isomorphic self-dual connected antichains of multisets of weight n.
; Submitted by Jon Maiga
; 1,1,1,1,2,2,3,5,10,18,30
mov $1,1
mov $2,1
mov $3,$0
mul $3,4
lpb $3
sub $1,2
add $2,$1
sub $1,1
sub $3,1
mov $4,2
lpe
div $1,2
pow $4,$0
div $2,$4
div $1,$2
mov $0,$1
add $0,1
| 14 | 92 | 0.616883 |
59904677854344d75e1aa6efcadf43406cf1048a | 3,588 | cpp | C++ | aegisub/libaegisub/common/fs.cpp | rcombs/Aegisub | 58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50 | [
"ISC"
] | 1 | 2018-02-12T02:44:57.000Z | 2018-02-12T02:44:57.000Z | aegisub/libaegisub/common/fs.cpp | rcombs/Aegisub | 58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50 | [
"ISC"
] | null | null | null | aegisub/libaegisub/common/fs.cpp | rcombs/Aegisub | 58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50 | [
"ISC"
] | 2 | 2018-02-12T03:46:24.000Z | 2018-02-12T14:36:07.000Z | // Copyright (c) 2013, Thomas Goyne <plorkyeran@aegisub.org>
//
// Permission to use, copy, modify, and distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
// Aegisub Project http://www.aegisub.org/
#include "config.h"
#include "libaegisub/fs.h"
#include "libaegisub/access.h"
#include "libaegisub/exception.h"
#include "libaegisub/log.h"
#include <boost/algorithm/string/predicate.hpp>
#define BOOST_NO_SCOPED_ENUMS
#include <boost/filesystem.hpp>
#undef BOOST_NO_SCOPED_ENUMS
namespace bfs = boost::filesystem;
namespace ec = boost::system::errc;
// boost::filesystem functions throw a single exception type for all
// errors, which isn't really what we want, so do some crazy wrapper
// shit to map error codes to more useful exceptions.
#define CHECKED_CALL(exp, src_path, dst_path) \
boost::system::error_code ec; \
exp; \
switch (ec.value()) {\
case ec::success: break; \
case ec::no_such_file_or_directory: throw FileNotFound(src_path); \
case ec::is_a_directory: throw NotAFile(src_path); \
case ec::not_a_directory: throw NotADirectory(src_path); \
case ec::no_space_on_device: throw DriveFull(dst_path); \
case ec::permission_denied: \
if (!src_path.empty()) \
acs::CheckFileRead(src_path); \
if (!dst_path.empty()) \
acs::CheckFileWrite(dst_path); \
throw AccessDenied(src_path); \
default: \
LOG_D("filesystem") << "Unknown error when calling '" << #exp << "': " << ec << ": " << ec.message(); \
throw FileSystemUnknownError(ec.message()); \
}
#define CHECKED_CALL_RETURN(exp, src_path) \
CHECKED_CALL(auto ret = exp, src_path, agi::fs::path()); \
return ret
#define WRAP_BFS(bfs_name, agi_name) \
auto agi_name(path const& p) -> decltype(bfs::bfs_name(p)) { \
CHECKED_CALL_RETURN(bfs::bfs_name(p, ec), p); \
}
#define WRAP_BFS_IGNORE_ERROR(bfs_name, agi_name) \
auto agi_name(path const& p) -> decltype(bfs::bfs_name(p)) { \
boost::system::error_code ec; \
return bfs::bfs_name(p, ec); \
}
// sasuga windows.h
#undef CreateDirectory
namespace agi { namespace fs {
WRAP_BFS_IGNORE_ERROR(exists, Exists)
WRAP_BFS_IGNORE_ERROR(is_regular_file, FileExists)
WRAP_BFS_IGNORE_ERROR(is_directory, DirectoryExists)
WRAP_BFS(file_size, SizeImpl)
WRAP_BFS(last_write_time, ModifiedTime)
WRAP_BFS(create_directories, CreateDirectory)
WRAP_BFS(space, Space)
WRAP_BFS(remove, Remove)
WRAP_BFS(canonical, Canonicalize)
uintmax_t Size(path const& p) {
if (DirectoryExists(p))
throw NotAFile(p);
return SizeImpl(p);
}
uintmax_t FreeSpace(path const& p) {
return Space(p).available;
}
void Rename(const path& from, const path& to) {
CHECKED_CALL(bfs::rename(from, to, ec), from, to);
}
bool HasExtension(path const& p, std::string const& ext) {
auto filename = p.filename().string();
if (filename.size() < ext.size() + 1) return false;
if (filename[filename.size() - ext.size() - 1] != '.') return false;
return boost::iends_with(filename, ext);
}
} }
| 33.849057 | 106 | 0.726031 |
80bf45d9ae218fdd452ecb3617c618842631411e | 6,391 | java | Java | odin-cloud-advertise-service/src/main/java/com/pxene/odin/cloud/web/controller/PackageController.java | shiyi-zhang/dsp | a1348880b9a6541996a88503dbc212071ae15802 | [
"Apache-2.0"
] | null | null | null | odin-cloud-advertise-service/src/main/java/com/pxene/odin/cloud/web/controller/PackageController.java | shiyi-zhang/dsp | a1348880b9a6541996a88503dbc212071ae15802 | [
"Apache-2.0"
] | null | null | null | odin-cloud-advertise-service/src/main/java/com/pxene/odin/cloud/web/controller/PackageController.java | shiyi-zhang/dsp | a1348880b9a6541996a88503dbc212071ae15802 | [
"Apache-2.0"
] | null | null | null | package com.pxene.odin.cloud.web.controller;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.pxene.odin.cloud.common.constant.PhrasesConstant;
import com.pxene.odin.cloud.domain.PaginationResponse;
import com.pxene.odin.cloud.domain.model.CreativeModel;
import com.pxene.odin.cloud.domain.vo.PackageVO;
import com.pxene.odin.cloud.exception.DuplicateEntityException;
import com.pxene.odin.cloud.exception.IllegalArgumentException;
import com.pxene.odin.cloud.exception.ResourceNotFoundException;
import com.pxene.odin.cloud.service.CreativeService;
import com.pxene.odin.cloud.service.PackageService;
import lombok.extern.slf4j.Slf4j;
/**
* 物料包
* @author lizhuoling
*
*/
@RestController
@Slf4j
public class PackageController {
@Autowired
PackageService packageService;
@Autowired
private CreativeService creativeService;
/**
* 创建物料包
* @param packageVO
* @return
* @throws Exception
*/
@RequestMapping(value = "/package", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<Map<String, Integer>> createPackage(@Valid @RequestBody PackageVO packageVO) throws Exception {
log.debug("<=DSP-Advertiser=> Creating Package {}." + packageVO.getName());
// 判断名称是否重复
String name = packageVO.getName();
Integer campaignId = packageVO.getCampaignId();
if (packageService.isPackageNameExist(name, campaignId)) {
log.debug("<=DSP-Advertiser=> PackageName already exit." + packageVO.getName());
throw new DuplicateEntityException(PhrasesConstant.NAME_IS_EXIST);
}
// 创建物料包
packageService.createPackage(packageVO);
// 返回物料包ID
Map<String, Integer> resultMap = new HashMap<>();
resultMap.put("id", packageVO.getId());
return new ResponseEntity<>(resultMap,HttpStatus.CREATED);
}
/**
* 编辑物料包
* @param id 物料包ID
* @param packageVO 物料包信息
* @return
* @throws Exception
*/
@RequestMapping(value = "/package/{id}", method = RequestMethod.PUT, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<PackageVO> updatePackage(@PathVariable Integer id, @RequestBody PackageVO packageVO) throws Exception {
log.debug("<=DSP-Advertiser=> Updating package {}." + id);
// 查询物料包
PackageVO packageDB = packageService.getPackage(id);
// 判断物料包是否存在
if (packageDB == null) {
log.debug("<=DSP-Advertiser=> Package with id not found." + id);
throw new DuplicateEntityException(PhrasesConstant.PACKAGE_IS_NOT_EXIST);
}
// 判断物料包名称是否重复
if (packageService.isUpdateNameExist(id, packageVO)) {
log.debug("<=DSP-Advertiser=> PackageName already exit." + packageVO.getName());
throw new DuplicateEntityException(PhrasesConstant.NAME_IS_EXIST);
}
// 更新物料包
packageService.updatePackage(id, packageVO);
return new ResponseEntity<>(HttpStatus.NO_CONTENT);
}
/**
* 根据物料包id查询物料包详情
* @param id
* @return
* @throws Exception
*/
@RequestMapping(value = "/package/{id}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<PackageVO> getPackage(@PathVariable Integer id) throws Exception {
log.info("<=DSP-Advertiser=> Fetching Package with id {}." + id);
// 查询物料包信息
PackageVO packageVO = packageService.getPackage(id);
// 判断物料包信息是否为空
if (packageVO == null) {
log.debug("<=DSP-Advertiser=> Package with id not found." + id);
throw new DuplicateEntityException(PhrasesConstant.PACKAGE_IS_NOT_EXIST);
}
return new ResponseEntity<PackageVO>(packageVO, HttpStatus.OK);
}
/**
* 批量查询物料包
* @param pageNo
* @param pageSize
* @return
* @throws Exception
*/
@RequestMapping(value = "/packages", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<PaginationResponse> listPackages(@RequestParam(required = false)Integer campaignId, @RequestParam(required = false)Integer pageNo,
@RequestParam(required = false)Integer pageSize) throws Exception {
// 分页信息
Page<Object> pager = null;
if (pageNo !=null && pageSize != null) {
pager = PageHelper.startPage(pageNo, pageSize);
}
// 查询物料包信息
List<PackageVO> packages = packageService.listPackages(campaignId);
// 分页
PaginationResponse result = new PaginationResponse(packages, pager);
// 返回物料包信息
return new ResponseEntity<PaginationResponse>(result, HttpStatus.OK);
}
/**
* 编辑创意名称
* @param id 创意ID
* @param map 包含创意名称的请求参数,格式为JSON,如{"name": "tony"}
* @return
* @throws Exception
*/
@PutMapping(value = "/package/creative/{id}", consumes = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<Void> updateCreativeName(@PathVariable(name = "id", required = true) Integer id, @RequestBody Map<String, String> map) throws Exception
{
CreativeModel creative = creativeService.getCreativeById(id);
if (creative == null)
{
throw new ResourceNotFoundException();
}
String name = map.get("name");
if (StringUtils.isEmpty(name))
{
throw new IllegalArgumentException();
}
if (name.length() > 20)
{
throw new IllegalArgumentException(PhrasesConstant.LENGTH_ERROR_NAME);
}
creativeService.updateCreativeNameById(id, name);
return ResponseEntity.status(HttpStatus.NO_CONTENT).body(null);
}
@GetMapping(value = "/package/checkCode/{id}",produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<Map> checkCode(@PathVariable Integer id){
Map<String,String> map = new HashMap();
map.put("result", packageService.checkCode(id));
return ResponseEntity.ok(map);
}
}
| 34.545946 | 158 | 0.747457 |
49add65209a064b6ba3cb20201cf94381975f3ae | 8,821 | html | HTML | gramsci-dictionary-old/dictionary_entries/Francia/index.html | m1ksoftware/ajax-solr | 2fc6fe1e887f726cd1600fefc85cb57667323282 | [
"Apache-2.0"
] | 2 | 2015-01-19T08:56:29.000Z | 2016-03-29T11:13:10.000Z | gramsci-dictionary/dictionary_entries_old/Francia/index.html | chrmor/ajax-solr | 2fc6fe1e887f726cd1600fefc85cb57667323282 | [
"Apache-2.0"
] | null | null | null | gramsci-dictionary/dictionary_entries_old/Francia/index.html | chrmor/ajax-solr | 2fc6fe1e887f726cd1600fefc85cb57667323282 | [
"Apache-2.0"
] | null | null | null | <html><head><title>Gramsci Dictionary: Francia</title></head><body><p> Il lemma fa registrare nei Q ben 502 ricorrenze, un numero estremamente elevato che fa riflettere e che indica l'importanza che ha per G. il paese transalpino, la sua storia, la sua cultura. Come per Machiavelli, la Francia funge per G. da modello ideale su cui misurare il grado di sviluppo della storia italiana. Essa rappresenta la situazione nazionale in cui la borghesia ha storicamente ottenuto i risultati migliori, in termini di progresso materiale e intellettuale di massa. Le condizioni di vita nelle campagne francesi non sono paragonabili a quelle in cui versano i contadini italiani: i contadini francesi godono – nota G. – di un consumo calorico pro capite superiore di un terzo rispetto a quello degli italiani (<a href='http://dl.gramsciproject.org/quaderno/1/nota/48' target='_blank' class='link-to-note'>Q 1, 48</a>, 60, Testo A) e, in genere, hanno migliori disponibilità alimentari. Anche i fenomeni di bracciantato stagionale sono molto più circoscritti. La povertà nelle campagne non conosce i fenomeni di ribellismo endemico tipico delle campagne meridionali italiane. Lo stesso fenomeno dell'urbanesimo non ha alla base la fuga e l'esodo dalle campagne (origine dei fenomeni migratori intercontinentali nostrani), ma la ricerca di condizioni di vita migliori e più agevoli (<a href='http://dl.gramsciproject.org/quaderno/1/nota/48' target='_blank' class='link-to-note'>ivi</a>, 61). Anche i fenomeni demografici assumono in Francia caratteristiche di tipo moderno: allungamento della vita, denatalità, aumento di manodopera straniera immigrata che modifica, come nell'America del Nord, la divisione del lavoro («mestieri qualificati per gli indigeni, oltre alle funzioni direttive e organizzative, e «mestieri non qualificati per gli immigrati») (<a href='http://dl.gramsciproject.org/quaderno/1/nota/62' target='_blank' class='link-to-note'>Q 1, 62</a>, 73, Testo A). I giacobini sono riusciti in ciò che il Partito d'Azione in Italia ha miseramente fallito nel corso del Risorgimento: unire la città alla campagna. Le campagne italiane hanno aderito alla reazione della monarchia e dell'alto clero a causa dell'assenza della questione della proprietà della terra nel programma del Partito d'Azione. I giacobini francesi sono riusciti ad avere Parigi e tutte le campagne dalla loro parte grazie a una robusta legislazione che colpiva la proprietà e i privilegi feudali. Se così non avessero fatto, avrebbero avuto la Vandea alle porte. Anche per la Francia la guerra contro la coalizione antifrancese ha costituito un coagulo di tutte le forze interne francesi le quali, accomunate dalla minaccia estera, hanno superato divisioni e contrasti di classe. Questo, afferma G., è però avvenuto solo dopo che le forze rivoluzionarie avevano conquistato saldamente il potere e potevano rivolgere la loro energia all'esterno. In Italia, l'aver identificato il nemico nell'occupante austriaco è servito a rimuovere il conflitto tra grande proprietà terriera e contadini, a non riconoscere nelle lotte contadine all'interno dell'impero austriaco un esempio da sostenere. Le forze sabaude hanno preferito mobilitare l'aristocrazia e l'alta borghesia alla causa antiaustriaca e unitaria, escludendo i democratici e persino l'aiuto militare delle forze popolari. La parola d'ordine «“indipendenza e unità”» era stata in questo modo svuotata di contenuto politico concreto (<a href='http://dl.gramsciproject.org/quaderno/19/nota/24' target='_blank' class='link-to-note'>Q 19, 24</a>, 2026, Testo C). Naturalmente questo non significa identificare nei giacobini francesi niente di più che la migliore espressione rivoluzionaria borghese: G. non manca di sottolineare che il giacobinismo non ha retto all'impatto delle rivendicazioni della classe operaia, dissolvendosi e lasciando spazio alla reazione e al populismo bonapartista. G. si domanda se anche la Francia, come l'Italia negli anni Trenta, sia attraversata dai rischi di derive autoritarie e dittatoriali. Egli afferma che il parlamentarismo francese ha conosciuto momenti di indebolimento, ma conclude che le forze reazionarie non costituiscono un serio pericolo per la democrazia. L'Action française, capeggiata da Maurras, incarna i valori del conservatorismo clericale e della restaurazione monarchica, ma costituisce un rischio più millantato che concreto per le istituzioni repubblicane. Anche se sottoposte a formidabili spinte conservatrici, queste ultime sono in Francia in grado di tenere, diversamente che in Italia, proprio in virtù del loro profondo radicamento storico. La borghesia dal 1789 ha imposto alla nazione il dominio totale; la stessa organizzazione ecclesiastica ne è influenzata, basti pensare al gallicanismo e alle lotte molto precoci tra Chiesa e Stato. La funzione internazionale e cosmopolita dell'intellettualità francese nella seconda metà del secolo XVIII e in tutto il secolo XIX (laicizzazione, razionalizzazione, modernizzazione della cultura) è riscontrabile in ogni processo (Kulturkampf) in cui l'elemento laico e civile lotta per superare la subordinazione alla politica laica del clero e della casta militare, dall'Europa all'America Latina (<a href='http://dl.gramsciproject.org/quaderno/4/nota/49' target='_blank' class='link-to-note'>Q 4, 49</a>, 479 e 482, Testo A). Sul piano letterario sono davvero numerosi i luoghi nei Q in cui G. mette a confronto il cosmopolitismo degli intellettuali italiani con la coesione nazionale degli intellettuali francesi a ogni livello, persino burocratico. Riportando l'opinione di Sorani sulla grande fedeltà del pubblico francese al romanzo d'avventure e d'appendice, si legge: «Quanto all'Italia credo che ci si potrebbe domandare perché la letteratura popolare non sia popolare in Italia», non nel senso della mancanza di lettori, ma di scrittori. «Dopo il Mastriani e l'Invernizio, mi pare che siano venuti a mancare tra noi i romanzieri capaci di conquistare la folla facendo inorridire e lacrimare un pubblico di lettori ingenui, fedeli e insaziabili. Perché questo genere di romanzieri non ha continuato (?) ad allignare tra noi? La nostra letteratura è stata anche nei suoi bassifondi troppo accademica e letterata? I nostri editori non hanno saputo coltivare una pianta ritenuta troppo spregevole? I nostri scrittori non hanno fantasia capace d'animare le appendici e le dispense? O noi, anche in questo campo, ci siamo contentati e ci contentiamo di importare quanto producono gli altri mercati? Certo non abbondiamo come la Francia di “illustri sconosciuti” e una qualche ragione per questa deficienza ci deve essere e varrebbe forse la pena di ricercarla» (<a href='http://dl.gramsciproject.org/quaderno/9/nota/120' target='_blank' class='link-to-note'>Q 9, 120</a>, 1186, Testo A). A parere di G., dalla Rivoluzione francese fino a Zola la grande letteratura francese non si è separata dal pubblico ma ha rappresentato un fenomeno di massa, un “andare al popolo” della letteratura, interrotto forse solo dalla reazione simbolista, la quale ha scavato un fossato tra popolo e scrittori, tra scrittori e vita (<a href='http://dl.gramsciproject.org/quaderno/6/nota/42' target='_blank' class='link-to-note'>Q 6, 42</a>, 717, Testo B). Anche nella produzione giornalistica il confronto tra Francia e l'Italia vede il nostro paese arroccato su posizioni astratte e cosmopolite. Persino durante il Risorgimento la collaborazione straniera ai nostri giornali è rimasta sporadica e casuale senza riuscire a diventare “organica” e senza che il contributo dei collaboratori stranieri fosse integrato nel nostro “linguaggio nazionale” e nelle correnti ideologiche italiane. Senza una collaborazione straniera organica, capace d'informare sia sull'Italia che sul paese straniero, riviste e giornali non sono riuscite a superare il provincialismo rimanendo su un piano estremamente generico. «Del resto – afferma G. – una organicità di collaborazione internazionale si ebbe forse solo in Francia, perché la cultura francese, già prima dell'epoca liberale, aveva esercitato un'egemonia europea; erano quindi relativamente “numerosi” gli intellettuali tedeschi, inglesi, ecc. che sapevano informare sulla cultura dei loro paesi impiegando un “linguaggio” francese» (<a href='http://dl.gramsciproject.org/quaderno/7/nota/81' target='_blank' class='link-to-note'>Q 7, 81</a>, 913, Testo B).</p></body></html> | 8,821 | 8,821 | 0.808072 |
4c01f41356d2afd5dee30d20d50e8e92634f51e5 | 3,810 | swift | Swift | Sources/Server/Providers/HomeKitProvider+Accessories.swift | reaumur/ReaumurServer | 943116f73e404d09a3c57b2a4383fb9b3b2db923 | [
"MIT"
] | 1 | 2018-05-29T02:53:55.000Z | 2018-05-29T02:53:55.000Z | Sources/Server/Providers/HomeKitProvider+Accessories.swift | reaumur/ReaumurServer | 943116f73e404d09a3c57b2a4383fb9b3b2db923 | [
"MIT"
] | null | null | null | Sources/Server/Providers/HomeKitProvider+Accessories.swift | reaumur/ReaumurServer | 943116f73e404d09a3c57b2a4383fb9b3b2db923 | [
"MIT"
] | null | null | null | //
// HomeKitProvider+Accessories.swift
// Server
//
// Created by Chandler Huff on 12/29/18.
//
import Foundation
import HAP
import MongoKitten
private extension Double {
var celsiusValue: Double {
return (self - 32) / 1.8
}
}
extension Accessory {
class ReaumurThermometer: Accessory {
let temperatureSensor = Service.ReaumurTemperatureSensor()
init(info: Service.Info) {
super.init(info: info, type: .sensor, services: [temperatureSensor])
}
}
}
extension Service {
class ReaumurTemperatureSensor: Service {
let currentTemperature = GenericCharacteristic<CurrentTemperature>(
type: .currentTemperature,
value: 0,
permissions: [.read, .events],
maxValue: 100,
minValue: -100)
let isActive = GenericCharacteristic<Bool>(type: .statusActive, value: nil, permissions: [.read, .events], description: nil, format: .bool)
init() {
super.init(type: .temperatureSensor, characteristics: [AnyCharacteristic(currentTemperature), AnyCharacteristic(isActive)])
}
}
}
final class ContainerAccessory: Accessory.Thermometer {
let containerId: ObjectId
init(container: Document) throws {
let containerId = try container.extractObjectId()
let name = try container.extractString("name")
if let homeKitHidden = container["homeKitHidden"] as? Bool, homeKitHidden {
throw ServerAbort(.internalServerError, reason: "Container Hidden in HomeKit: \(containerId.hexString)")
}
self.containerId = containerId
super.init(info: Service.Info(name: name, serialNumber: containerId.hexString, manufacturer: Constants.name, model: "Container", firmwareRevision: Constants.version))
if let averageTemperature = container["averageTemperature"]?.doubleValue {
temperatureSensor.currentTemperature.value = averageTemperature.celsiusValue
}
}
func update(averageTemperature: Double?) {
temperatureSensor.currentTemperature.value = averageTemperature?.celsiusValue
}
}
final class DeviceAccessory: Accessory.ReaumurThermometer {
let containerId: ObjectId
let deviceId: ObjectId
init(device: Document) throws {
let deviceId = try device.extractObjectId()
let containerId = try device.extractObjectId("containerId")
let name = try device.extractString("name")
if let homeKitHidden = device["homeKitHidden"] as? Bool, homeKitHidden {
throw ServerAbort(.internalServerError, reason: "Device Hidden in HomeKit: \(deviceId.hexString)")
}
guard let typeInt = device["type"]?.intValue, let type = Device.DeviceType(rawValue: typeInt), type.isTemperatureSensorDevice else {
throw ServerAbort(.internalServerError, reason: "Device Type Invalid: \(deviceId.hexString)")
}
self.deviceId = deviceId
self.containerId = containerId
super.init(info: Service.Info(name: name, serialNumber: deviceId.hexString, manufacturer: Constants.name, model: "Device", firmwareRevision: Constants.version))
if let lastTemperature = device["lastTemperature"]?.doubleValue {
temperatureSensor.currentTemperature.value = lastTemperature.celsiusValue
}
if let offline = device["offline"] as? Bool {
temperatureSensor.isActive.value = !offline
}
}
func update(averageTemperature: Double?) {
temperatureSensor.currentTemperature.value = averageTemperature?.celsiusValue
}
func update(offline: Bool) {
guard temperatureSensor.isActive.value != offline else { return }
temperatureSensor.isActive.value = !offline
}
}
| 37.722772 | 174 | 0.675066 |
dc6d1c3c6f71d66afd5cbd3aa51f69fc041d61f2 | 22,517 | lua | Lua | dockernd/fceux223/output/luaScripts/luabot_framework.lua | mchellmer/DockerMongoFceuxPython | f7db8fc976d76046ca03f707f9845d348f9be651 | [
"MIT"
] | null | null | null | dockernd/fceux223/output/luaScripts/luabot_framework.lua | mchellmer/DockerMongoFceuxPython | f7db8fc976d76046ca03f707f9845d348f9be651 | [
"MIT"
] | null | null | null | dockernd/fceux223/output/luaScripts/luabot_framework.lua | mchellmer/DockerMongoFceuxPython | f7db8fc976d76046ca03f707f9845d348f9be651 | [
"MIT"
] | null | null | null | -- LuaBot, concept bot for FCEU and snes9x and any other emu that has compatible Lua engine
-- qFox, 2 August 2008
-- version 1.07
-- Botscript data following:
-- Rom: -- ROMNAME
-- Comment: -- COMMENT
-- Version: -- VERSION
local maxvalue = 100; -- always "true", yes, pressed
local minvalue = 0; -- always "false", no, released
-- the bot kind of works like this function. for every option, a value is requested from the programmer.
-- if that value is higher then a random value 0-99, this function returns true, else false.
-- the idea is that keys are pressed based on a heuristic value. if you want absolute values, simply
-- return values like minvalue or maxvalue, or their syntactic equals yes/no and press/release (to make
-- the sourcecode easier to read). you can use the variable maybe for 50% chance.
-- this function also reduces a lot of calls to random() if the user uses absolute values.
local function rand_if(n)
if (n <= minvalue) then return false; end;
if (n >= maxvalue) then return true; end;
if (n > math.random(minvalue, maxvalue-1)) then return true; end;
return false;
end;
local loopcounter = 0; -- counts the main loop
local key1 = {}; -- holds the to be pressed keys this frame for player 1
local key2 = {}; -- holds the to be pressed keys this frame for player 2
local key3 = {}; -- holds the to be pressed keys this frame for player 3
local key4 = {}; -- holds the to be pressed keys this frame for player 4
local lastkey1 = {}; -- keys pressed in previous frame for player 1
local lastkey2 = {}; -- keys pressed in previous frame for player 2
local lastkey3 = {}; -- keys pressed in previous frame for player 1
local lastkey4 = {}; -- keys pressed in previous frame for player 2
local frame = 0; -- number of frames (current value is current frame count, incremented at the start of a new frame)
local attempt = 1; -- number of attempts (current value is current attempt, incremented after the end of an attempt)
local segment = 1; -- number of segments (current value is current segment, incremented after the end of a segment)
local okattempts = 0; -- number of successfull attempts (including rollback)
local failattempts = 0; -- number of failed attempts (including rollback)
local segments = {}; -- table that holds every segment, each segment is another table that consists of the score, ties, savestate (begin of segment), lastkeys, keys pressed, etc.
segments[1] = {}; -- initialize the first segment, we initialize the savestate right after the before code has ran
-- these dont have to be used, but it makes it easier to control here
local maxframes = 400;
local maxattempts = 200;
local maxsegments = 100;
local playingbest = false; -- when going to the next segment, we need to play the best segment to record, this indicates when we're doing so
local keyrecording1 = {}; -- every key pressed for player 1 is put in here
local keyrecording2 = {}; -- every key pressed for player 2 is put in here
local keyrecording3 = {}; -- every key pressed for player 3 is put in here
local keyrecording4 = {}; -- every key pressed for player 4 is put in here
-- some constants/macro's/whatever to make source easier to read
local press = maxvalue;
local release = minvalue;
local yes = maxvalue;
local maybe = maxvalue/2; -- 50%
local no = minvalue;
-- static constants, will be used by the frontend later
local X = 95;
local Y = 30;
local Z = 0;
local P = 0;
local Q = 0;
local vars = {}; -- variable table. each cell holds a variable. variables are remembered accross segments
-- user defined functions
local function getScore() -- score of current attempt
local result = no;
-- SCORE
return result;
end;
local function getTie1() -- tie breaker of current attempt in case score is equal
local result = no;
-- TIE1
return result;
end;
local function getTie2() -- second tie breaker
local result = no;
-- TIE2
return result;
end;
local function getTie3() -- third tie breaker
local result = no;
-- TIE3
return result;
end;
local function getTie4() -- fourth tie breaker
local result = no;
-- TIE4
return result;
end;
local function isRunEnd() -- gets called 3x! twice in the main loop (every frame). determines whether the bot should quit.
local result = no;
-- ISRUNEND
return result;
end;
local function mustRollBack() -- drop back to previous segment? called at the end of a segment
local result = no;
-- MUSTROLLBACK
return result;
end;
local function isSegmentEnd() -- end of current segment? (usually just x frames or being really stuck (to rollback))
local result = no;
-- ISSEGMENTEND
return result;
end;
local function isAttemptOk() -- is current run ok? like, did you die? (then the run is NOT ok... :). return no for no and yes for yes or be left by chance.
local result = yes;
-- ISATTEMPTOK
return result;
end;
local function isAttemptEnd() -- end of current attempt? (like when you die or reach a goal)
local result = no;
-- ISATTEMPTEND
return result;
end;
-- the next 2x8 functions determine whether a button should be pressed for player 1 and 2
-- return yes or no for absolute values, return anything between minvalue and maxvalue
-- to set a chance of pressing that button.
local function pressKeyA1()
local result = no;
-- bA1
return result;
end;
local function pressKeyB1()
local result = no;
-- bB1
return result;
end;
local function pressKeyStart1()
local result = no;
-- START1
return result;
end;
local function pressKeySelect1()
local result = no;
-- SELECT1
return result;
end;
local function pressKeyUp1()
local result = no;
-- UP1
return result;
end;
local function pressKeyDown1()
local result = no;
-- DOWN1
return result;
end;
local function pressKeyLeft1()
local result = no;
-- LEFT1
return result;
end;
local function pressKeyRight1()
local result = no;
-- RIGHT1
return result;
end;
local function pressKeyA2()
local result = no;
-- bA2
return result;
end;
local function pressKeyB2()
local result = no;
-- bB2
return result;
end;
local function pressKeyStart2()
local result = no;
-- START2
return result;
end;
local function pressKeySelect2()
local result = no;
-- SELECT2
return result;
end;
local function pressKeyUp2()
local result = no;
-- UP2
return result;
end;
local function pressKeyDown2()
local result = no;
-- DOWN2
return result;
end;
local function pressKeyLeft2()
local result = no;
-- LEFT2
return result;
end;
local function pressKeyRight2()
local result = no;
-- RIGHT2
return result;
end;
local function pressKeyA3()
local result = no;
-- bA3
return result;
end;
local function pressKeyB3()
local result = no;
-- bB3
return result;
end;
local function pressKeyStart3()
local result = no;
-- START3
return result;
end;
local function pressKeySelect3()
local result = no;
-- SELECT3
return result;
end;
local function pressKeyUp3()
local result = no;
-- UP3
return result;
end;
local function pressKeyDown3()
local result = no;
-- DOWN3
return result;
end;
local function pressKeyLeft3()
local result = no;
-- LEFT3
return result;
end;
local function pressKeyRight3()
local result = no;
-- RIGHT3
return result;
end;
local function pressKeyA4()
local result = no;
-- bA4
return result;
end;
local function pressKeyB4()
local result = no;
-- bB4
return result;
end;
local function pressKeyStart4()
local result = no;
-- START4
return result;
end;
local function pressKeySelect4()
local result = no;
-- SELECT4
return result;
end;
local function pressKeyUp4()
local result = no;
-- UP4
return result;
end;
local function pressKeyDown4()
local result = no;
-- DOWN4
return result;
end;
local function pressKeyLeft4()
local result = no;
-- LEFT4
return result;
end;
local function pressKeyRight4()
local result = no;
-- RIGHT4
return result;
end;
-- now follow the "events", one for the start and end of a frame, attempt, segment and whole bot. none of them need to return anything
local function onStart() -- this code should run before the bot starts, for instance to start the game from power on and get setup the game
-- ONSTART
end;
local function onFinish() -- code ran after the bot finishes
-- ONFINISH
end;
local function onSegmentStart() -- code ran after initializing a new segment, before onAttemptStart(). framecount is always one fewer then actual frame!
-- ONSEGMENTSTART
end;
local function onSegmentEnd() -- code ran after a segment finishes, before cleanup of segment vars
-- ONSEGMENTEND
end;
local function onAttemptStart() -- code ran after initalizing a new attempt, before onInputStart(). not ran when playing back. framecount is always one fewer then actual frame!
-- ONATTEMPTSTART
end;
local function onAttemptEnd(wasOk) -- code ran after an attempt ends before cleanup code, argument is boolean true when attempt was ok, boolean false otherwise. not ran when playing back
-- ONATTEMPTEND
end;
local function onInputStart() -- code ran prior to getting input (keys are empty). not ran when playing back
-- ONINPUTSTART
end;
local function onInputEnd() -- code ran after getting input (lastkey are still valid) (last function before frame ends, you can still manipulate the input here!). not ran when playing back
-- ONINPUTEND
end;
-- the bot starts here.. (nothing is added from the user from this point onwards)
onStart(); -- run this code first
segments[segment].savestate = savestate.create(); -- create anonymous savestate obj for start of first segment
savestate.save(segments[segment].savestate); -- save current state to it, it will be reloaded at the start of each frame
local startkey1 = key1; -- save the last key pressed in the onStart. serves as an anchor for the first segment
local startkey2 = key2;
local startkey3 = key3; -- save the last key pressed in the onStart. serves as an anchor for the first segment
local startkey4 = key4;
local startvars = vars; -- save the vars array (it might have been used by the onStart)
lastkey1 = key1; -- to enter the loop...
lastkey2 = key2;
lastkey3 = key3;
lastkey4 = key4;
--FCEU.speedmode("maximum"); -- uncomment this line to make the bot run faster ("normal","turbo","maximum")
onSegmentStart();
onAttemptStart();
collectgarbage(); -- just in case...
-- This will loops for each frame, at the end of the while
-- the frameadvance is called, causing it to advance
while (rand_if(isRunEnd())) do
loopcounter = loopcounter + 1; -- count the number of botloops
--gui.text(200,10,loopcounter); -- print it on the right side if you want to see the number of total frames
if (not playingbest and rand_if(isAttemptEnd())) then -- load save state, continue with next attempt (disabled when playing back best)
-- record this attempt as the last attempt
if (not segments[segment].prev) then segments[segment].prev = {}; end;
segments[segment].prev.frames = frame;
segments[segment].prev.attempt = attempt;
segments[segment].prev.score = getScore();
segments[segment].prev.tie1 = getTie1();
segments[segment].prev.tie2 = getTie2();
segments[segment].prev.tie3 = getTie3();
segments[segment].prev.tie4 = getTie4();
segments[segment].prev.ok = rand_if(isAttemptOk()); -- this is the check whether this attempt was valid or not. if not, it cannot become the best attempt.
-- update ok/failed attempt counters
if (segments[segment].prev.ok) then
okattempts = okattempts + 1;
onAttemptEnd(true);
else
failattempts = failattempts + 1;
onAttemptEnd(false);
end;
-- if this attempt was better then the previous one, replace it
-- its a long IF, but all it checks (lazy eval) is whether the current
-- score is better then the previous one, or if its equal and the tie1
-- is better then the previous tie1 or if the tie1 is equal to the prev
-- etc... for all four ties. Only tie4 actually needs to be better, tie1
-- through tie3 can be equal as well, as long as the next tie breaks the
-- same tie of the previous attempt :)
if (segments[segment].prev.ok and (not segments[segment].best or (getScore() > segments[segment].best.score or (getScore() == segments[segment].best.score and (getTie1() > segments[segment].best.tie1 or (getTie1() == segments[segment].best.tie1 and (getTie1() > segments[segment].best.tie1 or (getTie1() == segments[segment].best.tie1 and (getTie1() > segments[segment].best.tie1 or (getTie1() == segments[segment].best.tie1 and getTie1() > segments[segment].best.tie1)))))))))) then
-- previous attempt was better then current best (or no current best
-- exists), so we (re)place it.
if (not segments[segment].best) then segments[segment].best = {}; end;
segments[segment].best.frames = segments[segment].prev.frames;
segments[segment].best.attempt = segments[segment].prev.attempt;
segments[segment].best.score = segments[segment].prev.score;
segments[segment].best.tie1 = segments[segment].prev.tie1;
segments[segment].best.tie2 = segments[segment].prev.tie2;
segments[segment].best.tie3 = segments[segment].prev.tie3;
segments[segment].best.tie4 = segments[segment].prev.tie4;
segments[segment].best.keys1 = keyrecording1; -- backup the recorded keys
segments[segment].best.keys2 = keyrecording2; -- backup the recorded keys player 2
segments[segment].best.keys3 = keyrecording3; -- backup the recorded keys
segments[segment].best.keys4 = keyrecording4; -- backup the recorded keys player 2
segments[segment].best.lastkey1 = lastkey1; -- backup the lastkey
segments[segment].best.lastkey2 = lastkey2; -- backup the lastkey
segments[segment].best.lastkey3 = lastkey3; -- backup the lastkey
segments[segment].best.lastkey4 = lastkey4; -- backup the lastkey
segments[segment].best.vars = vars; -- backup the vars table
end
if (rand_if(isSegmentEnd())) then -- the current segment ends, replay the best attempt and continue from there onwards...
onSegmentEnd();
if (rand_if(mustRollBack())) then -- rollback to previous segment
gui.text(50,50,"Rolling back to segment "..(segment-1));
segments[segment] = nil; -- remove current segment data
attempt = 0; -- will be incremented in a few lines to be 1
segment = segment - 1;
segments[segment].best = nil;
segments[segment].prev = nil;
collectgarbage(); -- collect the removed segment please
else
playingbest = true; -- this will start playing back the best attempt in this frame
end;
end;
-- reset vars
attempt = attempt + 1;
frame = 0;
keyrecording1 = {}; -- reset the recordings :)
keyrecording2 = {};
keyrecording3 = {};
keyrecording4 = {};
-- set lastkey to lastkey of previous segment (or start, if first segment)
-- also set the vars table to the table of the previous segment
if (segment == 1) then
lastkey1 = startkey1;
lastkey2 = startkey2;
lastkey3 = startkey3;
lastkey4 = startkey4;
vars = startvars;
else
lastkey1 = segments[segment-1].best.lastkey1;
lastkey2 = segments[segment-1].best.lastkey2;
lastkey3 = segments[segment-1].best.lastkey3;
lastkey4 = segments[segment-1].best.lastkey4;
vars = segments[segment-1].best.vars;
end;
-- load the segment savestate to go back to the start of this segment
if (segments[segment].savestate) then -- load segment savestate and try again :)
savestate.load(segments[segment].savestate);
else
fceu.crash(); -- this crashes because fceu is a nil table :) as long as gui.popup() doesnt work... we're crashing because no save state exists..? it should never happen.
end;
if (rand_if(isRunEnd())) then break; end; -- if end of run, break out of main loop and run in end loop.
if (not playingbest) then onAttemptStart(); end; -- only call this when not playing back best attempt. has decreased frame counter!
end; -- continues with (new) attempt
-- increase framecounter _after_ processing attempt-end
frame = frame + 1; -- inrease the frame count (++frame?)
if (playingbest and segments[segment].best) then -- press keys from memory (if there are any)
gui.text(10,150,"frame "..frame.." of "..segments[segment].best.frames);
if (frame >= segments[segment].best.frames) then -- end of playback, start new segment
playingbest = false;
lastkey1 = segments[segment].best.lastkey1;
lastkey2 = segments[segment].best.lastkey2;
lastkey3 = segments[segment].best.lastkey3;
lastkey4 = segments[segment].best.lastkey4;
vars = segments[segment].best.vars;
segment = segment + 1;
segments[segment] = {};
-- create a new savestate for the start of this segment
segments[segment].savestate = savestate.create();
savestate.save(segments[segment].savestate);
-- reset vars
frame = 0; -- onSegmentStart and onAttemptStart expect this to be one fewer...
attempt = 1;
keyrecording1 = {}; -- reset recordings :)
keyrecording2 = {};
keyrecording3 = {};
keyrecording4 = {};
-- after this, the next segment starts because playingbest is no longer true
onSegmentStart();
onAttemptStart();
frame = 1; -- now set it to 1
else
key1 = segments[segment].best.keys1[frame]; -- fill keys with that of the best attempt
key2 = segments[segment].best.keys2[frame];
key3 = segments[segment].best.keys3[frame];
key4 = segments[segment].best.keys4[frame];
gui.text(10,10,"Playback best of segment "..segment.."\nFrame: "..frame);
end;
end;
if (rand_if(isRunEnd())) then break; end; -- if end of run, break out of main loop
-- note this is the middle, this is where an attempt or segment has ended if it would and started if it would!
-- now comes the input part for this frame
if (not playingbest) then -- when playing best, the keys have been filled above.
-- press keys from bot
gui.text(10,10,"Attempt: "..attempt.." / "..maxattempts.."\nFrame: "..frame.." / "..maxframes);
if (segments[segment] and segments[segment].best and segments[segment].prev) then
gui.text(10,30,"Last score: "..segments[segment].prev.score.." ok="..okattempts..", fail="..failattempts.."\nBest score: "..segments[segment].best.score);
elseif (segments[segment] and segments[segment].prev) then
gui.text(10,30,"Last score: "..segments[segment].prev.score.."\nBest score: none, fails="..failattempts);
end;
gui.text(10,50,"Segment: "..segment);
key1 = {};
key2 = {};
key3 = {};
key4 = {};
onInputStart();
-- player 1
if (rand_if(pressKeyUp1()) ) then key1.up = 1; end;
if (rand_if(pressKeyDown1())) then key1.down = 1; end;
if (rand_if(pressKeyLeft1())) then key1.left = 1; end;
if (rand_if(pressKeyRight1())) then key1.right = 1; end;
if (rand_if(pressKeyA1())) then key1.A = 1; end;
if (rand_if(pressKeyB1())) then key1.B = 1; end;
if (rand_if(pressKeySelect1())) then key1.select = 1; end;
if (rand_if(pressKeyStart1())) then key1.start = 1; end;
-- player 2
if (rand_if(pressKeyUp2()) ) then key2.up = 1; end;
if (rand_if(pressKeyDown2())) then key2.down = 1; end;
if (rand_if(pressKeyLeft2())) then key2.left = 1; end;
if (rand_if(pressKeyRight2())) then key2.right = 1; end;
if (rand_if(pressKeyA2())) then key2.A = 1; end;
if (rand_if(pressKeyB2())) then key2.B = 1; end;
if (rand_if(pressKeySelect2())) then key2.select = 1; end;
if (rand_if(pressKeyStart2())) then key2.start = 1; end;
-- player 3
if (rand_if(pressKeyUp3()) ) then key3.up = 1; end;
if (rand_if(pressKeyDown3())) then key3.down = 1; end;
if (rand_if(pressKeyLeft3())) then key3.left = 1; end;
if (rand_if(pressKeyRight3())) then key3.right = 1; end;
if (rand_if(pressKeyA3())) then key3.A = 1; end;
if (rand_if(pressKeyB3())) then key3.B = 1; end;
if (rand_if(pressKeySelect3())) then key3.select = 1; end;
if (rand_if(pressKeyStart3())) then key3.start = 1; end;
-- player 2
if (rand_if(pressKeyUp4()) ) then key4.up = 1; end;
if (rand_if(pressKeyDown4())) then key4.down = 1; end;
if (rand_if(pressKeyLeft4())) then key4.left = 1; end;
if (rand_if(pressKeyRight4())) then key4.right = 1; end;
if (rand_if(pressKeyA4())) then key4.A = 1; end;
if (rand_if(pressKeyB4())) then key4.B = 1; end;
if (rand_if(pressKeySelect4())) then key4.select = 1; end;
if (rand_if(pressKeyStart4())) then key4.start = 1; end;
onInputEnd();
lastkey1 = key1;
lastkey2 = key2;
lastkey3 = key3;
lastkey4 = key4;
keyrecording1[frame] = key1; -- record these keys
keyrecording2[frame] = key2; -- record these keys
keyrecording3[frame] = key3; -- record these keys
keyrecording4[frame] = key4; -- record these keys
end;
-- actually set the keys here.
joypad.set(1, key1);
joypad.set(2, key2);
joypad.set(3, key3);
joypad.set(4, key4);
-- next frame
FCEU.frameadvance();
end;
onFinish(); -- allow user cleanup before starting the final botloop
-- now enter an endless loop displaying the results of this run.
while (true) do
if (segments[segment].best) then gui.text(30,100,"end: max attempt ["..segment.."] had score = "..segments[segment].best.score);
elseif (segment > 1 and segments[segment-1].best) then gui.text(30,100,"end: no best attempt ["..segment.."]\nPrevious best score: "..segments[segment-1].best.score);
else gui.text(30,100,"end: no best attempt ["..segment.."] ..."); end;
FCEU.frameadvance();
end;
-- i dont think it ever reaches this place... perhaps it should, or some event or whatever...
segments = nil;
collectgarbage(); -- collect the segment data... anything else is probably not worth it...
| 36.084936 | 486 | 0.675268 |
9c7af12495524a38133dad9118fa43f8ecd2c064 | 783 | cpp | C++ | jp.atcoder/abc031/abc031_c/11751064.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-09T03:06:25.000Z | 2022-02-09T03:06:25.000Z | jp.atcoder/abc031/abc031_c/11751064.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-05T22:53:18.000Z | 2022-02-09T01:29:30.000Z | jp.atcoder/abc031/abc031_c/11751064.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int INF = 1001001;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
vector<int> a(n + 1);
for (int i = 1; i < n + 1; i++) cin >> a[i];
vector<int> s = a;
for (int i = 0; i < n; i++) s[i+1] += s[i];
int ans = -INF;
for (int i = 1; i < n + 1; i++) {
vector<vector<int>> res;
for (int j = 1; j < n + 1; j++) {
if (i == j) continue;
int l = min(i, j), r = max(i, j);
int tmp = 0;
for (int k = l + 1; k <= r; k += 2) {
tmp += a[k];
}
res.push_back({tmp, s[r] - s[l-1] - tmp});
}
sort(res.begin(), res.end(), greater<vector<int>>());
ans = max(ans, res[0][1]);
}
cout << ans << '\n';
return 0;
}
| 23.029412 | 58 | 0.429119 |
54233a76c76b02af844859c7d933262ccaf0fa02 | 1,247 | go | Go | services/enqueueing/enqueueing.go | junan/google-scraper | d71c9d90df0405b6dfae9071dd054e8a606f123a | [
"MIT"
] | null | null | null | services/enqueueing/enqueueing.go | junan/google-scraper | d71c9d90df0405b6dfae9071dd054e8a606f123a | [
"MIT"
] | 36 | 2020-12-03T10:03:30.000Z | 2021-04-20T08:50:08.000Z | services/enqueueing/enqueueing.go | junan/google-scraper | d71c9d90df0405b6dfae9071dd054e8a606f123a | [
"MIT"
] | null | null | null | package enqueueing
import (
"fmt"
"errors"
"google-scraper/database"
"google-scraper/models"
"github.com/beego/beego/v2/core/logs"
"github.com/beego/beego/v2/server/web"
"github.com/gocraft/work"
)
var enqueuer *work.Enqueuer
func init() {
enqueuer = work.NewEnqueuer("google_scraper", database.GetRedisPool())
}
func EnqueueKeywordJob(keyword *models.Keyword, throttleMultiplier int64) (*work.ScheduledJob, error) {
if keyword == nil {
return nil, errors.New("keyword object can't be nil")
}
if keyword.Id <= 0 {
return nil, fmt.Errorf("invalid keyword object: %+v", keyword)
}
crawlingJobName, err := web.AppConfig.String("crawlingJobName")
if err != nil {
logs.Critical("crawlingJobName is not found: ", err)
return nil, err
}
delayTimeInSeconds := getDelayTimeInSeconds(throttleMultiplier)
job, err := enqueuer.EnqueueIn(crawlingJobName, delayTimeInSeconds, work.Q{"keywordId": keyword.Id})
if err != nil {
return nil, err
}
return job, nil
}
func getDelayTimeInSeconds(throttleMultiplier int64) int64 {
// Each job will be run two seconds later than the previous job, jobs will be enqueued immediately
// But will be run based on this seconds value in the future
return throttleMultiplier + 2
}
| 24.45098 | 103 | 0.733761 |
66ffa68aa6b0842c948fab0a3047404e8313e206 | 153,066 | sql | SQL | database-scripts/demandou-ONLINE-23_02_2016.sql | mlpassos/demandou-remo | 493f50afa804d4afd6fd754e49ffc22a0edb61f8 | [
"MIT"
] | 1 | 2016-01-10T02:48:48.000Z | 2016-01-10T02:48:48.000Z | database-scripts/demandou-ONLINE-23_02_2016.sql | mlpassos/demandou | 25a65f8b284cae7ab2f5ceb3bb49cdb1071845a6 | [
"MIT"
] | null | null | null | database-scripts/demandou-ONLINE-23_02_2016.sql | mlpassos/demandou | 25a65f8b284cae7ab2f5ceb3bb49cdb1071845a6 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 3.3.7deb7
-- http://www.phpmyadmin.net
--
-- Servidor: localhost
-- Tempo de Geração: Fev 23, 2016 as 05:26 PM
-- Versão do Servidor: 5.1.66
-- Versão do PHP: 5.3.3-7+squeeze15
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Banco de Dados: `demandou-prod`
--
-- --------------------------------------------------------
--
-- Estrutura da tabela `ci_sessions`
--
CREATE TABLE IF NOT EXISTS `ci_sessions` (
`id` varchar(40) NOT NULL,
`ip_address` varchar(45) NOT NULL,
`timestamp` int(10) unsigned NOT NULL DEFAULT '0',
`data` blob NOT NULL,
PRIMARY KEY (`id`),
KEY `ci_sessions_timestamp` (`timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `ci_sessions`
--
INSERT INTO `ci_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES
('03558d4a174a7c406999972aaa598a4deb628ade', '::1', 1455817910, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831373631363b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('05415b440116d7742ee2585e506eff7c37a0088d', '::1', 1455715743, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353731353538383b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('060037a01e33a413a7c8f6612d971441582ca95e', '::1', 1455894566, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353839343436363b636f6469676f5f7573756172696f7c733a323a223135223b6c6f67696e7c733a353a226c75697a61223b6e6f6d657c733a353a224c75697a61223b736f6272656e6f6d657c733a383a22436f7574696e686f223b636f6469676f5f70657266696c7c733a313a2231223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226c75697a61322e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d676572656e636961725f746172656661732d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d),
('094b606fb76360a9435482e4b49c22438ceff137', '::1', 1455821325, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353832313032363b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d),
('0b50b9ce00b2294fc0526b4fdb6dcce0c1a31b14', '::1', 1455819518, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831393239313b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d),
('1032fc9a2c48a6e2191800cc3f5870f9b19dd9ce', '10.108.2.39', 1455914416, 0x6e4e6b2d474e7061626c755f425f6d4d7631556c46526662324c5179675a65616b4f35504a775371306757614a46456b6a7054395162545f616b74394171596b52416e7966786937514b77623433624a70425f6456623566586f43375747456f67516835494f5a4d56574e4e3067386d61414961326d6b4d5f4d50794f41764944303639385233545435484e746b6348596b5a794d7a6357664e467a653333527955592d7650727142456f2d32455257703135494272373542676b797030546c6c56614d4753593835354c4473413477656363427679514f6d6b4b47756645727836686a2d47425846626475725a6876714134376879376a775f457933766c766d676b30434b4e584271475a6246354b544f2d712d7a5f74526848533245394a4a6f543077776d497336634b675354506f465a45315956335f464d46686652656f33435f726a3152444b51647042497833414a76644856553459715571335f4a39582d613170786e4c547737357868383158466f51414a51396136576a515a777132467549565f6c6952485a445079687468515047375a703534596a6378684c71536d5f797a7459507164674b6d6e6e562d6242314256425a78654a6136516c464178326e53416a4a6a3134523579434d6d635f4171307637706a2d5459736b394656725a554f3653456f696d756f6b4459386533567a6266415473615a6370696263646d4c5377767a392d5261313368706b5148556f7448577748386e6331356a6e4b6d594251527359554678493768504a346a37507256362d37796a6c786b584f75357149685643364d4c5946456658545a446c565731517777656d5278664b35613444636d3063436378383039657a6b4a6d4c4b5f614550496468676679714e6a6d6f7a79703164303858376231785230624a544f6b4242716643566a68434736414a6662486437786933696c2d733231395a664e7233347657662d77564151735f506136754a5134645a464e6c65706c4863543743426c384a626a515237486a48586e4b446f4d35784156515032764631527562736450364f32616c4a7576704769654530674d68702d30755659676b4c426778304b41695879614b72656539716e344438315f6367357a526a6d4c5f7731425356533362494a536a2d72435853674335676b5f584f424e594e4b6c7746656c7567555337504e2d62714f6563597a49364f7736425162693349463743766e7053385759756979797239614252736d4d733064734a443244794334474d50326168586c303273586751742d624c71764b30564a644c687443525861345231736b6871364b484170756535614863624e6e70684c505f6178374b7944476a676a337a427565597a6e724a5a55324b53636f625167706d386a643731534c6f676c3277736c4573754e744b6331734133306f6b784b43387850336f7578785930672e2e),
('108295c2fc289bdab682f9e83491a0f78b8c3b2c', '187.255.217.147', 1455932485, 0x30744457546a38303652394536726c37315a4c664e55687478465042674a30753353566b4961674c394c37444863335032384c744b6f77506c3362754d5f33794f507259686c475a5f6b4b39465f76796932544a446a50656e376959556c697169486772373847372d4d4c58476c59556a387238794a687a527454526a4f42444a64763571396e4d7a7035716537594e4b4763464473514f4131413156755877337a47447364387147592d725337466a693366465f6b61334e305f756773345f6838666652386d3862574e676432753463416735476b454d3442694555376b6c353846625f6c7a3570644c654b486b387269453667704a5378495f434e30414f5f765f737153755a4b47303068636234554a4c41663138615f6b6162715f4249354653795a5a7856324a7552755f56515f6374514e384264616c6775646b515761574e6d6838376b7144667736356e4b78756c5579492d59676d4f616f6f69786e3652684c4e487375796d4e4576786e6f566c514c6873464f306e4e30577773717a6c38497459464a485f57586c6d75444e4a59734d4f5a7a7a785633444369795a74517a724f6f6146417a794f58506a48467859686133743348766147382d6733394d5a2d71713830736a476d656c7656625376723253577a436359465550626152485a456964564a6e5651734a76506d41784b30446263765076374761796c7668316a4148554a756d5a4259526e695f2d32534969667072494e4c3159567a6853303463727a73476f6754684f5a65355462625637457167613547534b355f46336238796b4434744365694e4972432d7834425834754e4c5378464e634d4557634561674558462d6839556a414d6f3030537858474f6d6877467a4c596c662d32644352485f745856727a61695365737a5a6145584e413668507973455242587a4575325a69346c536663372d7338726c524c7136796472386b5a52746b476c4641327931574c6c69444b6f4731386b6248616177504a473752365253463966645054676b6576516876435839305f71467450476a72387a595377643871664576674370796443794a70516b4d437869535f4d4e6a4856425567462d315f644e714939636863577662384574324a6354756a5262424139326a364f55426c484951485661373643506c415464743652446d556a52434658723876634b664a337a76472d2d6e6457435f644f5f686e69536c33727a7a46755345336b49564d446e5f36624c45315358733752324c39513974376d7738386c4d4e4d7271307062495f48645445665456346c4c4a48356342444b746f61474b6871765152354d70566b445461564248726c54414c374468774f5f663431365a384e6b796946544e623670364653765074633236337250426b4c31772d41456679424f5a534b75577735654658786b4b596156384f50686444654e50772e2e),
('13dd5b3a962b8ff89749331ddb682cd6dd09db4f', '::1', 1455799770, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353739393437323b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f70726f6a65746f2d387c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2238223b7d676572656e636961725f746172656661732d387c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2238223b7d676572656e636961725f70726f6a65746f2d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f746172656661732d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d397c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2239223b7d676572656e636961725f746172656661732d397c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2239223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('13ebacd70feed309724be2e17a2a6bd34485d230', '::1', 1455817567, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831373331333b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('16aba3e6e34d70d3956ee838bc435ffe22b6ae48', '::1', 1455802801, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353830323739373b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d),
('1932c33781895d312bfb40d34d889e7debfe9b54', '::1', 1455821474, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353832313334373b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f746172656661732d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d),
('194f21cb09645c9cf5b5e5d1b6425f92d6051211', '::1', 1455645376, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353634353132383b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('1acc7779cfca0e0093524ab653e0bf6e6d70fba0', '::1', 1455639563, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353633393431393b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('1fff29f3076d1b644e407132ae3d685c52334844', '::1', 1455800016, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353739393938383b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d),
('232e83e781c5860c7f92e1eca1754a63f787a5a6', '187.255.217.147', 1455981938, 0x75424d3678766e4b4642694a4f764a54354f685551545470484f415373666737614a535a756e546e7338654953554b35683745466171706d576b7a6b574a3348747166535530687553753949306b613959506c6e6e31524672666e552d3358693646565071335f39354d7170736b6b574c2d627a4e7061666f61704943305a6d4d2d35382d6a5949716d506176364d76577a2d50727a51524c43534155644742506f7563527238516676484e68354b4572454f2d74316155474541476b31776f7a3059683830544f765763546c545a35536574655f486c3849373732333234654c3233334f3670444b6b49504270395751444a71633666494863626c632d444a6d626661346e5f5f75314d33456a4c7a3837756f33493448453475443173347068697a7a7a7a62466e5067496135644e5a314e4e674e50393869656a334d315769717845496e4d517349415071595a5941397549587130516479656c69464e57513849556d6374714a4f48455f31556e7456696e6468686b305478346931696763367a526852594d41313278664a49534d4f2d4f414e64505935314d7749467a736f4e456c71706245384d71515337305066727862326f3537437649396f725832396d51347a73514e4156367a785a32434c564278756b33375764337a58524248715f2d4d44435f7453333653417552547a2d58496734444f455733534e536467684b2d776778796d4148674941494c395f797849576f54724c63586c35356e4c357641676d325138323673776d6876566f5550626e526d5a315379322d316878346b64317878694c446c7453586c437a382d4661425831467450714e6e324e536349474c6a4d336c706e31777745787850366b484263353032305662545f6232313256456c36344c5a66737a377379355977657673765a6a546b6a5a306657664549374d41734b6a6a6146374c6f59496655734d47364e6a5a39345076796570545435347930736a346d373966627a797636676e4c67434a7056714b5a59334c54325f4b68465f4c6c366e54706e6d585a335367334d734a544e32756e4b6255616f2d6a6238612d6f79635535436473796f4e4249306b6f744942437455465053794d444d4e456b58304254766837482d66433757445f6f5a56667a416f6462436a656a576b6866722d75544c5657785338426775445077316965324b7a6e6d4769516c77333259464d43586f656d4d683048394f3464756c415a733632546638504e7958454767476d5a495f36464658344b4961485873646e4e517a4a326a6d7a487366764644744145514e4c4e61723974414d77476f38434f4b7166656762316d6d724a497875787153757031435365704c556d5956346f6e456e4f644c70675866345275326e5f716e6a4a34445a576e3478416b435f6b366755324c4c743167565342767a31773167355961543848584e4336684c347a45715a6e305f2d674a38757179796f455961324f485834637444484968424c37515031653031496b77443752564e4c527a46416f59304a4f4a65334a6b697074594d48786b506f41586a7a793742654e5f4d7568414d344d6f43575a69554c33746a2d6c48435357426b66794a355a494776493165796534652d4f534c764e6b7a4d37624d4b4e32557a715075632d772e),
('2357d49ba9f7f6275b348d584e4f8e8a46f94575', '::1', 1455816769, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831363630343b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('25aa7923ac52141f4069b1e17b3a4ba2e73359a0', '10.108.2.1', 1456231550, 0x7a724845715a576b32367764715868317242394a3036744645694241704d6f586d525450564339576930306f3634505730764739703234394552526756354264683935356e72526a516e635363415950747a717753335336737339786279355f6f6853416e6251644b3941724d61784976636134524e556e56794c744f776b776a6a62774c563743496775324a345166384349503567634d30594e7a5856303533645737787a6c704245304e367344714d695035705f7754443130506f67494b354f66764253725837304a7351743434555853396636696b695642326364415565715266505547354a613177676f4a77727168356a376b4a6f6637715f54367641476336436a574c684d6b6f534b33546e2d334c336f4d484b574a4c512d39366857636a545031796376526375316d356c35663370637770774d76775831635a5a616f374a397a31546a42554d414f6b484f5341675f7345394373794e4d735f707564434f6c616844436b357641386d346b667047456d465a363948657936627141705056354153483656325563465655596c672d78757963657a4a6937662d4f3136493554466a2d637248746255374a504f3677466c53343447306753475a5651544b764b314854576d3342684365707463316c45544d427a6f35766f4669426e5445494173316b5374695947375f55792d5f31483039536e63704d6a585443714363747151446d6b6f64344770514a34483652626a6b5a474f646e4671443663754e786664385053507336694c326e47334932745859664645314652744d584e37303051496e35572d36536d5868544259596f78486d4944534249684b4d496d354d46385966444666666159774d636b504f6258453167336e2d53424e467079556c45374a4d774a6f70306e624f7439384d3143784b7a31374f34754c703341672d3365496f4346543665524e7a6248697968594852345957327775717834714b323838424f7274766d4d59424f4d4a4b5061345a6474756a4d35674c2d6b4b337a613832557456672d784f68477453474d4d346f41684d51354364455f664d555a543748355a75585f65396c31574e34675a42653957534973723149764e4e5f4b31746f746f5562706a32654d483975435a4b63724256355048656b6a633950386d724e584e4d4a5549366476686f7a67644f5645714c614c38624a544b6b7646465678305044394855354b414d6c55464a3746506b5a3346704131506678506575705a716f34764e3339744f6677746759674b6b744b64456c6a7032305f414443303848714776356c4941665979704b464f672d7063552d67554d526c44424a3271396d6e57476368306453626c715162656c2d71636451647a55547172597150384b2d55586d34496f2d517937654b65755272696a51624f51436d4138506d55414439694c31572d7654575857506d75417256794b6b5a52324152575f486778476f6e32683447766c3955414b6a50795548754d39376c6b3549317352694c6c384e3143516c44794c6d776b366368764331387363516a4273557237662d3333685444414b58735f33636e63456747543471346a68763966325a6f617551565762305a6e78534a6c476b377a326f614e4c733943496145434c764f54574e765a6f6d4d556a492e),
('25ca06a421afdc9ac3657dc6f27f0264e72f9fb4', '::1', 1455729700, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353732393730303b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b),
('2c4ab2d37dbe41712c4c518067bf28673698a015', '::1', 1455815122, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831343832353b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d61646963696f6e61725f616f5f70726f6a65746f7c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d5f5f63695f766172737c613a313a7b733a32303a2261646963696f6e61725f616f5f70726f6a65746f223b733a333a226e6577223b7d),
('2cbce6d32253ca9d4907eb95cedb0b77c117cb15', '::1', 1455817218, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831363938373b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('2f19efbaf53d7a225b5d4d427ccdef2e4124f1f9', '::1', 1455816380, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831363236313b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('315276f7c70aee3a82d8e4217c0461d812dcd7b6', '::1', 1455650299, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353634393936353b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('34823782e4aba19a412130f00e36c17f078191df', '10.108.2.39', 1456258361, 0x583252536e377a50574635747a526e73334137516c6f437954455564644e76394142535333414248567343507a38705a6a687167567467594232536e4459767338456a6b713631784f5439714f3967784f4f6f5439672e2e),
('3cfc124e368854eb4a1e5fe35c69eaf6cb4ca49b', '10.108.2.39', 1455912765, 0x4f6b49696e54347774735a2d47515f5a766875597051755559344165775079626b3476446e5973614e61527734544e4f6d4a645571766475584b72776f503447646e55377175434c5255654d4d6849765768494432615474764154304170386b4a633841457879626a4c64434867754a6f535f6d7a705533733269574946344e4168626c6d4b7562304a7476556178517067546636567a456a4a653141644a5531587a594a356e72594a3552464c6d445a30343161726d762d396c3238727a336b43634438476c6f424c5664755238354c3646313068655f5469554a693430774d503354377461635f694a4c744b5a375a444b62495644715038585a49796e634b53704f504f7a797578635f3933633265677146344d732d3553463579304432344837643265545163756572326248446b337a2d3841365a4d2d514d43343346487049586d774c457055355231352d7073794d72505a445f4a5141714a316c717948316d75435573734d4b75506b74445442636c6866375377705254415f675972615f4b504d6a324c5f4b7a4f4a6c6f3877664565436655524a77427972315376556c43386c73636b3861517647595431507530564b52706b432d5a674e356b636a745a4e705468365f6c4f3158374e636f3035734f7a61655768384850454831353671497750314b726e336754747a656a513056564936456c2d413952365154445a6f4439416a51616b39715033644c475979595f32766442446146564b63314c616b4e69575a524347333746457532734d58656e694457385530623545364a4c776d546f39546939704369647561396f4f525141476830334746436f70365564563439696648586a563530324c6e3839655f47636b4d4c346f6276534567634f4e5f5f5f42754973726931595246493868694c74594835575530736670663750783355716c39756d4d4c6679486868516c3063394e6a4b426e4a6d5447457244665f4850555263685063415845347559554e6842512d5f69437667547177526e76466d565a564849374a4d6d637332684350674265636e726e573476625a4649685054324f575a74785f793049786a42336949585a4d544d324166652d385369515856493650536341753363645563473458314e6131342d4a6d4c2d3454506b4d4743356f457268735665774777714f6e643438326d67324b4b6875715168704346546f695f414a536d78535841662d35725752693871676e3051516d7353526b7866707836724955686f7678665949694d417a745042796b4b6f646570315252665448737a654a33716630504a6f6e4c424c41736b585854453045667050446353613647534f317942704139444945364c483531726a6a63666743476b574c4363416d45463247472d4c4c484b59324f4f316365456d5f70425565793331636a7a7135564134383848622d61374870656574412e2e),
('3d55b12240875f48ac62a48d711a6e90881d4e55', '187.255.217.147', 1456107850, 0x505a5651325a6948553469412d304f576e4b464c534769473959303147723956304f37477a5f3857767736634f55474e56393664677336547837766e526365333562314b492d4a387853766477745858422d6d4c7a412e2e),
('3fd0377fa06b76e6ff1ea79375a77dfe4785a065', '10.108.2.39', 1456257204, 0x732d7473577a7a304962776d6836324c785764487661787a676974634d574d364468653236416e766c34726242754e4c4f4e493835566b776f62446454792d6b59586e65374362462d634743356a78516758346146486d446f39746336756a52497038557049786a7655697264687958744a4d557953546c653376485459426e6d53746b5353612d35784c63775055764b577178334c584a494e4d6d7a7847655978496d7966526f416278774638555a504b47715f5a6f4b67746a726b6c6255635f7743353841564e6a53593266735352426f73496e5f77553777476a43306b665278427a30534f424b57674a35645374753145392d6c714e4a35694b356337526e49764837344b6553695449465861326a7046494167516b44646d4b2d4b364d3666753967436f307a4255457735724b617259525f337a58704433637a6b494354696a42397049566c746748336a326e41747474445a6d7373344944557130346f77446846454a5157617472506a4f57347a7448786a46705337484f316a4a694b355072357a6c52627231494e6b38765f374848776a51355a564d7a4d75346169345a365a487842725950505a3661736c4f2d654d7a4c76727a4d6575394c),
('43c315f0e921ef3f0909b86f185384564dfbc9c3', '::1', 1455713783, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353731333738303b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('45b3b353c8a8f4e068206785792c713ef0217e3c', '10.108.2.1', 1456247513, 0x56705a6e6d6d7674774f5846316e627650704d535662766e3234584a5663574e312d652d62364d3251594a617563453877743145516d36636765786f72466747565045692d39326461444b372d456775755035644871337342754e464f4537415743675263615f6b645858744157564938644d3962624d6b6e68393154647830532d77544b69444333347757666936795264766c7930555042694b4a68374159427749726d32434e4653424a6b55775174305f73594446417059624a61693270356b665070464c754c5977592d6977416e586f5351537376594f65776330743677504f4c727768684677324e794c57385f5574386d56474e6479334b73686b7a41345345776f57584b3750373276596f39556a6e3845614a4968654e6641764d5a6b736a654d58614d4f772e),
('484048164e5ae386f3f7be7ecfebba907f8fa6ba', '::1', 1455818707, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831383538393b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d),
('488779f2dd0e4a15600eaf1a693054d7c42edd4e', '::1', 1455716247, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353731363232373b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('494aaf50720f164b179906c33206067b787a3b78', '187.255.217.147', 1455934338, 0x7947424a7a656b6b7168506972684e49524d41354c576777625250305032524b747647525659326d736a743669524e73533545475a4235345377366370373431556f76506d4762664b2d4c62556e41676d4d525f534f617439636e676e644a6d37474f546f4b3539613576303454336d78316348335649554f7639392d7a5449435730616d4d2d75646b574155596d505176777055613166355a6763724864326961534343786971626f6a624d4f4655387345774269432d54385170697574716f6f42653369392d416650535533582d33506e487a72636b5578774733424d395248304364754c626849775a366b6b4e545f32437851786e6b637870355958353234314f447232433964444b5f2d52305a5f50784457394547636f7a5330537a557330495747367a705a512e),
('4d772d859370cdb365dbf55c8859880473f2fe78', '::1', 1455734248, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353733333631393b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('4f63574a214b7c4ecbbc384b4d6e46173f4de25d', '10.108.2.1', 1456247704, 0x6d4758326a694447724f64395439536563336d7758386c774a53304d4c57725663585043664c37392d464f50523675646e5956733248794768315f4c2d305276517969353749375456506e54343245447554566f595374313833766f6665304e515a2d6d594947382d41715a47563445356b7665775150615a656f4139625a527a4d537170444f312d6b774e59584f773336536e715a6242787a55444c536f703833476a6e5a31416d515779544a3952752d2d7051334762574964453833794163666450566d33594e5a5249704e47694c424739783132554b525f397a48734a6b45476b363253337170734c61317047636d3845476c6d416f6461513742316238524d4135662d554744695747394534564a4f6f6b5a49764e396535766864325173536b496a4b49312d4a4f78735f526a494f5f526d775533776664706e652d3059774a306c32306e3333575571625962734a5243665a6c4750464c3576576b67665976376f364b2d4549746d6361577830736430654f67527a487059356d6c7a655f47367a68366e59325f464130516e307a684a6276417a3465355076645161624c72646d5179614b6458474b5342677156362d443146547546566439434c6d5f48694e6848596b37586262356b4b64475869434f4b7050735637735a46334c5236356d58534a55614e46424a78746949786b7568575555445f76513144626a76472d7337383867644c797333714735326130746f4663305f5a4f7546372d33344c4a793046643461326c79673775756443436e35667155545250316231635f543178537a533067523461757a752d613251643631524c314d79484e326f5a5f5547586b7567416d71614261724c5f57686866494d5279704a2d47373165767864706435384f6d6176535462566f73654d61623675636e504e6346586e467a614361485830616a444564555956326f32684a4f735847456e43514a556f4c6748686b744e4d516a6774696f4d7356627a6a6d74744d465f594d32516143586962307072424445655f5535545a7a50685359567248394c4734434633414f413832485f754230375259434848456236374d626a5347745a69727576796c4b45625035476e34614947456b77686f5f674430313771374b732d67595f4459426d4f6a45474a47365147655434437a775231455174564f6f634b30474b64334a593437596f6c51507a5a5831656f417a4b36496f50362d576a744d6f58484a555776794f32437a69706d4d4346375232594e437450334e437a444771574f70736970584870534f304e44332d34665a422d71784f5a597a6b387369476f48717239336557316a432d767052796e7a62776e41344a48676a5555497744657966493778586a5f6c615a513632316d6567456b6c6f446968397030426f51596d776a6d636f305339724954586b2d2d54645963762d5f753267704b41512d33646f524b534f3372416a32566479636f737477384c36654d69686d6e2d6b445f2d75386a414c574e7979554748737466654b5f6b373863753279474834525a66363137716e45596576416a73746935474e3676746b3038326f79595a4d686f70374d7a466543543076597747536645314a33334e346752334d62683262655f5a776967354433666862526176446b5275577032374e433659795a392d5f447441717447354d767647517a34625433774d753759596d364f517141414e776e333968684c6f65306a724342304c383274665454736258543662495755464e4938773071717254665f66527661685465364b42666c6d62356a397247306b424932574d6273653076786f4c79546534365044557345756436454a6a4e366772386a37435a764a417658763338665233436f7074694b697a525965635f36525751743858476d7473496571504b58427777496d7147465f5f396e497a78394f62764255626577316e6b34514c6f4e4d346b755065714b7434764b783171663575622d6e4f5156344a6931587446505056415f37794e73396d685a54596f5550785f41326f6773424177495a61354d5052794677477877416e7841614d67672e2e),
('4fba5f1f5f26318943d8de3c366130640907c78e', '10.108.2.1', 1456251963, 0x345f563477777345675971356b6c347a4a5a57725a573734334a4f416f6364774b33435f636275482d30365277725274694e4762524832496a357975316853454f734c755831776d656c6c6634626c493933637864504a576657314a6270592d464a5a74317a6e416f4e65787953486d5f5072317a695a70744c59626436325049456c70567337347841505f706e4678785a535443322d6e7563426736367251366874386579615561734b464670706a545a4b432d6748576f6651764541696f36544f4a2d4358342d494d38544355703238766f6d6d6f6f6b45346a726c495947787445766578344c5f5f58536132304f71395967744f3052796a66706354412d37502d535358665a4b7330486b4c4e6853667852756f4a54574743656878526b574b35694e56326858745a4d466261353274556c4243496e4c616c6c746e4a7067647474354774705757756c6764574d71434d776f4d3468586a464e7451614a6c796e415070734c6578466b3852706171584c51774a58454c4b7971536650463344414971496e52367742776e5f696d50334361536159506c37364a62466b35597a6f34594b3144482d53665f734f4576496539386f745f72536f625358533764435f713437787537787a43354c66714e7671573178567759564134724a4d2d6a4a5a5530764250433168776e436a4a6a6d6944496d416b7363303169382d4a6677414c464845484a4a5552674b506369372d6c446a725a4b4165784e376b456e7a6246575571736a357365736c35463176316d6f3732326e764a485a414e306276676871747a417639536738595066586965437741576d65446b58676a6a6e32745a59775739574e457652786d51774a505a36585f56564172693355693949586e7546456e2d506f41486e796949753367704976363464362d537a504e6b57755f5444424e41353057664478784b4f3242756254517943756a694841706e363465544c76696171546e644e57344f4f4d71684c513168646a7833636a6b5375307a58596f5a395764725f4d70686f7937623077497664455143364549733073544837677a6355464d476c517449704d33344a46374a6f685574435444514f5370585551566f67692d53385f6669514475555275554370424f4743734c567a74654d4532484d42686b424671583176744765627178797779773261684177495070764d3352546d61396c3139545f4c477848575556545969747747433936555946613874496c67317a5a6c676563572d6346706c6a706c31397648754e4f7935414e516f6d4c75584e715a63634d714e307a553353736a4636327157314932567542516575536e6c3564574e62775143754b7676464d574951424c79467279766e59676a4c58454a64504f4e4e5a354a5a513550326b4c31654131654b38476273565245626d752d6264676768384132516346394d3751594e6266532d6b636f5061507979556d5a7462394a76625364314530566b58476575315f527178724153476a456a7a3234483970664a3170496f725a653562566347385f346d634653455f63486449655665464f556b4a713068304e4c44503133695658544570347a68336d414f4a5a5a6862746a7330396d716464314851454544594e7855596b55464855315270724d79544c546b346f394f735165384345635f416136745065364136725a446f4865364250494a57724768425f507652705a3864503277765f4a6c463532377543376752586e6c5a625a706a626b70564d743575784d5073722d773250335368485358686e70572d5663426d45596a49416350514f6d35426844326638464b6f56517578545368693456757a51674d796e785365575f6651307962575a5a4e3239304f696b67314d44553343693735783378516f672d7178634c70415453536139524e77744b684d6a4d48445266706f59466e6e336d75335378533946322d5549316872706e673645553038657364695543584f78464850534a5451425150782d4a794468694546526a344e74577975755f614861374369714c76587375397a4269613963646850435635346c6d412e2e),
('50801233d5941282552bffaf8d8b36c0a9c4851e', '::1', 1455823525, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353832333237343b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b),
('52c634b8034bd8224ca10ad4a4e0c7258e1865ad', '10.108.2.1', 1455888977, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353838383937373b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d676572656e636961725f746172656661732d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d),
('554a8cbcacfc5ca6838e4e9c85e8c62e93a63082', '::1', 1455822453, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353832323132323b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f746172656661732d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d),
('561b1cec0b59aa88139d2cd72793c9b6adf06921', '10.108.2.1', 1456232063, 0x6c36336e704c646a325a4f304f764a4d754f7035487834624473326d2d34476e4179636851316c346f654b6c7872365377516e63397568314f3935774e667341557570364b454f6c764e43787158463655366b52614d307463466e345257444159545f705330386d3337724762753848596755663036714f417755573756487034375855474d4f6d65634145524e374a516a4c325a4664774d67644f6233536a47664250593347474f59454a414b5a4e2d6b534d5571594c54415933546e344a4d37776b48314450586d4a5f616e313758557262784747515f3161526a6a61444a64785f73764e4f626359543533357a4b316435667a397863315f79573052534e744a44586468465241523853766679757a4b504f4c504965724e5f3333426a41424764323132496238696e4163686b4c505f6c416f4332474e57683148477145534a566443567a556b496e777133566c7763417373583738666665556b5944565a78514c464c715955787a74507a74343047717162564b4932355f6148504a6639566431614d675f685471345f72736a305043546f6456385764764b76556932726a504f68756f47736a4735574630327564626a704c476739716c67714b72454c553958494f623148592d6a364f4b644635554758653433536633446345776e3855694d6d56326a734d5153594d795a7367564b72426877713639694c38593751747473794e68315f2d6e627044386779516858353858336f6a4b353959496e2d496f7a643168507632314777324c31597569336c61717632714d775157774c6c6834377371674562456441766374504d706551685039616d54355476326e3133753251325733796844514b57524a326d466e496e6f6f6d3645414f4f644c526a723548394c594d727372412d4874655366624d534d383132334f784a47597354694c54347343726956505f53753534643733644435784e69786b444f546369453972624c42724c5879685553676b443250746a514c714e35597a42555f3151774e566762425230426a69306c436c777a364e663061436a736e617441304e69466a305f504b32794f452d5a454f597356594377715855777a62354f564f794b5338334f4d4e494671616f6e63444468655877584b314f4d2d453062756b4962394a3735746957677151594747535f6b4c356c6c414f2d3177714a64517272765a39684b4c6b544862516f326b58396639353731622d53596c66325158735a4c5858554b76774c38626171317774306133314646664a69575a4771546c504d5957717a7a7137456a56546359504c5a5a41324e37305f76592d6432796d7053514c383644334e654938745373735457426b4364756e3852683952386b3336656b4c596b3338747659785a624f7271476f38644e586f796b66552d5a3735724f2d6d657752782d4e7a7675705f796d4d61647a7237436e526872617a4a452d574154794134793263644534784679564e646b64565a3161764e346e6f486a6d654b717247583137666c436c465f35356442316e55736e2d616c6c7a704b446f524a3270395438514c4435577579766a6b7172413350746c6b4b6a3259355a3753385a6c6662525a5659623746327a4e316f6d456d71346f535133664f54367768555659636432783448555f5f5830414e7a36462d53643437447a74634466424853316f33364679793543626a66443138394b634961596e62445836556343635a315461314f65367a66656a4350394937595564634776683573474937446b6b734942704f683841624934373270646854645f574b513858304f363541397a616d36327a6e5256553235583066507765476354396b57576544317761396a68714a);
INSERT INTO `ci_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES
('56e9e5f9f36735afadb278d6025c88aae21d0fa7', '::1', 1455879390, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353837393334303b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d),
('5832b7c9eb4f41d90b15a257e2033482769eb3eb', '::1', 1455647282, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353634353437383b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('59b3978b10d8fd408909ac5d0e3e9be267e1ace8', '::1', 1455712699, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353731323430393b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('5c29a8a17cfd21bbe412a39cc72de0c8702eb4e4', '::1', 1455651827, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353635313832373b),
('5e0d0837662889296c0f5246ae0675f1df024af9', '::1', 1455628119, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353632383131323b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('60958fa226813a2bc2b94cb967b2952db482f3e6', '10.108.2.39', 1455885801, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353838353830313b),
('6450fcb6fabae6e9e5efc6d7b4272817b07108ba', '::1', 1455818482, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831383237313b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d),
('6a1ee609040349203a42fa80fb1219e04599f5e5', '::1', 1455717325, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353731363533343b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('6b2a3f5ab253272185a07668d54974d3bb7f8d43', '187.255.217.147', 1455932514, 0x58417876634c337a45744a4d6e6e464e42736954396e7665397a39455654766a304f7a3079766555786f794a4b794957744d77304a544c76793671375a37473679416c6f4b6e55417a2d304d304d65764d4643377751454e6a364a3730336f51415a54354b353258446d313848684a336d30465a646a4538396e6332645446576368504b3752707672787a6c47344d687843385f557571593072345977656d61745754685f704f6269546158394b59384243586834396845625054786c463330484e6975754b384367734363756b69324358534139625231353252453662766e626e706a4a4f344c75577142306b61377a514b596e434569384f646d2d64625664797539566d37674469344a5f706772495a4f766c69324f6536765262526f5f63555561645f72544f5f632e),
('6db630091764a3bfd4d43afe57fdd5ed0c08654e', '::1', 1455647341, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353634373238343b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('72216943f1e6acf7be0ae69ca24998845ee5814f', '::1', 1455738233, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353733383033323b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d),
('793245b02df5b1458275873e72cdfe8e4206f8c3', '187.255.217.147', 1455929987, 0x67514972355130765f634d3432655830783243415f763531446a595f575642596279446e5772426c4458634244613958614a38446833626567424c4a454a4644456c487936334b594e344e6d72346b627148617249597131772d546f667336516d7a58616630697573796b4b57786767687a413456574f4650755831574d33367a76345930305f437a786e423659376938456b4d547361732d304f514d494267516e4664634453506a6562774b5731466a714c46524542446d62576c2d36567530553353307a6a416e48723041574e6b4c724c494b414c326b49746b484d7430706a694874514a68316c575678715357625f445036516c79374132584c7a676867356d5a4b6e76614e544e56347569624a6653674f6562736d4565663863557175516a3461614271774d6f2e),
('7ac73753f35f9a744747eebb976806fa51e8d833', '::1', 1455796880, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353739363637393b636f6469676f5f7573756172696f7c733a313a2234223b6c6f67696e7c733a343a2269676f72223b6e6f6d657c733a343a2249676f72223b736f6272656e6f6d657c733a333a22436861223b636f6469676f5f70657266696c7c733a313a2231223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31353a2269676f722d6176617461722e6a7067223b6c6f6761646f7c623a313b),
('7dac6fd96eb611eee92b676f07d17bd897c2e3c9', '::1', 1455645098, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353634343832353b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('7db6a760878a0c1da03e6f163277a24ed3aa9139', '10.108.2.1', 1456257002, 0x69326a5744667736303663524968655a724e75443761784545342d433745343043786b43367933734d54626a377466493330686a744f5f5f32616f3770337447785477674f75777962386b4875315a5f3564466f6d593150584f6d776a6e3766335a33666d4650315a624f5946626e36566f5359625f516e6578716439704c41624843565f4177695a2d36466279336e5650703566524f786a4458725176783865784134574452484b4b72794737663034482d774368526f794b437144664f536447482d756f42306c57624675626d416e6c72324c6b5150444e4531686c30396d6c76744d6976366436712d785741614366704435366f5976614f4347743339455f4839655579415879576c386c7963664b44344d7a54487459785277514367705a4a72506f446c6c506e6244375179526467465f7368335a305737556e79526f4a34466566384a566278536839786c5562476c4a77504b36756b6257377938485a4176495f4f4133436b6f4177556e6a4b666f413974322d554747326252525432516f34352d705532514c6b346f3268617a3634694e455776314f75555f6449776a66325f6b7472534e6f4a37434e6b32763556694a372d573674756f616b),
('7f7565cdddb954038eed506bdc5e4508286f0ce7', '::1', 1455822719, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353832323533313b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f746172656661732d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d61646963696f6e61725f616f5f70726f6a65746f7c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d5f5f63695f766172737c613a313a7b733a32303a2261646963696f6e61725f616f5f70726f6a65746f223b733a333a226f6c64223b7d),
('7fd72836110c1aca7f3bec69c4060b98c9a035da', '::1', 1455729699, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353732373239303b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b),
('816bd0aa41ce8ba9dd193865122335168e47e805', '187.255.217.147', 1456191982, 0x37685f784b7a70534d55626e4b365277524956447a6e717a6c326c324d2d756e5f6667675a3747595f4142424d4f65764338504c2d72734354514158326b50514b69374b5774626478324b52446536554f68416733456c4665656c5a33393334644a32534a6f5768766238613232384c6c64334c6571667a72476f34645647584378567254512d6e5f2d323961493645545f524645515436747777384d347736683354454233647977717a344a2d5a37716b635856596c6a6e6c326367537272336658514252306a4445597a504d794f4a336f30313142325379307866644636453753693447413957386c6c4f43304139643356496d6f763648726a5f5073626671476f505175616648765565766d6c6738764666314a4e79644d3344554c774145626d673673487654552e),
('8325ae0396a251a1c34a61cc7c4d08dfe2c4d79f', '::1', 1455644823, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353634303039393b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('86a4c3acd3d79751b86f785d2eb3249624a5150e', '::1', 1455899705, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353839383433343b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d676572656e636961725f746172656661732d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d),
('86d141f54457a0e4b0dad42ee38eb6980b426546', '::1', 1455820310, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353832303232383b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d),
('8a3b96a8260c631e4a1910fb53cda08705caa575', '10.108.2.1', 1455887629, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353838373333333b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f70726f6a65746f2d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d676572656e636961725f746172656661732d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d),
('8b5478b8783eb9f40bbb53e9c6812d152f45242a', '::1', 1455795846, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353739353730303b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f746172656661732d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d),
('8bdfe42e2ac88ced9b8a22d3069f2ce0d647a764', '187.255.217.147', 1456189037, 0x766444546f3741337872693567614a5534656a352d6b497747554759657a4163664c2d486b44475061726d4b5362767255447766595f394e7254457262426c725f41706b466f78756d665553476f3252304865444f772e2e),
('8d48894a6ddd6a40c78edae59b5a17106a28a214', '187.255.217.147', 1456192237, 0x473475794e474568705859417733794c31686730564c774743693533766a794a7247706d72554a2d6947527658307970517831654e51542d333944676e6468703537662d6f56566c5a4353784950394d3378673765672e2e),
('8dc794f7db188ac404479403a2baedb4352d13c7', '::1', 1455819797, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831393735343b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d),
('8e43e5eead29154c4b53ed0554f8d0c67d8020d4', '::1', 1455714593, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353731343434393b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('9262321f77bfe97e3c98db6fb6b95dbcb2582fd7', '10.108.2.1', 1455887225, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353838363934343b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f70726f6a65746f2d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d676572656e636961725f746172656661732d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d),
('9824386e5acda5b0b40e55dea73cec65a3776dc3', '10.108.2.1', 1456257965, 0x6b73712d4e616b48634e61467830516367493675387739584f59506e554e77425f657164554a64373847646e6e7a55305a79545f626b6756463375336d42412d794c34616d6f6b4f793139794b494e48703852526930556d36697434514c564131586649414e303230432d675570346155544b65496347465f486642593961545a46357075496a574b2d2d4574314a726f557a7955764b666c7850715a6954692d696972536d54585763716679376e6978304867464b5946457857454656437a6f58543168686a394e6759704a386871467767654d767555754341305977745f64624562336f6a455771665f4631577a6f4c43426d39357a56617a68766b79715161414555774f755a66454d576476354133382d767653456d38794467312d656d4c74584a535a65544938643463524b476a574f6751392d71664269655953686551342d3835337a6a656c534a456c75456e4e6b6f5253486d30623052795746344738585a5631487330496955755f6265694a565a6644746d66304558334f38526d7154677463694d6c2d4f346f4461526f4d3178597654677679504474463137466851784234725f3071424b64766a586e6b374c4c30704a7259795875645a316c385132414a3177366f4e4a316142433063454c375f385473694f7132794358367332336d48705038374e783930316e534d41723764576373722d304759694e5470384b4d4e423045495f634676683773735863692d6549565a59565448735a62742d58314f3342695673337366524754396e4b30415245546c696353366b315a6d5873724a7071625754684a4c70556659355f49574c57715930624a674c30665546455a326a7766552e),
('9a40affbada1db76129dc25fdbe8d4a282bf95ed', '::1', 1455799022, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353739383733343b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f70726f6a65746f2d387c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2238223b7d676572656e636961725f746172656661732d387c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2238223b7d676572656e636961725f70726f6a65746f2d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f746172656661732d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d397c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2239223b7d676572656e636961725f746172656661732d397c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2239223b7d),
('9bcf44acf6eb685bb1eebcfd512c0f4c9794f9e5', '::1', 1455823924, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353832333737393b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f746172656661732d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d),
('9c7a9c195f8b2c79914e348e667a3b53d71db0fe', '::1', 1455715390, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353731353233323b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('9fd74b4fb91949ed725eb731269c275d6ed95fdf', '::1', 1455825636, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353832353336353b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f746172656661732d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d),
('a03192abaaeeac012201c77924355f11e4120088', '::1', 1455734683, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353733343432343b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d),
('a33106cf87757e4d4c8777c6c6bd76adc8906fc8', '10.108.2.1', 1455886499, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353838363237373b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d),
('a556183edfef4942302300859b63170b6bfd16a2', '::1', 1455815849, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831353537373b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('a76cc0428487a8364cf5ea51ef03258236c44d16', '::1', 1455801016, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353830303839343b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d),
('a898e0c065c2d69392bda2fac1a6c2e5b0f5116e', '::1', 1455795428, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353739343938363b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b),
('ab5afc6abd9e12dabd73fbb3b574a1179c0be983', '187.255.217.147', 1455938306, 0x76564e564b766b4a6b50505234705453466663305543766f5478503067766a73396d434f755553352d694f7338332d335a4e7a71716b7962417137797256417531344236674d33613534765a715f30316a416e514c672e2e),
('ae29ec8b5d9affbe3a9b416c294c46315701dc26', '::1', 1455819241, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831383935373b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d),
('af7b2200315e54be129a34528cf58cca7c307e80', '::1', 1455824250, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353832343136363b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f746172656661732d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d),
('b0c9913b675e686933f79b5d0f8d04e79a543ea3', '187.255.217.147', 1455991211, 0x4b6e6d467757385730754631436a584d5949435a33504e512d2d69747a6b4c2d5a59496970486e755073347047536272714f4c335447785467467157666971484547336a376d364c774255396b4c6952664368556c62444f7165746f4e44445a68656446686567516143366a504a6973334f4842544c6d5043754a65596b4c7a45437a74526f36504b4270636948754d524e486a5f63706361484c4b6d59486b775871776d31457447644e4e74415155767a6350514567385531612d592d42736e383842647057517162676c37357553724f326b6d47467149344b4149646b34624a4f616a507768495747616a625a44663242754c4b7063777672545155766342506b4e666c7562526c62594943324e4b7337363955435f6364305f512d32575f61335443584a7259447a2d734c444a7262654f363670764f6c6d7850454a554439472d627638344b70657778674e5a4d486e78786a35386553626e395f2d366b5556327779614679487764434f734652354161456e304a78656631595a315570347442686c576755794954763147595f657a797844383175746a5045323047306e755a673871794c4254463268517850686c796161492d7554316b7836506c6f59642d686f3936306338556d726a645635306163365f6a397375314d304a4d77304e7576776d394f7a393430396c427872426c316e7662314a7851593730366c5a615f374b4b66387853533670546f714b4b78723873766e57396b69536e7575616f36414351634a53484343456f6e786d72645238645a396a7a6f473059582d6c6a635a79346b436f536171495235592d4c5676445a346937454249325a56717031784e464962794857682d76573842326c6e6a70776c726555796f7939676b7530763365676b4b655241414d765663514b6f3066426d4c575672696c4d455566356a323244594b55305459756d717343576d46414a7a503438635652535674614c326e495a743474435355424974502d524d712d5462497146525f5364716a3951346348474353514f353049534273705141685759572d314c64785a616d657a30642d36744e5f2d47587632476259427a68334677534a3058376b6e4e5548324b7a694354334875426d3630426f312d6b7a686b314f3037483872565876377a7837582d64696135354e4f4f39396c6f6e436f5878625349385656763563744c3461655f745367373775396c324a7155456f48454b626876684770552d746336464d396a4b4272613344486f6365556357634f426d7855415a4e54715536463577714c4253793866316b58466c5036595a683968453538384e6b65526a732d3250554a50317a6c4a514f483437637164357477496c526d755f3759783459704f68326d3837496461506b6262702d4534386936426346456b3775674a67447a51387868664e7539415668595948474668326654324e3067746d306c75494971612d75686a6d366a6357553941746d554b3078504e4b2d79327a67584850564a536638775548736b666267674c4c6c7a396e5862666a6c4a4d4378537258365355694449346d5f7371755034636b6873672d42416f79356f4b446741397936616f45445567636a715f32434a4b775a6c504e3942306577456a656559326668394f71384f344f58484c6f2e),
('b0dabd8365c2c33652fad874acb3bed5350c580a', '::1', 1455799456, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353739393136313b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f70726f6a65746f2d387c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2238223b7d676572656e636961725f746172656661732d387c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2238223b7d676572656e636961725f70726f6a65746f2d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f746172656661732d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d397c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2239223b7d676572656e636961725f746172656661732d397c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2239223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('b1b76b8472724dbb0ac69ba269ec5cdee37b7c7f', '10.108.2.39', 1455913607, 0x703036724c755355474958476533495a504f686f6358385676626371796d76564f374337316443627438654b31517271305f694b3543526b664432624243495536557264586873714f34545a5331424f474d72776e78417459624f36586b4b51345650584f6d6a6a334e4e394841414572715945366965737954555755755a6a4a6e486a59463158744f43684b6353647a447452594e51445f6d4531546d347031764541586f37433167536731726f5a30706c71777479444f4a5a644f4464774471467530504f6b307a546b446e4c753730646a5f5732463743716854695f625861614b6a776c5930615a644d4e706f5243574751534b6a477730304b6973356c37514e326c7045794750654a5248396c636373384d474942375138474d342d416f59356a6c436e663359424168576e7a3838576b6d76317366564975536e337a6d6c4b6a6e4d6163495f65444473744b486936575330503964504645523973505a4b75594678356654466c734c2d5273392d413957304b41554a484b2d36414447573964526c57694e3157645463424b49526c307a667a645433624953756741476f503278642d4f754362425135744f4c77734f6d4e4e6d51484639327669434f7233314e613167736645427a7833385a56534e557a7177714a495a76584166486e4a676570376969366461504d706a674750555171685948784e4d4446624d78323849334c4653376f2d76433254696a6c7071786f366a3638334d7a3350703330527873344e6478484477575f583173486f595244396f6b716435764330357656626d4c326878422d536a477a307a4a6474565a73334a70725f5162676b62714d652d6c56673767634b33472d2d7846316d6e6e395f764a53776b7a61627959346f634b43475f5175374c594737724a58675378445f5a6e66644d645434747a4f37327a357437714d6d4764467361484859476a4b73527453454862387945397a4335357456734971585445446d383270756d304f745266734c6748507a30665a44746b71755447642d6352466462523045577471416963546f4743774f75556243627a726e733235454b77776d6c6a53706a6176743556735471416b42586e7243326f7674324f43567a735038514d785a4e7a6c777044416649746b5646723663646c6c437a6175496d577335742d2d7879452d7976386d46757a667262686c346c7432514f65754a6f77564f386971313850695857536c32535633464f3070387734646675647776544a4d336e4d61443931554a376679544a59584a6a7861674334363536417254314d2d44744e52553647625065694e4572384d444435724e5452667354554b495869767336347437567032545a5144425055314e774b4165655167342d6c5a74665434456345532d6533477a48484a32316f56636f504279446a33777042476b61484e634d69614542672e2e),
('b2a7bfcc96602baba27a31805d849a32282f4272', '10.108.2.39', 1455910660, 0x427a64645973466d4471597677734978345841396835734d45425269447365547876487074745274747757316453787667514d5034396b434f6633747a574b3752565554764c4965324f6e7a44366a59693476336e5057365730757a2d45744a6537686d6a334163506f62335f664d574b626e5141445967594a7148464b6a663444435946423558567941575a51755a2d6e5737733969766d765a32637761554c3543476b7764645164517872446e5952717332494a737978695a327236794a6933746b47512d7276585134355552314c5a615941556d51375f5774423047324f6b556744794570526d417164625a78554b5f724f68745f51316d6658536f624369525567764b59354933514a63583233436c4966424252535a4655737466424e366146333349694f67302e);
INSERT INTO `ci_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES
('b2de66144e6761230eaad3e24ca9319aa835edf9', '::1', 1455730422, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353733303431383b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('b3a1c21925e14a3ce1688f31a065f22f001a9447', '::1', 1455732001, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353733313830393b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d61646963696f6e61725f616f5f70726f6a65746f7c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d5f5f63695f766172737c613a313a7b733a32303a2261646963696f6e61725f616f5f70726f6a65746f223b733a333a226e6577223b7d),
('b3d47b99e235f09b411f65fdb72507b129347cce', '187.255.217.147', 1455931127, 0x3966686e565841454d33484546686476346d64376a686754444e426653395363386a38306e656141427357374b6476587361305f61797a5442713136385830376d343846456f4d4c4a4242423044772d65566c544c705753644a67353162654b7a517142766c4b6e676a464948586658537733736f4e364135374b73436a617178756b475972484b34446c79614d355a4f685366495337754b4134367538386e4a38394f7361564d484a77727a476b644e5365744f7a676247397569582d305f55454f68616a622d7a6f2d4848486d7a635259375352305a47316e6b59682d49514f325a5150526f344d56573459475f424874694f77454449716c6f725645712d6f316f306c345a6c577939615743704f57736e444d61695048386533737579434978614544566e52306f2e),
('b4ca083f0d4099ca9299bfbde6fc31571876a08b', '187.255.217.147', 1455991092, 0x793562496e524b777844595776425352307269614e33585766687159596a396b6b37755a73574c53587670747669652d2d78424c5775724b3348437a7768795430746c63653246474534584753756863335275334a4a6b39594d49555864545835352d58355f544f42754959314a4d346e78456162687059436139644d497242627554367346305a6c7752725874554430505637734e4f62774c50332d595979784d787867713474747335353675685f64496b6c71656d5a3942366c6936537a48556b5874555f527151335337334c354c6f796f4d556e6e436739576e545a6654773741624d2d6e596f4d72324b566f643349554643386964562d716834593478336e514c355347736d4d7373464977637046574559776a576b6d426a72386b3938384d6731393779563433714863554733736454584b744738345176617a6f476d57746637734242306d66743953304d326b775856636638774c44446835356b307a6342493944394d5f424c662d78614f786f4e79596244596a756848463335666f7a41536f4476735035757375316f327037304371586c55484e48474734394e426453534d35794f534150554a2d413635794130506c7536314165554a523259556f504362324b46715f3530656f784d796844585362514e473342546c3467314b79504d65623652534769655a6264754e30497646395f7071386967304f4f413043375047774b4e434d41634268446a514f71636a565866625637794a794b314c754e516c6741576266704f5236706a626355725870786543347a7861693236675a636e3074584568384b464c7477453755693169486e4c7638784c7344496e6b4f2d6a454855575f735848396f3237737a7655773855524e4a3470735f44526a377531665437467366365668357731656c6c6e767548663379704643366f4d44414b6e53746a57733754615750462d7530546c51444b567246386238367271337863366477473457714a515a344b496730536743666f6470534953596c6932524b326945557070775448776144715277337135454f63733969587856614241376e4b59655f504457734572426d31547a66334e73715f3875725a586a75413539634350697676683142765a524249423234367976307650554e7a5454564e3450322d64315841475038765a3336486f45756a667868684c47305039533372587247734c68596c7a70635078375058516e4c653549344a4776493055417436345a53445f68386f4b597951447a7332777367305664366f70746d6848516c4863735859364b6e6477614e4d732d77596b7475696e6d3456413349705071464658594e667a6e3351426c504f45776f64794773516d6e5a4f5842325838757076615a744165646b75584943304555582d6b757a4d2d4c4869654e4b595a613672765749754861664a7a52496b7058524e5158586a512e2e),
('b5202fcfb53a96afe05a250fd2013813ef4a5cd1', '::1', 1455897650, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353839373630373b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d676572656e636961725f746172656661732d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d),
('b672bd6344323ec789f2bec379d1d649db7b1f37', '::1', 1455899729, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353839393732393b),
('b7a6d3131db843c6b705c1c8b13df4f01248b58b', '::1', 1455717524, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353731373332383b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('c17c73604438a26cb9377f50c87a3a44ea1e32b9', '::1', 1455651719, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353635313438313b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('c76b7c61a67e35d4fd6fa8288a678f906981af92', '187.255.217.147', 1455981866, 0x6e5a44495568494558654e424d672d376e3462355162476c6b6d4a387a644e34325f6b68712d666a32533657686a7a65416c7a4d34794861494f36796f34735f347631767632693677525461504636304a5a39636d7a42654d78447a5455596e757a4f465766676e6d6433486a71526f5359377061554a5f58724e694764746e3553703275474d634f7a5f57345758794e366d577864756435462d7a6b686d733053313279555a4e2d784f37525968386d3878316b473164337361655953526c4a5a374a7863436a346c505571795f444a2d373776344573524c416c6337363058524170526a306d746f53686f764e5f43714a50444d45306f5a684c457251725f3436352d364f54477534526c65707545784f437941754c514d5042745152583668694853456e505f5a7957676f50784e4756436d5f6a7130754a565a313732667266436f53546e7865792d417049757a506662626a6f543675546d4d6a48504972676e6f4730467250735f5f6b777a665a33377464646b36424f71687045575458787275457135496145736c79694878737953625636796d4a326f5a617036645130367968696363654d656a7669365432777a3053485470334936523273752d4a454a725f654e5232304f4e5774325a656a56493363386c33413355704557685f57706a48466e756841635f3243572d4867777a3774776851364c4a4c4a527166734c5f504c58645933416378586b72707033527a646464687754316f56556c47594a4464454e63423561766958753961746a53395271587a6b35794c5071534d6c624a45476476484374454b565a46705537653942334f51624a4a30373064557245625353494e6c564a4575334e4257702d4c5350476f746b41376d57752d4b61584e7239704d76355377393746473638526c645844362d41694551616b56725949564675642d5737715356466a3952374338726833336f6f6a4d614f534b4f5749384e4172494a4731586e336d6b66644c6b4b39455a75517255767744684653486c694136394e574a5a78764c6b6d34444c6e646f6874447452723564507337705a66365a4f485042664270626a6f47337232546a776a74765a6841444e73337075666564754f3550665264364761617a4145534844385f346848486e5459354476733763316242526950374b466a355a63316f7a78615371377662513534324d63386d4f6a3373492d31443767724b4d434c4c3554705036366a56356b70447a3946594d53372d567766494351474a393345554a325736566c397546384151586a6c6c56387839636c51307735717a3674356b72447763455f33474b664d4d58493667306b43616d7648696730725f6755476577456e5156442d6b577a2d37486b5766474961574a4c4667704d715f7351465f475f707a644c395156636b707337762d785033662d4a7a31705f66496d2d412e2e),
('cc806bc73d31a6afdb1daae44cd835de3411d520', '::1', 1455650750, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353635303432303b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('d3bfcb9980d29764a1f7581bff74749d0631531a', '187.255.217.147', 1455982500, 0x5368306269385846677a5a4d61416d6c5939666c3871455f46464c75643742596e69624d4a4c7970594c3252414e534b336e656348697545676d6e74714f687345736a376a546a65546a44613376585f414936697443636e4b5533516c5f6130784c58626e4b6c4e6b6249556c726a4f57444447627265377035634161574735756e5565415257343948795a6d556579424d327467463032673037755161593556585130503654427055774e6e57512d744d645172585f6c4e542d48387233344f464e4950647076505976624667785655764a42634974655a4371616e4b75784b485963477a4b7477615065512d716d4575697365695a594e416e69445430616d6273336361766153375037443061596954576d5f4635596466433559316b51446e41776762635a744e6532634d666479524673656a566c464d396e69327578636e5a536f4c6a314c7834695a6b3435494f55467168394f79313238776154724c546e6b73614e2d3536396c575a384d3259784150425a38537a674378693341434d3531354c5065704166427a464e55553865683751784f42796831746b416b386b4d43516956646d5535534a4235654959464d395765665453736467696c7a73524f6a43774e517a686177585964474d31704255762d42447676337a45694a506e50365a3153614d4a784335375a6e3871726143737a2d7635384747306855346f494c66736a4c4a5a584d4f5a5f7555374131515551537279316e2d433142593876585469483769556a4f345a6f38434358375f76335649487a4367456952455f454c7734564a6e5f423950436761497346653770347638467a2d30594b786d673753635649524b7a756c6c6362314c78363446346c5f447942685f5f5430686677795954313955534b70656b7133717579574e6c515837516c6e4b6a79387641514831664453634c544e516474384e5f454f3434477651525a337a6c666777564b6e4e4a4e3945546b5867337a444f45394c5079474e52584c6f666d57666c4e54647056704138566d67534b59324b47727373556171445436337259363254384b665a35613432394558527443564d44617177395359336c336f3559383455776e6d695f76514a4169617a512d7450326a6d75574e56614d327557534f77304865676561415856785a7a2d61376f64645058347164705a6c705a597a726c4663472d6446587076615235444b39595f7766377932494b4c336a683844775a4136444152324d70363865415f70426779555f636d6d796e34327a716a627138527a487530347864563459576c325377656c786c5035746255795870482d31455f304b4d5050497159574851314c68507134556e5a476a7a627a6c4e76396677566338794a5263326a59366938326f7777375a62477757416b4e7a51707765426e6c7a665833536475346968697255384474306449672e2e),
('d4809384402972772c160fdb451e97a542617b25', '::1', 1455713027, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353731323732393b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('d5d4a4d4325004201fc06f273f8284da8d1bbdae', '::1', 1455651479, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353635313131333b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('d6424b9cc143c1c8b8ab53f803957678d003bfe6', '10.108.2.39', 1455914732, 0x3661377456524731744941596f696a7a3750783146766b47523649575272556851362d456f664d50616f57765f77514e74304c6955334535676a4749616741304a6f324f54423459375f6e544c646a54786f543774434c553948505941485755732d64356a50506572554650434e71396557357666444c3552797477327a674478486c73794f357654493754524d676f736c4737325a44335039373541465131796446702d374b3075793954746d6e757a5570506d5f702d62597643676466675239416638612d61336b4c5846705336687a6c5a58706174774534657a5238616144504148335576704d2d3166627570494b64346663786c4e554e7a73785476306c6f57366d7a765f35686c364b49597571576f65706f52475f372d58722d4151356974585f584d3246672e),
('d811c79b7bb4c8d5a114c199d96c262818e7081b', '::1', 1455816089, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831353931323b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('de323230fd8f080ce5e6acc586aaf60fffdb01d3', '::1', 1455639914, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353633393735373b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('e283e5aa299706890e564c72417097d6716f31d7', '::1', 1455713215, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353731333033313b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('e3afaadecde707e626ea01229f211f01304a899f', '::1', 1455737811, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353733373531373b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d),
('e3f760293fc3325bbe5ce3dc4ce6fd92e2d79ca1', '187.255.217.147', 1455929286, 0x67654e746a474c75467a6664767579436d415339497354734241645167387562306b61564b70495035674b693349664c66704e414f77696262424d78704b326e6a39584c306c35624e504c336d3765433649762d3443494c4e2d57716551434b716950524a525449793442706f53796b6e67446e693935634653535a315366483146316e37356768446e6f5f687a54794f6d31773563414f666455665768766e76355550387459356a56486f62686e41487a644c4f523548376965637a58647775786d6f5f61676a6c6f726f6d596a57792d37696f6979716c755950494b4451316c754c664b734754525453783832446f765f485a6c5539467455415858374a6850766f535a2d5f685147546d53464b45356a535246707959564149376643315a724178375663647542672e),
('e56e852cb9029a7b147d4cc20fbfb7d3929e5082', '10.108.2.39', 1455909897, 0x443143373668694b794967395271625671434f3733356452316a38316f384c52694d734d31674b726761366675797035437239366f642d3961484856397743496961643243516f70663859356d4675557a6a354649772e2e),
('e6f704f87e4edfdfbcd08c844c0c93bec0607734', '10.108.2.1', 1456257799, 0x763239667a4f674c436448764e47474879635662345545546b37727869544a4b69777a69775657715439426e3545776e50424a3070787071355358425258334b686c4a6b5866747a53545f6f6c4672584e6a45323845412d2d684755664d4c4570535037615741435f77476568654c61506342753672543178306d6c3655442d4d53456c644a426a71647a716a746152445f7277374f4848445a37532d7430425a334f725a4f392d6152755a3573706f365774764f387a4e42346b57494b76432d6b38342d6d74696574305a416a514130324458355774524a78586838465752676336794c2d75574c6955676b70445a39622d6b3358674666666d71736a56655538774d552d61796473445a6d6c4f7052794f4e4e7172556f616e44324f7033525449416947727074514a4578566a5057484b376d4273637a734f4a454b74356a31514d383750534a6c715263664443785169734f3138594e636f7a58475471495f7565305359596a4f73746e657566734e48757649734f325a675444425439616d387273514758594352766b386e3052717337486969424e613861677a416e4a7346696b33772d6f5139454a59586a6363644a4a4d456f32753556523771495548497059464e514b7165707a534a4b5f386543736a2d6b6a71786f665f757448306344346d7a6e50347866556d433234544749774430696e516b44705a65446b626741493551587369666270755955735f5576665a743733563855556435677053594774447476555f59564176735959536549497270784336417a625f4c6d6e4a6731764550495259396f4973567335546b746459756e677536766c42323043774158646e32643679632e),
('e80f210cd3a29a1a25ec31f241c0b99ca411a619', '10.108.2.1', 1455888353, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353838373736323b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f70726f6a65746f2d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d676572656e636961725f746172656661732d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d),
('ee289bdec9abd1b2b11d33574c9845ec0ab678e5', '10.108.2.39', 1456164202, 0x43314144547033307865693734623946497a5566484c66754f6277784f6a6a394c5f43784c347332792d5a6562764e63756b71473555314336725a39545a58744f43683142305a4b454a4a5742696431755445376f5954786a2d4f307565476a61336e3870706b79613833495977333479353546396155726259487139314663313665527677464f42474e52426154727a397054516c635f43734576495f5f6c525550435f3253693067706947355650464f3432666637324f7a5a354875704e463275437572424641356745545a467a52444244504a6437314932453959664d68524f4b6d50464b6b6336457761454c7641385873797039336f3072646d4a6935426541333975686d746c6d3176555871642d54524f4a544a393154304975764d5f397775646c5a74746647395468374164733470634c4f793268496832307474706c7477554970724f766e396e41455856355830736d59346b4b426842325152775966304b536678334a784771645256476c4c61424479715269394171594b674d5f36555f767036645f3362534e666345355f5358716c764a347572694248726f685057445478366338636f706246664731522d69674438643852474d71713546773644783452334169525138594d78624c6e4f4a696a325755353544447161435169714d37417071476b395f5451494a467672574c4f435a6f6d6e786356596c4a5669694c6e49466d6f704661705673336f6166637665424532626966517033474163646a38446c6156776735552d314f373056716e75562d676e3657694851616e636c515343767574416952784a51527a5632624c71695147444869306a786d62476a5f6c6956615f30514e454931384e66387a4f31667750796958466c7747795871444c42454d33363074666a2d306f616f5872544878544d4a416b4735684c58574134576e31685a7856344b5855644e524372554d4d6249456d6e5475494c6d57373933744c7468452d4f5a50704d533471416a6379634b396c7231336844436c3934566c5f724b44784169626c657478556e764262304b63386a5166754d70626171654563755a6d777a553174656e4555694551726a41325a454d4838397452365172665f43316f4f6644364f32395565444c6862644b64345552644b64474a615375454d61567374766a61486d6b7638426f2d39374877704d4e7149764537496d4f4173375943427a4b6f484152324a427952354652554977574b6b6f4b44364e35324f70556f3476644b6a6c2d746665304b70335837387165594369535632434a47367a4d714675575a36484f4d5f6f444b49462d6b42454437537142675a506c55753061774e486e74594464515870337a6665674b6f656263323347437a346a546e63336444674264547046496777466e6b667a4f304832755359554963636a44314b537977372d77334777555471302d4f7749414c6c7131732d736b6d2d536a6376772d347467396f49457167616e6636435a31427766326f63435f5138766a6c2d42585079674a4779306a724f733834517a6445747a35596a344e5176466e792d5864656776313454594474337956637a7a32675654775a7643357873553331725758563952396549677463626e4a70364d6774764e466a5f48794e4459595f5f746c6771427953444265767163515a496e7563385372696d4a57787a564a426661714d374b3062327831347130544148354730464a4479716654765764747252637872324942734a68413645462d4a50496a52786e52614c674f48663649585f4d46534b4257427473543338565448356b6439484e6e6e7365697274487474557a6843704c654546644e77332d626d6a6148647a),
('ee51c2c061de19b65ba69bd80f304a19242d99e8', '10.108.2.1', 1455888974, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353838383539393b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d676572656e636961725f746172656661732d377c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2237223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d),
('eea02a363e3cc71f8c1ba87b11853064a5356d98', '10.108.2.39', 1455911836, 0x7046494249685f5f626c4e5a7a576b5330374752336537576b335731304d3345726a434e486d665552536b4d4e6148417a4d327335736d7236506e76382d4a55524f686a396439556b476832372d4b583962393944775551714466595365336c335a59506b6d4377364e462d753259706469496763554a696245314e4e6d4d336f716e3578504730536f6a704467574f6d437365312d685159376c683470787a6567754d61474b64325a30696b6439384c36716941436b4c424b3678506338554c6638635a7958634c73494d754a616e3361545063736a32313752414b775f32774f516f414e49746e45454c49624b614f34384638314468376a595f6c47623047324749555f67475243764e6247356b4c32576f737a4c726c6b7a6c6e384a7146615950474c724f4539302e),
('f31fd399468505fec71eb9cc527fdbaf235d13ea', '::1', 1455650764, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353635303735313b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('f507e761292da5d70cfb33fcd4c037d97583790d', '::1', 1455738458, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353733383435383b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d),
('f551d1a146e42abacf46c2fd4c3bd3dff6d60337', '10.108.2.1', 1456257188, 0x764e787742426f48745437396f6c63374f676c5951514a714850723064475675774a39493176315956706770395872464a62554c43674d4d506c6e5758627a7a39743953655a49393973686c45636d56567466455248362d6c4d6950766355524b724e61774e6b6572316759754c7438783677614e6d334352464a63473336665f73624f6269555233747037724e2d6d454b5258394a5677545a41485f41574e3849545546776a586b5775517355683947652d3354306d653953384c6d5933785941615278436d36513765366d75324d546b7464365a645a31786253375449476a5853787145375158446a5f3747544f45494e38474d433544756c2d6275364b4d34417771574b5a6d483657417a41434b5f6b4d4e4c47386e5656396c7563466d636f66427a6139367339447758726d646e6c384c4d7075435041507939534e43517347543452576d4b7771396e715768683534625a666c4a72383233486354756344514344656d6a48564f365043776662304a59746670304970624665635638715a684539526c5a7569484d547364746936677463704f3167544754645579554e31467155336f574a33394b754e5539504146625745783741426f64665045),
('f7ac68bb66e1b9a9ba9d0efb86c40177256f4b1f', '::1', 1455626698, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353632363534383b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d),
('fa6e78d1d4b4d0047a5f22b212fdaf7ecb11ca66', '::1', 1455823144, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353832323839393b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f70726f6a65746f2d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f746172656661732d337c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2233223b7d676572656e636961725f70726f6a65746f2d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f746172656661732d347c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2234223b7d676572656e636961725f70726f6a65746f2d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d676572656e636961725f746172656661732d357c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2235223b7d61646963696f6e61725f616f5f70726f6a65746f7c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b693a363b7d5f5f63695f766172737c613a313a7b733a32303a2261646963696f6e61725f616f5f70726f6a65746f223b733a333a226f6c64223b7d676572656e636961725f70726f6a65746f2d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d676572656e636961725f746172656661732d367c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2236223b7d),
('fc42f48722a1af497f30bc724a8aebc9ba6cdf9c', '::1', 1455825888, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353832353838383b),
('fc5d27256b970e875c1239e86873742b3cca3beb', '::1', 1455815576, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435353831353237363b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b676572656e636961725f70726f6a65746f2d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f746172656661732d317c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2231223b7d676572656e636961725f70726f6a65746f2d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d676572656e636961725f746172656661732d327c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b733a313a2232223b7d);
-- --------------------------------------------------------
--
-- Estrutura da tabela `observacoes_resposta`
--
CREATE TABLE IF NOT EXISTS `observacoes_resposta` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`codigo_observacao` int(11) NOT NULL,
`resposta` varchar(500) NOT NULL,
`data_resposta` date DEFAULT NULL,
`inserido_por` int(11) DEFAULT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;
--
-- Extraindo dados da tabela `observacoes_resposta`
--
-- --------------------------------------------------------
--
-- Estrutura da tabela `observacoes_status`
--
CREATE TABLE IF NOT EXISTS `observacoes_status` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`nome` varchar(100) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
--
-- Extraindo dados da tabela `observacoes_status`
--
INSERT INTO `observacoes_status` (`codigo`, `nome`) VALUES
(1, 'Em andamento'),
(2, 'Aceita'),
(3, 'Negada'),
(4, 'Finalização forçada');
-- --------------------------------------------------------
--
-- Estrutura da tabela `observacoes_tipo`
--
CREATE TABLE IF NOT EXISTS `observacoes_tipo` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`tipo` varchar(100) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Extraindo dados da tabela `observacoes_tipo`
--
INSERT INTO `observacoes_tipo` (`codigo`, `tipo`) VALUES
(1, 'Finalização'),
(2, 'Extensão de Prazo'),
(3, 'Finalização Forçada');
-- --------------------------------------------------------
--
-- Estrutura da tabela `papel`
--
CREATE TABLE IF NOT EXISTS `papel` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`nome` varchar(30) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Extraindo dados da tabela `papel`
--
INSERT INTO `papel` (`codigo`, `nome`) VALUES
(1, 'Líder'),
(2, 'Participante'),
(3, 'Coordenador');
-- --------------------------------------------------------
--
-- Estrutura da tabela `perfil`
--
CREATE TABLE IF NOT EXISTS `perfil` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`nome` varchar(30) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
--
-- Extraindo dados da tabela `perfil`
--
INSERT INTO `perfil` (`codigo`, `nome`) VALUES
(1, 'User'),
(2, 'Admin');
-- --------------------------------------------------------
--
-- Estrutura da tabela `projeto`
--
CREATE TABLE IF NOT EXISTS `projeto` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`titulo` varchar(100) NOT NULL,
`descricao` varchar(300) NOT NULL,
`prioridade` int(11) NOT NULL,
`data_inicio` date NOT NULL,
`data_prazo` date NOT NULL,
`data_fim` date DEFAULT NULL,
`criado_por` int(11) NOT NULL,
`codigo_status` int(11) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ;
--
-- Extraindo dados da tabela `projeto`
--
INSERT INTO `projeto` (`codigo`, `titulo`, `descricao`, `prioridade`, `data_inicio`, `data_prazo`, `data_fim`, `criado_por`, `codigo_status`) VALUES
(1, 'Projeto Básico - Sistema de Monitoramento', 'Este projeto traduz novos requisitos de serviços mapeados pela Secretaria de Comunicação e busca implantar uma dina?mica de gesta?o de dados, informac?o?es, noti?cias e conteu?dos de imprensa e mi?dias sociais sobre o Governo do Estado do Pará que auxiliara?o a tomada de deciso?es estrate?gicas, at', 1, '2016-02-18', '2016-02-29', NULL, 0, 1),
(2, 'Demandas de Fevereiro', 'Neste projeto devem ser colocadas as demandas rápidas do mês.', 2, '2016-02-01', '2016-02-29', NULL, 0, 1),
(4, 'Teste Encerramento Singular', 'Teste para quando usuário tem apenas uma tarefa.', 2, '2016-02-18', '2016-02-19', NULL, 0, 1),
(5, 'Feira do Livro', 'Este projeto deve englobar as atividades relacionadas a Feira do Livro 2016', 3, '2016-02-18', '2016-04-30', NULL, 6, 1),
(6, 'Dia Mundial da Água', 'Criar campanha do dia Mundial da Água', 2, '2016-02-18', '2016-03-10', NULL, 0, 1),
(7, 'Aplicativo Agência ', 'Definir metas aplicativo', 3, '2016-02-19', '2016-02-29', NULL, 0, 1),
(8, 'Retrospectiva 2015', 'Desenvolver o site para apresentar as 40 histórias mais emocionantes relacionadas com o Governo do Estado do Pará no ano de 2015.', 3, '2016-01-01', '2016-03-10', NULL, 6, 1),
(9, 'Topo do Portal PA', 'Topos do Portal PA devem ser atualizados.', 1, '2016-02-23', '2016-02-23', NULL, 0, 1),
(13, 'Campanha Mensagem do Governo na Alepa ', 'haiuhsuiahs', 2, '2016-02-23', '2016-03-01', NULL, 15, 1);
-- --------------------------------------------------------
--
-- Estrutura da tabela `projeto_tarefa`
--
CREATE TABLE IF NOT EXISTS `projeto_tarefa` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`codigo_projeto` int(11) NOT NULL,
`codigo_tarefa` int(11) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
--
-- Extraindo dados da tabela `projeto_tarefa`
--
-- --------------------------------------------------------
--
-- Estrutura da tabela `status`
--
CREATE TABLE IF NOT EXISTS `status` (
`codigo` int(11) NOT NULL,
`nome` varchar(30) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `status`
--
INSERT INTO `status` (`codigo`, `nome`) VALUES
(0, 'Desativado'),
(1, 'Ativado');
-- --------------------------------------------------------
--
-- Estrutura da tabela `tarefa`
--
CREATE TABLE IF NOT EXISTS `tarefa` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`titulo` varchar(100) NOT NULL,
`descricao` varchar(300) NOT NULL,
`prioridade` int(1) NOT NULL,
`data_inicio` date NOT NULL,
`data_prazo` date NOT NULL,
`data_fim` date DEFAULT NULL,
`encerrada` tinyint(4) DEFAULT NULL,
`encerrada_por` int(11) DEFAULT NULL,
`criado_por` int(11) NOT NULL,
`codigo_projeto` int(11) NOT NULL,
`codigo_usuario` int(11) NOT NULL,
`codigo_status` int(11) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=24 ;
--
-- Extraindo dados da tabela `tarefa`
--
INSERT INTO `tarefa` (`codigo`, `titulo`, `descricao`, `prioridade`, `data_inicio`, `data_prazo`, `data_fim`, `encerrada`, `encerrada_por`, `criado_por`, `codigo_projeto`, `codigo_usuario`, `codigo_status`) VALUES
(16, 'Atualização site SECOM', 'Criar nova área nos downloads e adicionar o Manual de Identidade offline em PDF.', 2, '2016-02-18', '2016-02-22', NULL, NULL, NULL, 6, 2, 5, 1),
(17, 'Atualização site SECOM (Artigo)', 'Publicar artigo do Daniel Nardin na área respectiva do site da secom', 3, '2016-02-20', '2016-02-22', NULL, NULL, NULL, 0, 2, 5, 1),
(18, 'Atualização site SECOM', 'Criar área Administrativa, sub-área Licitações e disponibilizar o projeto básico para download em PDF.', 3, '2016-02-18', '2016-02-23', NULL, NULL, NULL, 6, 1, 5, 1),
(19, 'Atualização site SECOM', 'Publicar matéria sobre gastos com publicidade:\n- http://www.secom.pa.gov.br/site/noticias/governo-diminui-gastos-com-publicidade-institucional/', 1, '2016-02-22', '2016-02-24', NULL, NULL, NULL, 0, 2, 5, 1),
(20, 'Atualização site SECOM', 'Publicar matéria:\r\n- http://www.secom.pa.gov.br/site/noticias/jornalistas-debatem-deveres-direitos-e-etica-profissional-em-parauapebas/', 2, '2016-02-22', '2016-02-24', NULL, NULL, NULL, 6, 2, 5, 1),
(21, 'Seleção do material', 'Nagano deve selecionar 4 ou 5 vídeos e enviar a URL dos mesmos para o João Lemos, que se encarregará do próximo passo.', 1, '2016-02-23', '2016-02-23', NULL, NULL, NULL, 0, 9, 13, 1),
(22, 'Layout dos topos', 'Após receber as URL''s do Nagano com os vídeos, preparar topos para atualização do Portal PA. Enviar material com respectivas URL''s para o Edney.', 1, '2016-02-23', '2016-02-23', NULL, NULL, NULL, 0, 9, 7, 1),
(23, 'klçkçlk', 'klçkçlk', 2, '2016-02-23', '2016-02-24', '2016-02-23', 1, 14, 14, 14, 5, 1);
-- --------------------------------------------------------
--
-- Estrutura da tabela `tarefa_observacoes`
--
CREATE TABLE IF NOT EXISTS `tarefa_observacoes` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`observacao` varchar(500) NOT NULL,
`data_criada` date NOT NULL,
`codigo_tipo` int(11) NOT NULL,
`codigo_status_obs` int(11) DEFAULT NULL,
`codigo_tarefa` int(11) NOT NULL,
`inserido_por` int(11) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=17 ;
--
-- Extraindo dados da tabela `tarefa_observacoes`
--
INSERT INTO `tarefa_observacoes` (`codigo`, `observacao`, `data_criada`, `codigo_tipo`, `codigo_status_obs`, `codigo_tarefa`, `inserido_por`) VALUES
(16, 'valeu zEkinho?', '2016-02-23', 1, 2, 23, 5);
-- --------------------------------------------------------
--
-- Estrutura da tabela `usuario`
--
CREATE TABLE IF NOT EXISTS `usuario` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`login` varchar(15) NOT NULL,
`senha` varchar(100) NOT NULL,
`email` varchar(100) NOT NULL,
`nome` varchar(30) NOT NULL,
`sobrenome` varchar(30) NOT NULL,
`data_nascimento` date NOT NULL,
`arquivo_avatar` varchar(200) NOT NULL,
`data_criado` date NOT NULL,
`codigo_funcao` int(11) NOT NULL,
`codigo_perfil` int(11) NOT NULL,
`codigo_status` int(11) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;
--
-- Extraindo dados da tabela `usuario`
--
INSERT INTO `usuario` (`codigo`, `login`, `senha`, `email`, `nome`, `sobrenome`, `data_nascimento`, `arquivo_avatar`, `data_criado`, `codigo_funcao`, `codigo_perfil`, `codigo_status`) VALUES
(4, 'igor', '7c67e713a4b4139702de1a4fac672344', 'igorcha@secom.pa.gov.br', 'Igor', 'Cha', '1975-06-18', 'igor-avatar.jpg', '2015-12-17', 4, 1, 1),
(5, 'mlp', '7c67e713a4b4139702de1a4fac672344', 'marciopassosbel@gmail.com', 'Márcio', 'Passos', '1981-04-13', 'avatar3.jpg', '2015-12-17', 3, 2, 1),
(6, 'neneto', '7c67e713a4b4139702de1a4fac672344', 'antonioneto@secom.pa.gov.br', 'Antonio', 'Neto', '2001-01-01', 'neneto.jpg', '2015-12-17', 1, 2, 1),
(7, 'joao', '7c67e713a4b4139702de1a4fac672344', 'joaolemos@secom.pa.gov.br', 'João', 'Lemos', '1988-10-04', 'joao.jpg', '2015-12-17', 4, 1, 1),
(8, 'vini', '7c67e713a4b4139702de1a4fac672344', 'viniciusmonteiro@secom.pa.gov.br', 'Vinicius', 'Monteiro', '1987-10-18', 'vinicius.jpg', '2015-12-17', 2, 1, 1),
(9, 'italo', '7c67e713a4b4139702de1a4fac672344', 'italo.torres@secom.pa.gov.br', 'Ítalo', 'Torres', '1988-04-22', 'italo.jpg', '2015-12-17', 2, 1, 1),
(10, 'pet', '7c67e713a4b4139702de1a4fac672344', 'pettersonfariassecom@gmail.com', 'Petterson', 'Farias', '1993-12-12', 'pet.jpg', '2015-12-17', 2, 1, 1),
(13, 'nagano', '7c67e713a4b4139702de1a4fac672344', 'marcionagano@secom.pa.gov.br', 'Marcio', 'Ryuichi Nagano', '1991-06-13', 'nagano.jpg', '2016-02-18', 2, 1, 1),
(14, 'zek', '7c67e713a4b4139702de1a4fac672344', 'zeknascimento@secom.pa.gov.br', 'Ezequias', 'Nascimento', '1989-12-04', 'zek2.jpg', '2016-02-18', 3, 2, 1),
(15, 'luiza', '7c67e713a4b4139702de1a4fac672344', 'luizacoutinhosecom@gmail.com', 'Luiza', 'Coutinho', '1991-03-25', 'luiza2.jpg', '2016-02-18', 2, 2, 1);
-- --------------------------------------------------------
--
-- Estrutura da tabela `usuario_acesso`
--
CREATE TABLE IF NOT EXISTS `usuario_acesso` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`codigo_usuario` int(11) NOT NULL,
`data_acesso` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
--
-- Extraindo dados da tabela `usuario_acesso`
--
-- --------------------------------------------------------
--
-- Estrutura da tabela `usuario_funcao`
--
CREATE TABLE IF NOT EXISTS `usuario_funcao` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`titulo` varchar(100) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
--
-- Extraindo dados da tabela `usuario_funcao`
--
INSERT INTO `usuario_funcao` (`codigo`, `titulo`) VALUES
(1, 'Diretor'),
(2, 'Assessor de Comunicação'),
(3, 'Analista de Sistemas'),
(4, 'Designer Gráfico'),
(5, 'Estagiário');
-- --------------------------------------------------------
--
-- Estrutura da tabela `usuario_projeto`
--
CREATE TABLE IF NOT EXISTS `usuario_projeto` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`codigo_usuario` int(11) NOT NULL,
`codigo_projeto` int(11) NOT NULL,
`codigo_papel` int(11) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=67 ;
--
-- Extraindo dados da tabela `usuario_projeto`
--
INSERT INTO `usuario_projeto` (`codigo`, `codigo_usuario`, `codigo_projeto`, `codigo_papel`) VALUES
(1, 6, 1, 1),
(2, 5, 1, 2),
(3, 6, 2, 1),
(4, 4, 2, 2),
(13, 5, 2, 2),
(19, 15, 1, 2),
(20, 7, 2, 2),
(21, 8, 2, 2),
(22, 9, 2, 2),
(23, 10, 2, 2),
(24, 13, 2, 2),
(25, 14, 2, 2),
(26, 15, 2, 2),
(29, 6, 5, 1),
(30, 5, 5, 2),
(31, 9, 5, 2),
(32, 14, 5, 2),
(33, 6, 6, 1),
(34, 10, 6, 2),
(35, 8, 6, 2),
(37, 6, 7, 1),
(38, 4, 7, 2),
(39, 5, 7, 2),
(40, 7, 7, 2),
(41, 8, 7, 2),
(42, 9, 7, 2),
(43, 10, 7, 2),
(44, 13, 7, 2),
(45, 14, 7, 2),
(47, 15, 7, 1),
(48, 6, 8, 1),
(49, 5, 8, 2),
(50, 7, 8, 2),
(51, 6, 9, 1),
(52, 7, 9, 2),
(53, 13, 9, 2),
(54, 6, 10, 1),
(55, 9, 10, 2),
(56, 6, 11, 1),
(57, 9, 11, 2),
(58, 15, 12, 1),
(59, 6, 12, 1),
(60, 9, 12, 2),
(61, 15, 13, 1),
(62, 6, 13, 1),
(63, 9, 13, 2);
-- --------------------------------------------------------
--
-- Estrutura da tabela `usuario_tarefa`
--
CREATE TABLE IF NOT EXISTS `usuario_tarefa` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`codigo_usuario` int(11) NOT NULL,
`codigo_tarefa` int(11) NOT NULL,
`codigo_papel` int(11) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
--
-- Extraindo dados da tabela `usuario_tarefa`
--
| 273.332143 | 3,067 | 0.952001 |
27c1886114c0db3a3c8da87ffc11a9e5730a5b61 | 2,395 | lua | Lua | lib/skywalking/util.lua | membphis/skywalking-nginx-lua | 3b0ab61907936f2a3eaf96f525c2543069c41a80 | [
"Apache-2.0",
"Unlicense"
] | null | null | null | lib/skywalking/util.lua | membphis/skywalking-nginx-lua | 3b0ab61907936f2a3eaf96f525c2543069c41a80 | [
"Apache-2.0",
"Unlicense"
] | null | null | null | lib/skywalking/util.lua | membphis/skywalking-nginx-lua | 3b0ab61907936f2a3eaf96f525c2543069c41a80 | [
"Apache-2.0",
"Unlicense"
] | null | null | null | --
-- Licensed to the Apache Software Foundation (ASF) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional information regarding copyright ownership.
-- The ASF licenses this file to You under the Apache License, Version 2.0
-- (the "License"); you may not use this file except in compliance with
-- the License. You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
local Util = {}
local MAX_ID_PART2 = 1000000000
local MAX_ID_PART3 = 100000
local SEQ = 1
function Util:newID()
SEQ = SEQ + 1
return {Util.timestamp(), math.random( 0, MAX_ID_PART2), math.random( 0, MAX_ID_PART3) + SEQ}
end
-- Format a trace/segment id into an array.
-- An official ID should have three parts separated by '.' and each part of it is a number
function Util:formatID(str)
local parts = Util:split(str, '.')
if #parts ~= 3 then
return nil
end
parts[1] = tonumber(parts[1])
parts[2] = tonumber(parts[2])
parts[3] = tonumber(parts[3])
return parts
end
-- @param id is an array with length = 3
function Util:id2String(id)
return id[1] .. '.' .. id[2] .. '.' .. id[3]
end
-- A simulation implementation of Java's System.currentTimeMillis() by following the SkyWalking protocol.
-- Return the difference as string, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.
-- But in using os.clock(), I am not sure whether it is accurate enough.
function Util:timestamp()
local a,b = math.modf(os.clock())
if b==0 then
b='000'
else
b=tostring(b):sub(3,5)
end
return os.time() * 1000 + b
end
-- Split the given string by the delimiter. The delimiter should be a literal string, such as '.', '-'
function Util:split(str, delimiter)
local t = {}
for substr in string.gmatch(str, "[^".. delimiter.. "]*") do
if substr ~= nil and string.len(substr) > 0 then
table.insert(t,substr)
end
end
return t
end
return Util | 31.513158 | 121 | 0.682672 |
6a3bbdc9da2f2134a5ce62d15a781336d7711419 | 167 | sql | SQL | schema/revert/warehouse/encounter/timestamp.sql | UWIT-IAM/uw-redcap-client | 38a1eb426fa80697446df7a466a41e0305382606 | [
"MIT"
] | 21 | 2019-04-19T22:45:22.000Z | 2022-01-28T01:32:09.000Z | schema/revert/warehouse/encounter/timestamp.sql | sonali-mhihim/id3c | 1e3967d6c24e9cadb34cae1c5e1e79415a2250dc | [
"MIT"
] | 219 | 2019-04-19T21:42:24.000Z | 2022-03-29T21:41:04.000Z | schema/revert/warehouse/encounter/timestamp.sql | sonali-mhihim/id3c | 1e3967d6c24e9cadb34cae1c5e1e79415a2250dc | [
"MIT"
] | 9 | 2020-03-11T20:07:26.000Z | 2022-03-05T00:36:11.000Z | -- Revert seattleflu/schema:warehouse/encounter/timestamp from pg
begin;
alter table warehouse.encounter
drop column created,
drop column modified;
commit;
| 16.7 | 65 | 0.772455 |
047e3d1c8c22b56ff6c1800809364f5a0b5649eb | 14,962 | java | Java | models-interactions/model-actors/actorServiceProvider/src/main/java/org/onap/policy/controlloop/actorserviceprovider/impl/HttpOperation.java | onap/policy-models | 567201748af88c9120e623e531ace50382060e00 | [
"Apache-2.0"
] | 5 | 2019-10-02T14:13:17.000Z | 2021-10-15T15:11:56.000Z | models-interactions/model-actors/actorServiceProvider/src/main/java/org/onap/policy/controlloop/actorserviceprovider/impl/HttpOperation.java | onap/policy-models | 567201748af88c9120e623e531ace50382060e00 | [
"Apache-2.0"
] | null | null | null | models-interactions/model-actors/actorServiceProvider/src/main/java/org/onap/policy/controlloop/actorserviceprovider/impl/HttpOperation.java | onap/policy-models | 567201748af88c9120e623e531ace50382060e00 | [
"Apache-2.0"
] | 3 | 2019-11-26T02:37:11.000Z | 2020-11-21T09:02:51.000Z | /*-
* ============LICENSE_START=======================================================
* ONAP
* ================================================================================
* Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ============LICENSE_END=========================================================
*/
package org.onap.policy.controlloop.actorserviceprovider.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
import java.util.function.Function;
import javax.ws.rs.client.InvocationCallback;
import javax.ws.rs.core.Response;
import lombok.Getter;
import org.onap.policy.common.endpoints.event.comm.Topic.CommInfrastructure;
import org.onap.policy.common.endpoints.http.client.HttpClient;
import org.onap.policy.common.endpoints.utils.NetLoggerUtil;
import org.onap.policy.common.endpoints.utils.NetLoggerUtil.EventType;
import org.onap.policy.common.utils.coder.CoderException;
import org.onap.policy.controlloop.actorserviceprovider.OperationOutcome;
import org.onap.policy.controlloop.actorserviceprovider.OperationResult;
import org.onap.policy.controlloop.actorserviceprovider.parameters.ControlLoopOperationParams;
import org.onap.policy.controlloop.actorserviceprovider.parameters.HttpConfig;
import org.onap.policy.controlloop.actorserviceprovider.parameters.HttpParams;
import org.onap.policy.controlloop.actorserviceprovider.parameters.HttpPollingConfig;
import org.onap.policy.controlloop.actorserviceprovider.pipeline.PipelineControllerFuture;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Operator that uses HTTP. The operator's parameters must be an {@link HttpParams}.
*
* @param <T> response type
*/
@Getter
public abstract class HttpOperation<T> extends OperationPartial {
private static final Logger logger = LoggerFactory.getLogger(HttpOperation.class);
/**
* Response status.
*/
public enum Status {
SUCCESS, FAILURE, STILL_WAITING
}
/**
* Configuration for this operation.
*/
private final HttpConfig config;
/**
* Response class.
*/
private final Class<T> responseClass;
/**
* {@code True} to use polling, {@code false} otherwise.
*/
@Getter
private boolean usePolling;
/**
* Number of polls issued so far, on the current operation attempt.
*/
@Getter
private int pollCount;
/**
* Constructs the object.
*
* @param params operation parameters
* @param config configuration for this operation
* @param clazz response class
* @param propertyNames names of properties required by this operation
*/
protected HttpOperation(ControlLoopOperationParams params, HttpConfig config, Class<T> clazz,
List<String> propertyNames) {
super(params, config, propertyNames);
this.config = config;
this.responseClass = clazz;
}
/**
* Indicates that polling should be used.
*/
protected void setUsePolling() {
if (!(config instanceof HttpPollingConfig)) {
throw new IllegalStateException("cannot poll without polling parameters");
}
usePolling = true;
}
public HttpClient getClient() {
return config.getClient();
}
/**
* Gets the path to be used when performing the request; this is typically appended to
* the base URL. This method simply invokes {@link #getPath()}.
*
* @return the path URI suffix
*/
public String getPath() {
return config.getPath();
}
public long getTimeoutMs() {
return config.getTimeoutMs();
}
/**
* If no timeout is specified, then it returns the operator's configured timeout.
*/
@Override
protected long getTimeoutMs(Integer timeoutSec) {
return (timeoutSec == null || timeoutSec == 0 ? getTimeoutMs() : super.getTimeoutMs(timeoutSec));
}
/**
* Makes the request headers. This simply returns an empty map.
*
* @return request headers, a non-null, modifiable map
*/
protected Map<String, Object> makeHeaders() {
return new HashMap<>();
}
/**
* Makes the URL to which the HTTP request should be posted. This is primarily used
* for logging purposes. This particular method returns the base URL appended with the
* return value from {@link #getPath()}.
*
* @return the URL to which from which to get
*/
public String getUrl() {
return (getClient().getBaseUrl() + getPath());
}
/**
* Resets the polling count
*
* <p/>
* Note: This should be invoked at the start of each operation (i.e., in
* {@link #startOperationAsync(int, OperationOutcome)}.
*/
protected void resetPollCount() {
pollCount = 0;
}
/**
* Arranges to handle a response.
*
* @param outcome outcome to be populate
* @param url URL to which to request was sent
* @param requester function to initiate the request and invoke the given callback
* when it completes
* @return a future for the response
*/
protected CompletableFuture<OperationOutcome> handleResponse(OperationOutcome outcome, String url,
Function<InvocationCallback<Response>, Future<Response>> requester) {
final PipelineControllerFuture<OperationOutcome> controller = new PipelineControllerFuture<>();
final CompletableFuture<Response> future = new CompletableFuture<>();
final var executor = params.getExecutor();
// arrange for the callback to complete "future"
InvocationCallback<Response> callback = new InvocationCallback<>() {
@Override
public void completed(Response response) {
future.complete(response);
}
@Override
public void failed(Throwable throwable) {
logger.warn("{}.{}: response failure for {}", params.getActor(), params.getOperation(),
params.getRequestId());
future.completeExceptionally(throwable);
}
};
// start the request and arrange to cancel it if the controller is canceled
controller.add(requester.apply(callback));
// once "future" completes, process the response, and then complete the controller
future.thenComposeAsync(response -> processResponse(outcome, url, response), executor)
.whenCompleteAsync(controller.delayedComplete(), executor);
return controller;
}
/**
* Processes a response. This method decodes the response, sets the outcome based on
* the response, and then returns a completed future.
*
* @param outcome outcome to be populate
* @param url URL to which to request was sent
* @param rawResponse raw response to process
* @return a future to cancel or await the outcome
*/
protected CompletableFuture<OperationOutcome> processResponse(OperationOutcome outcome, String url,
Response rawResponse) {
logger.info("{}.{}: response received for {}", params.getActor(), params.getOperation(), params.getRequestId());
String strResponse = rawResponse.readEntity(String.class);
logMessage(EventType.IN, CommInfrastructure.REST, url, strResponse);
T response;
if (responseClass == String.class) {
response = responseClass.cast(strResponse);
} else {
try {
response = getCoder().decode(strResponse, responseClass);
} catch (CoderException e) {
logger.warn("{}.{} cannot decode response for {}", params.getActor(), params.getOperation(),
params.getRequestId(), e);
throw new IllegalArgumentException("cannot decode response");
}
}
if (!isSuccess(rawResponse, response)) {
logger.info("{}.{} request failed with http error code {} for {}", params.getActor(), params.getOperation(),
rawResponse.getStatus(), params.getRequestId());
return CompletableFuture.completedFuture(
setOutcome(outcome, OperationResult.FAILURE, rawResponse, response));
}
logger.info("{}.{} request succeeded for {}", params.getActor(), params.getOperation(), params.getRequestId());
setOutcome(outcome, OperationResult.SUCCESS, rawResponse, response);
return postProcessResponse(outcome, url, rawResponse, response);
}
/**
* Sets an operation's outcome and default message based on the result.
*
* @param outcome operation to be updated
* @param result result of the operation
* @param rawResponse raw response
* @param response decoded response
* @return the updated operation
*/
public OperationOutcome setOutcome(OperationOutcome outcome, OperationResult result, Response rawResponse,
T response) {
outcome.setResponse(response);
return setOutcome(outcome, result);
}
/**
* Processes a successful response. This method simply returns the outcome wrapped in
* a completed future.
*
* @param outcome outcome to be populate
* @param url URL to which to request was sent
* @param rawResponse raw response
* @param response decoded response
* @return a future to cancel or await the outcome
*/
protected CompletableFuture<OperationOutcome> postProcessResponse(OperationOutcome outcome, String url,
Response rawResponse, T response) {
if (!usePolling) {
// doesn't use polling - just return the completed future
return CompletableFuture.completedFuture(outcome);
}
HttpPollingConfig cfg = (HttpPollingConfig) config;
switch (detmStatus(rawResponse, response)) {
case SUCCESS:
logger.info("{}.{} request succeeded for {}", params.getActor(), params.getOperation(),
params.getRequestId());
return CompletableFuture
.completedFuture(setOutcome(outcome, OperationResult.SUCCESS, rawResponse, response));
case FAILURE:
logger.info("{}.{} request failed for {}", params.getActor(), params.getOperation(),
params.getRequestId());
return CompletableFuture
.completedFuture(setOutcome(outcome, OperationResult.FAILURE, rawResponse, response));
case STILL_WAITING:
default:
logger.info("{}.{} request incomplete for {}", params.getActor(), params.getOperation(),
params.getRequestId());
break;
}
// still incomplete
// see if the limit for the number of polls has been reached
if (pollCount++ >= cfg.getMaxPolls()) {
logger.warn("{}: execeeded 'poll' limit {} for {}", getFullName(), cfg.getMaxPolls(),
params.getRequestId());
setOutcome(outcome, OperationResult.FAILURE_TIMEOUT);
return CompletableFuture.completedFuture(outcome);
}
// sleep and then poll
Function<Void, CompletableFuture<OperationOutcome>> doPoll = unused -> issuePoll(outcome);
return sleep(getPollWaitMs(), TimeUnit.MILLISECONDS).thenComposeAsync(doPoll);
}
/**
* Polls to see if the original request is complete. This method polls using an HTTP
* "get" request whose URL is constructed by appending the extracted "poll ID" to the
* poll path from the configuration data.
*
* @param outcome outcome to be populated with the response
* @return a future that can be used to cancel the poll or await its response
*/
protected CompletableFuture<OperationOutcome> issuePoll(OperationOutcome outcome) {
String path = getPollingPath();
String url = getClient().getBaseUrl() + path;
logger.debug("{}: 'poll' count {} for {}", getFullName(), pollCount, params.getRequestId());
logMessage(EventType.OUT, CommInfrastructure.REST, url, null);
return handleResponse(outcome, url, callback -> getClient().get(callback, path, null));
}
/**
* Determines the status of the response. This particular method simply throws an
* exception.
*
* @param rawResponse raw response
* @param response decoded response
* @return the status of the response
*/
protected Status detmStatus(Response rawResponse, T response) {
throw new UnsupportedOperationException("cannot determine response status");
}
/**
* Gets the URL to use when polling. Typically, this is some unique ID appended to the
* polling path found within the configuration data. This particular method simply
* returns the polling path from the configuration data.
*
* @return the URL to use when polling
*/
protected String getPollingPath() {
return ((HttpPollingConfig) config).getPollPath();
}
/**
* Determines if the response indicates success. This method simply checks the HTTP
* status code.
*
* @param rawResponse raw response
* @param response decoded response
* @return {@code true} if the response indicates success, {@code false} otherwise
*/
protected boolean isSuccess(Response rawResponse, T response) {
return (rawResponse.getStatus() == 200);
}
@Override
public <Q> String logMessage(EventType direction, CommInfrastructure infra, String sink, Q request) {
String json = super.logMessage(direction, infra, sink, request);
NetLoggerUtil.log(direction, infra, sink, json);
return json;
}
// these may be overridden by junit tests
protected long getPollWaitMs() {
HttpPollingConfig cfg = (HttpPollingConfig) config;
return TimeUnit.MILLISECONDS.convert(cfg.getPollWaitSec(), TimeUnit.SECONDS);
}
}
| 37.974619 | 120 | 0.642427 |
96e4007927a2b23146475193bf6a910d6326b907 | 1,571 | lua | Lua | utils/_actions/localAssets.lua | asmagill/hammerspoon-conf | 432c65705203d7743d3298441bd4319137b466fd | [
"MIT"
] | 67 | 2015-04-16T07:06:01.000Z | 2021-09-02T14:47:12.000Z | utils/_actions/_off/localAssets.lua | zhangaz1/hammerspoon-config-take2 | 3cf7deadbe010a4890c935b1a48d1037fadfd857 | [
"MIT"
] | 5 | 2016-11-20T19:23:18.000Z | 2020-04-11T07:51:41.000Z | utils/_actions/localAssets.lua | asmagill/hammerspoon-conf | 432c65705203d7743d3298441bd4319137b466fd | [
"MIT"
] | 11 | 2015-07-21T10:13:00.000Z | 2020-10-19T02:44:35.000Z | --
-- local assets web server -- I don't want to have to rely on internet access all of the
-- time, so a local web server takes care of those things that I might need...
local module = {}
local hsminweb = require("hs.httpserver.hsminweb")
local serverPort = 7734
local documentRoot = hs.configdir.."/_localAssets"
module.server = hsminweb.new(documentRoot):port(serverPort)
:allowDirectory(true)
:name("localAssets")
:bonjour(false)
:cgiEnabled(true)
:luaTemplateExtension("lp")
:directoryIndex{
"index.html", "index.lp", "index.cgi",
}:accessList{
{"X-Remote-Addr", "::1", false, true},
{"X-Remote-Addr", "127.0.0.1", false, true},
-- technically optional, but I like being explicit
{"*", "*", false, false},
}
:start()
module.server._logBadTranslations = true
module.server._logPageErrorTranslations = true
module.server._allowRenderTranslations = true
module.hsdocs = require"hs.doc.hsdocs".start()
return module
| 46.205882 | 94 | 0.429663 |
4aa8f08b966a96fb92cab952ec157fcf34412d2f | 276 | cs | C# | ProcessViewer/SupportedLanguages.cs | ozcandegirmenci/ProcessViewer | 240e0f225cede40b28668d7492e6667622f49197 | [
"MIT"
] | 11 | 2018-09-17T12:12:26.000Z | 2022-03-07T07:29:20.000Z | ProcessViewer/SupportedLanguages.cs | ozcandegirmenci/ProcessViewer | 240e0f225cede40b28668d7492e6667622f49197 | [
"MIT"
] | null | null | null | ProcessViewer/SupportedLanguages.cs | ozcandegirmenci/ProcessViewer | 240e0f225cede40b28668d7492e6667622f49197 | [
"MIT"
] | 6 | 2019-01-28T19:50:41.000Z | 2022-03-07T07:29:23.000Z | /*
* File: SupportedLanguages.cs
* Written by Ozcan DEGIRMENCI - 2008
* http://www.ozcandegirmenci.com
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace ProcessViewer
{
public enum SupportedLanguages
{
English = 0x01,
Turkish = 0x02
}
}
| 14.526316 | 36 | 0.73913 |
176a9795fd6f406a9aff518113fe1d80d25255d6 | 863 | ddl | SQL | CMC030/ad/open/ad_account.ddl | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | 1 | 2018-10-17T08:53:17.000Z | 2018-10-17T08:53:17.000Z | CMC030/ad/open/ad_account.ddl | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | null | null | null | CMC030/ad/open/ad_account.ddl | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | null | null | null | DEFINE RECORD CDD$TOP.AD.AD_ACCOUNT
DESCRIPTION IS /*Asset and Depreciation Account Table*/.
AD_ACCOUNT_CDD STRUCTURE.
/* Element = LOCATION
Description = Location number */
LOCATION DATATYPE IS TEXT SIZE IS 4.
/* Element =
Description = Asset type */
ASSET_TYPE DATATYPE IS TEXT SIZE IS 2.
/* Element = ACCOUNT
Description = Asset Account Number */
ASS_ACCT DATATYPE IS TEXT SIZE IS 18.
/* Element = ACCOUNT
Description = Depreciation Account Number */
DEP_ACCT DATATYPE IS TEXT SIZE IS 18.
/* Element = ACCOUNT
Description = Expense Account Number */
EXP_ACCT DATATYPE IS TEXT SIZE IS 18.
END AD_ACCOUNT_CDD STRUCTURE.
END AD_ACCOUNT.
| 28.766667 | 64 | 0.570104 |
c2cc5821fd0878e3e3ef40119b67532ea733c60c | 998 | swift | Swift | Stylograph/ViewController.swift | Ricowere/Stylograph | 5f93992652afd93397194864730fe89f1c75014e | [
"MIT"
] | null | null | null | Stylograph/ViewController.swift | Ricowere/Stylograph | 5f93992652afd93397194864730fe89f1c75014e | [
"MIT"
] | 1 | 2016-09-25T18:38:41.000Z | 2016-09-25T19:15:12.000Z | Stylograph/ViewController.swift | Ricowere/Stylograph | 5f93992652afd93397194864730fe89f1c75014e | [
"MIT"
] | null | null | null | //
// ViewController.swift
// Stylograph
//
// Created by David Rico on 08/01/2016.
// Copyright © 2016 David Rico. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
let inkItem = Stylograph.Circled.Plus(CGSize(width: 100, height: 100), UIColor.blackColor()).draw()
let imageView = UIImageView(ink: inkItem)
let button = UIButton(type: .Custom)
button.setBackgroundImage(inkItem.imageExport(), forState: .Normal)
button.frame = CGRect(x: 150, y: 150, width: 40, height: 40)
view.addSubview(button)
// view.layer.addSublayer(inkItem.shape)
view.addSubview(imageView)
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}
| 26.263158 | 107 | 0.646293 |
e7f2a75349f080e6ef9556951fc033879ae1e187 | 1,969 | py | Python | application/api.py | DonBlaine/OpenDoorData | 74740c6ff6dca893f0389963f2ef12de42a36829 | [
"MIT"
] | null | null | null | application/api.py | DonBlaine/OpenDoorData | 74740c6ff6dca893f0389963f2ef12de42a36829 | [
"MIT"
] | null | null | null | application/api.py | DonBlaine/OpenDoorData | 74740c6ff6dca893f0389963f2ef12de42a36829 | [
"MIT"
] | null | null | null | # file that contains db models to be exposed via a REST API
from models import room, survey, wifi_log, timetable, module # import db models
from app import app # import Flask app
from auth import auth # import Auth app to provide user authentificaiton
from flask import request # import request object to parse json request data
from flask_peewee.rest import RestAPI,UserAuthentication, RestrictOwnerResource, AdminAuthentication
# create RestrictOwnerResource subclass which prevents users modifying another user's content
class SurveyResource(RestrictOwnerResource):
owner_field = 'reporter'
def check_post(self):
'''fucntion that checks users are associated with the module they are submitting a POST request to '''
obj = request.get_json() # parse and return incoming json request data
user = obj["reporter"]
mod= obj["module_code"]
modules = module.select().where(module.module_code == mod) # select module data from module table in db using module_code posted by user
authorized = False # initialise authorized variable as False
for item in modules:
instructor = str(item.instructor) # select instructor associated with item
if instructor == user:
authorized = True
return authorized
# instantiate UserAuthentication
user_auth = UserAuthentication(auth)
# instantiate admin-only auth
admin_auth = AdminAuthentication(auth)
# instantiate our api wrapper, specifying user_auth as the default
api = RestAPI(app, default_auth=user_auth)
# register models so they are exposed via /api/<model>/
api.register(room, auth=admin_auth, allowed_methods=['GET'])
api.register(survey,SurveyResource,allowed_methods=['GET','POST'])
api.register(wifi_log, auth=admin_auth,allowed_methods=['GET'])
api.register(timetable, auth=admin_auth, allowed_methods=['GET'])
api.register(module, auth=admin_auth, allowed_methods=['GET'])
| 39.38 | 145 | 0.739462 |
39e77d5e869d90c87a4083eee532c83386b0690a | 1,336 | java | Java | src/main/java/rfxlab/com/demo/starter/DataReactorWorker.java | rfxlab/rfx-video-analytics | 1512e9e2cb2404520459b58e4f9309e6053bb3b2 | [
"Apache-2.0"
] | null | null | null | src/main/java/rfxlab/com/demo/starter/DataReactorWorker.java | rfxlab/rfx-video-analytics | 1512e9e2cb2404520459b58e4f9309e6053bb3b2 | [
"Apache-2.0"
] | null | null | null | src/main/java/rfxlab/com/demo/starter/DataReactorWorker.java | rfxlab/rfx-video-analytics | 1512e9e2cb2404520459b58e4f9309e6053bb3b2 | [
"Apache-2.0"
] | null | null | null | package rfxlab.com.demo.starter;
import rfx.core.stream.model.KafkaTaskDef;
import rfx.core.stream.model.TaskDef;
import rfx.core.stream.worker.StreamProcessingWorker;
import rfx.core.util.LogUtil;
import rfx.core.util.StringUtil;
import rfx.core.util.Utils;
import rfxlab.com.demo.analytics.LogTokenizing;
public class DataReactorWorker extends StreamProcessingWorker {
private static final String SIMPLE_NAME = DataReactorWorker.class.getSimpleName();
public DataReactorWorker(String name) {
super(name);
System.out.println(SIMPLE_NAME + ":" + name);
}
@Override
protected void onBeforeBeStopped() {
System.out.println(" =====>>> worker.restart <<<====");
LogTokenizing.stopProcessing();
}
public static void main(String[] args) {
if (args.length != 5) {
System.err.println("need 5 params [topic] [host] [port] [beginPartitionId] [endPartitionId]");
return;
}
LogUtil.setDebug(false);
String topic = args[0];
String host = args[1];
int port = StringUtil.safeParseInt(args[2]);
int beginPartition = StringUtil.safeParseInt(args[3]);
int endPartition = StringUtil.safeParseInt(args[4]);
TaskDef taskDef = new KafkaTaskDef(topic, beginPartition, endPartition);
new DataReactorWorker(SIMPLE_NAME + ":" + topic).setTaskDef(taskDef).start(host, port);
Utils.sleep(2000);
}
}
| 30.363636 | 99 | 0.732784 |
284ab704126b11a5a71194be5d0cb666777c7fe5 | 12,706 | cpp | C++ | source/script/vm.cpp | evanbowman/skyland | a62827a0dbcab705ba8ddf75cb74e975ceadec39 | [
"MIT"
] | 24 | 2021-07-03T02:27:25.000Z | 2022-03-29T05:21:32.000Z | source/script/vm.cpp | evanbowman/skyland | a62827a0dbcab705ba8ddf75cb74e975ceadec39 | [
"MIT"
] | 3 | 2021-09-24T18:52:49.000Z | 2021-11-13T00:16:47.000Z | source/script/vm.cpp | evanbowman/skyland | a62827a0dbcab705ba8ddf75cb74e975ceadec39 | [
"MIT"
] | 1 | 2021-07-11T08:05:59.000Z | 2021-07-11T08:05:59.000Z | #include "bytecode.hpp"
#include "lisp.hpp"
#include "listBuilder.hpp"
#include "number/endian.hpp"
namespace lisp {
bool is_boolean_true(Value* val);
const char* symbol_from_offset(u16 offset);
Value* make_bytecode_function(Value* bytecode);
Value* get_var_stable(const char* intern_str);
void lexical_frame_push();
void lexical_frame_pop();
void lexical_frame_store(Value* kvp);
template <typename Instruction>
Instruction* read(ScratchBuffer& buffer, int& pc)
{
auto result = (Instruction*)(buffer.data_ + pc);
pc += sizeof(Instruction);
return result;
}
void vm_execute(Platform& pfrm, Value* code_buffer, const int start_offset)
{
int pc = start_offset;
auto& code = *code_buffer->data_buffer().value();
int nested_scope = 0;
// If we are within a let expression, and we want to optimize out a
// recursive tail call, we need to unwind all frames of the lexical scope,
// because we will never return from the optimized out function call and hit
// the LEXICAL_FRAME_POP instruction after the tailcall instruciton.
auto unwind_lexical_scope = [&nested_scope] {
while (nested_scope) {
lexical_frame_pop();
--nested_scope;
}
};
using namespace instruction;
TOP:
while (true) {
switch ((Opcode)code.data_[pc]) {
case JumpIfFalse::op(): {
auto inst = read<JumpIfFalse>(code, pc);
if (not is_boolean_true(get_op0())) {
pc = start_offset + inst->offset_.get();
}
pop_op();
break;
}
case Jump::op(): {
auto inst = read<Jump>(code, pc);
pc = start_offset + inst->offset_.get();
break;
}
case SmallJumpIfFalse::op(): {
auto inst = read<SmallJumpIfFalse>(code, pc);
if (not is_boolean_true(get_op0())) {
pc = start_offset + inst->offset_;
}
pop_op();
break;
}
case SmallJump::op(): {
auto inst = read<SmallJump>(code, pc);
pc = start_offset + inst->offset_;
break;
}
case LoadVar::op(): {
auto inst = read<LoadVar>(code, pc);
push_op(
get_var_stable(symbol_from_offset(inst->name_offset_.get())));
break;
}
case Dup::op(): {
read<Dup>(code, pc);
push_op(get_op0());
break;
}
case Not::op(): {
read<Not>(code, pc);
auto input = get_op0();
pop_op();
push_op(make_integer(not is_boolean_true(input)));
break;
}
case PushNil::op():
read<PushNil>(code, pc);
push_op(get_nil());
break;
case PushInteger::op(): {
auto inst = read<PushInteger>(code, pc);
push_op(make_integer(inst->value_.get()));
break;
}
case Push0::op():
read<Push0>(code, pc);
push_op(make_integer(0));
break;
case Push1::op():
read<Push1>(code, pc);
push_op(make_integer(1));
break;
case Push2::op():
read<Push2>(code, pc);
push_op(make_integer(2));
break;
case PushSmallInteger::op(): {
auto inst = read<PushSmallInteger>(code, pc);
push_op(make_integer(inst->value_));
break;
}
case PushSymbol::op(): {
auto inst = read<PushSymbol>(code, pc);
push_op(make_symbol(symbol_from_offset(inst->name_offset_.get()),
Symbol::ModeBits::stable_pointer));
break;
}
case PushString::op(): {
auto inst = read<PushString>(code, pc);
push_op(make_string(pfrm, code.data_ + pc));
pc += inst->length_;
break;
}
case TailCall::op(): {
Protected fn(get_op0());
auto argc = read<TailCall>(code, pc)->argc_;
if (fn == get_this()) {
pop_op(); // function on stack
if (get_argc() not_eq argc) {
// TODO: raise error: attempted recursive call with
// different number of args than current function.
// Actually...
// The isn't really anything preventing a variadic function
// from being executed recursively with a different number
// of args, right? So maybe shouldn't be isn't an error...
while (true)
;
}
if (argc == 0) {
unwind_lexical_scope();
pc = start_offset;
goto TOP;
} else {
// TODO: perform TCO for N-arg function
funcall(fn, argc);
}
} else {
pop_op();
funcall(fn, argc);
}
break;
}
case TailCall1::op(): {
read<TailCall1>(code, pc);
Protected fn(get_op0());
if (fn == get_this()) {
auto arg = get_op1();
if (get_argc() not_eq 1) {
// TODO: raise error: attempted recursive call with
// different number of args than current function.
while (true)
;
}
pop_op(); // function on stack
pop_op(); // argument
pop_op(); // previous arg
push_op(arg);
unwind_lexical_scope();
pc = start_offset;
goto TOP;
} else {
pop_op();
funcall(fn, 1);
}
break;
}
case TailCall2::op(): {
read<TailCall2>(code, pc);
Protected fn(get_op0());
if (fn == get_this()) {
auto arg0 = get_op1();
auto arg1 = get_op(2);
if (get_argc() not_eq 2) {
// TODO: raise error: attempted recursive call with
// different number of args than current function.
while (true)
;
}
pop_op(); // function on stack
pop_op(); // arg
pop_op(); // arg
pop_op(); // prev arg
pop_op(); // prev arg
push_op(arg1);
push_op(arg0);
unwind_lexical_scope();
pc = start_offset;
goto TOP;
} else {
pop_op();
funcall(fn, 2);
}
break;
}
case TailCall3::op(): {
read<TailCall3>(code, pc);
Protected fn(get_op0());
if (fn == get_this()) {
auto arg0 = get_op1();
auto arg1 = get_op(2);
auto arg2 = get_op(3);
if (get_argc() not_eq 3) {
while (true)
;
}
pop_op(); // function on stack
pop_op(); // arg
pop_op(); // arg
pop_op(); // arg
pop_op(); // prev arg
pop_op(); // prev arg
pop_op(); // prev arg
push_op(arg2);
push_op(arg1);
push_op(arg0);
unwind_lexical_scope();
pc = start_offset;
goto TOP;
} else {
pop_op();
funcall(fn, 3);
}
break;
}
case Funcall::op(): {
Protected fn(get_op0());
auto argc = read<Funcall>(code, pc)->argc_;
pop_op();
funcall(fn, argc);
break;
}
case Funcall1::op(): {
read<Funcall1>(code, pc);
Protected fn(get_op0());
pop_op();
funcall(fn, 1);
break;
}
case Funcall2::op(): {
read<Funcall2>(code, pc);
Protected fn(get_op0());
pop_op();
funcall(fn, 2);
break;
}
case Funcall3::op(): {
read<Funcall3>(code, pc);
Protected fn(get_op0());
pop_op();
funcall(fn, 3);
break;
}
case Arg::op(): {
read<Arg>(code, pc);
auto arg_num = get_op0();
auto arg = get_arg(arg_num->integer().value_);
pop_op();
push_op(arg);
break;
}
case Arg0::op(): {
read<Arg0>(code, pc);
push_op(get_arg(0));
break;
}
case Arg1::op(): {
read<Arg1>(code, pc);
push_op(get_arg(1));
break;
}
case Arg2::op(): {
read<Arg2>(code, pc);
push_op(get_arg(2));
break;
}
case MakePair::op(): {
read<MakePair>(code, pc);
auto car = get_op1();
auto cdr = get_op0();
auto cons = make_cons(car, cdr);
pop_op();
pop_op();
push_op(cons);
break;
}
case First::op(): {
read<First>(code, pc);
auto arg = get_op0();
pop_op();
if (arg->type() == Value::Type::cons) {
push_op(arg->cons().car());
} else {
push_op(make_error(Error::Code::invalid_argument_type, L_NIL));
}
break;
}
case Rest::op(): {
read<Rest>(code, pc);
auto arg = get_op0();
pop_op();
if (arg->type() == Value::Type::cons) {
push_op(arg->cons().cdr());
} else {
push_op(make_error(Error::Code::invalid_argument_type, L_NIL));
}
break;
}
case Pop::op():
read<Pop>(code, pc);
pop_op();
break;
case EarlyRet::op():
case Ret::op():
return;
case PushLambda::op(): {
auto inst = read<PushLambda>(code, pc);
auto offset = make_integer(pc);
if (offset->type() == lisp::Value::Type::integer) {
auto bytecode = make_cons(offset, code_buffer);
if (bytecode->type() == lisp::Value::Type::cons) {
auto fn = make_bytecode_function(bytecode);
push_op(fn);
} else {
push_op(bytecode);
}
} else {
push_op(offset);
}
pc = start_offset + inst->lambda_end_.get();
break;
}
case PushList::op(): {
auto list_size = read<PushList>(code, pc)->element_count_;
Protected lat(make_list(list_size));
for (int i = 0; i < list_size; ++i) {
set_list(lat, i, get_op((list_size - 1) - i));
}
for (int i = 0; i < list_size; ++i) {
pop_op();
}
push_op(lat);
break;
}
case PushThis::op(): {
push_op(get_this());
read<PushThis>(code, pc);
break;
}
case LexicalDef::op(): {
auto inst = read<LexicalDef>(code, pc);
Protected sym(
make_symbol(symbol_from_offset(inst->name_offset_.get()),
Symbol::ModeBits::stable_pointer));
// pair of (sym . value)
auto pair = make_cons(sym, get_op0());
pop_op(); // pop value
push_op(pair); // store pair
lexical_frame_store(pair);
pop_op();
break;
}
case LexicalFramePush::op(): {
read<LexicalFramePush>(code, pc);
lexical_frame_push();
++nested_scope;
break;
}
case LexicalFramePop::op(): {
read<LexicalFramePop>(code, pc);
lexical_frame_pop();
--nested_scope;
break;
}
default:
case Fatal::op():
while (true)
;
break;
}
}
}
} // namespace lisp
| 26.4158 | 80 | 0.436329 |
ddbe8c30b6dbd5b878813c7c78a345872a847aba | 1,757 | go | Go | vendor/github.com/coreos/etcd/auth/simple_token.go | ipochi/openstorage | 5a0b27201b121df986b33dc77fabf806135091e8 | [
"Apache-2.0"
] | 304 | 2015-12-17T22:29:38.000Z | 2022-02-01T18:23:27.000Z | vendor/github.com/coreos/etcd/auth/simple_token.go | ipochi/openstorage | 5a0b27201b121df986b33dc77fabf806135091e8 | [
"Apache-2.0"
] | 83 | 2015-11-28T15:01:21.000Z | 2022-01-17T16:43:54.000Z | vendor/github.com/coreos/etcd/auth/simple_token.go | ipochi/openstorage | 5a0b27201b121df986b33dc77fabf806135091e8 | [
"Apache-2.0"
] | 55 | 2017-06-23T12:08:40.000Z | 2021-09-20T19:13:20.000Z | // Copyright 2016 The etcd Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package auth
// CAUTION: This randum number based token mechanism is only for testing purpose.
// JWT based mechanism will be added in the near future.
import (
"crypto/rand"
"math/big"
"strings"
)
const (
letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
defaultSimpleTokenLength = 16
)
func (as *authStore) GenSimpleToken() (string, error) {
ret := make([]byte, defaultSimpleTokenLength)
for i := 0; i < defaultSimpleTokenLength; i++ {
bInt, err := rand.Int(rand.Reader, big.NewInt(int64(len(letters))))
if err != nil {
return "", err
}
ret[i] = letters[bInt.Int64()]
}
return string(ret), nil
}
func (as *authStore) assignSimpleTokenToUser(username, token string) {
as.simpleTokensMu.Lock()
_, ok := as.simpleTokens[token]
if ok {
plog.Panicf("token %s is alredy used", token)
}
as.simpleTokens[token] = username
as.simpleTokensMu.Unlock()
}
func (as *authStore) invalidateUser(username string) {
as.simpleTokensMu.Lock()
defer as.simpleTokensMu.Unlock()
for token, name := range as.simpleTokens {
if strings.Compare(name, username) == 0 {
delete(as.simpleTokens, token)
}
}
}
| 25.838235 | 82 | 0.712009 |
2322f9d29bc209c13a7a906add36b836084631c7 | 3,687 | sql | SQL | application/models/schema.sql | WCI-Computer-Science/WCI-Walks | 37e3affc332c7f1da1e2944174477a3ed3719bcc | [
"MIT"
] | 7 | 2021-04-19T17:25:45.000Z | 2022-02-20T14:18:11.000Z | application/models/schema.sql | WCI-Computer-Science/WCI-Walks | 37e3affc332c7f1da1e2944174477a3ed3719bcc | [
"MIT"
] | 27 | 2020-12-31T18:12:08.000Z | 2022-03-26T19:08:24.000Z | application/models/schema.sql | WCI-Computer-Science/WCI-Walks | 37e3affc332c7f1da1e2944174477a3ed3719bcc | [
"MIT"
] | 8 | 2020-11-03T19:58:48.000Z | 2021-05-22T01:30:30.000Z | /* Initialize the database */
/* General information used by the app:
distance: total distance travelled as a school
load_pointer: index of student being loaded (see autoload_day_all function for details)
*/
CREATE TABLE IF NOT EXISTS total (
distance NUMERIC(7,1),
load_pointer INT NOT NULL DEFAULT 0
);
/* Any announcements */
CREATE TABLE IF NOT EXISTS announcements (
id SERIAL PRIMARY KEY,
notice TEXT NOT NULL
);
/* Days to multiply */
CREATE TABLE IF NOT EXISTS multipliers (
multiplydate DATE PRIMARY KEY,
factor INT NOT NULL
);
/* Eligible users */
CREATE TABLE IF NOT EXISTS payed (
email TEXT UNIQUE
)
/* Info stored for each user:
id: used to identify each user
email: ensure user exists and is part of WRDSB
username: student's name
wrdsbusername: email without the @wrdsb.ca
distance: student's total distance
position: position on leaderboard
likes, likediff, liked: part of liking system
active: whether a user is active
refreshtoken: OAuth refresh token
walkapi_id: ID of the user in the walking API (currently Strava)
walkapi_refreshtoken: OAuth refresh token for walking API
walkapi_accesstoken: OAuth access token for walking API
walkapi_expiresat: Expiry time of walkapi_accesstoken
googlefit: whether a user is connected with Google Fit
teamid: the ID of the team the user's on
*/
CREATE TABLE IF NOT EXISTS users (
id TEXT PRIMARY KEY,
email TEXT UNIQUE NOT NULL,
username TEXT NOT NULL,
wrdsbusername TEXT NOT NULL,
distance NUMERIC(6,1) NOT NULL,
position SMALLINT,
likes SMALLINT,
likediff SMALLINT,
liked TEXT,
active SMALLINT DEFAULT 1,
refreshtoken TEXT,
walkapi_id TEXT,
walkapi_refreshtoken TEXT,
walkapi_accesstoken TEXT,
walkapi_expiresat BIGINT,
googlefit BOOLEAN DEFAULT FALSE,
teamid INT
);
/* Info stored to see who is an admin:
id: used to identify each person
wrdsbusername: email without the @wrdsb.ca
valid: whether a user is an admin
*/
CREATE TABLE IF NOT EXISTS admins (
id TEXT PRIMARY KEY,
wrdsbusername TEXT NOT NULL,
valid SMALLINT DEFAULT 0
);
/* Info stored to see who is on the blacklist:
id: used to identify each person
wrdsbusername: email without the @wrdsb.ca
valid: whether a user is an admin
*/
CREATE TABLE IF NOT EXISTS blacklist (
id TEXT PRIMARY KEY,
wrdsbusername TEXT NOT NULL,
valid SMALLINT DEFAULT 0
);
/* Info stored for each walk (one walk stored per day):
id: used to identify student who did the walk
username: used to identify student who did the walk
distance: student's distance for that day
walkdate: date of walk stored as YYYY-MM-DD
trackedwithfit: whether a walk was inputted by Google Fit
*/
CREATE TABLE IF NOT EXISTS walks (
id TEXT NOT NULL,
username TEXT NOT NULL,
distance NUMERIC(6,1) NOT NULL,
walkdate DATE NOT NULL,
trackedwithfit BOOLEAN DEFAULT FALSE
);
/* Info about each team:
id: used to identify the team
teamname: randomly generated string of an adjective and a noun
distance: sum of users' distances
joincode: 6-character randomly generated string, for users to join the team, can be NULL to indicate that no one can join the team
*/
CREATE TABLE IF NOT EXISTS teams (
id SERIAL PRIMARY KEY,
teamname TEXT UNIQUE NOT NULL,
distance NUMERIC(7,1) NOT NULL DEFAULT 0,
joincode TEXT
);
/* Members who are part of each team:
id: identify the team
memberid: identify the user who is a member
*/
CREATE TABLE IF NOT EXISTS team_members (
id INT NOT NULL,
memberid TEXT UNIQUE NOT NULL
); | 29.97561 | 134 | 0.716843 |
1e4db7d9256186308e22a610b47086c759588c8b | 25,371 | dart | Dart | lib/ep1014_movie_finder_app/src/model/movies.freezed.dart | JAICHANGPARK/flutter_notebook_17th_story | f8787a671a70976c2da13b3be5745b5d013afc98 | [
"Apache-2.0"
] | 4 | 2021-12-13T14:20:05.000Z | 2022-02-05T20:04:58.000Z | lib/ep1014_movie_finder_app/src/model/movies.freezed.dart | JAICHANGPARK/flutter_notebook_17th_story | f8787a671a70976c2da13b3be5745b5d013afc98 | [
"Apache-2.0"
] | null | null | null | lib/ep1014_movie_finder_app/src/model/movies.freezed.dart | JAICHANGPARK/flutter_notebook_17th_story | f8787a671a70976c2da13b3be5745b5d013afc98 | [
"Apache-2.0"
] | null | null | null | // coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target
part of 'movies.dart';
// **************************************************************************
// FreezedGenerator
// **************************************************************************
T _$identity<T>(T value) => value;
final _privateConstructorUsedError = UnsupportedError(
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more informations: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
Movie _$MovieFromJson(Map<String, dynamic> json) {
return _Movie.fromJson(json);
}
/// @nodoc
class _$MovieTearOff {
const _$MovieTearOff();
_Movie call(
{int? id,
String? url,
String? title,
@JsonKey(name: "title_english") String? titleEnglish,
@JsonKey(name: "title_long") String? titleLong,
String? slug,
@JsonKey(name: "background_image") String? backgroundImage,
@JsonKey(name: "small_cover_image") String? smallCoverImage,
@JsonKey(name: "medium_cover_image") String? mediumCoverImage}) {
return _Movie(
id: id,
url: url,
title: title,
titleEnglish: titleEnglish,
titleLong: titleLong,
slug: slug,
backgroundImage: backgroundImage,
smallCoverImage: smallCoverImage,
mediumCoverImage: mediumCoverImage,
);
}
Movie fromJson(Map<String, Object?> json) {
return Movie.fromJson(json);
}
}
/// @nodoc
const $Movie = _$MovieTearOff();
/// @nodoc
mixin _$Movie {
int? get id => throw _privateConstructorUsedError;
String? get url => throw _privateConstructorUsedError;
String? get title => throw _privateConstructorUsedError;
@JsonKey(name: "title_english")
String? get titleEnglish => throw _privateConstructorUsedError;
@JsonKey(name: "title_long")
String? get titleLong => throw _privateConstructorUsedError;
String? get slug => throw _privateConstructorUsedError;
@JsonKey(name: "background_image")
String? get backgroundImage => throw _privateConstructorUsedError;
@JsonKey(name: "small_cover_image")
String? get smallCoverImage => throw _privateConstructorUsedError;
@JsonKey(name: "medium_cover_image")
String? get mediumCoverImage => throw _privateConstructorUsedError;
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
@JsonKey(ignore: true)
$MovieCopyWith<Movie> get copyWith => throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $MovieCopyWith<$Res> {
factory $MovieCopyWith(Movie value, $Res Function(Movie) then) =
_$MovieCopyWithImpl<$Res>;
$Res call(
{int? id,
String? url,
String? title,
@JsonKey(name: "title_english") String? titleEnglish,
@JsonKey(name: "title_long") String? titleLong,
String? slug,
@JsonKey(name: "background_image") String? backgroundImage,
@JsonKey(name: "small_cover_image") String? smallCoverImage,
@JsonKey(name: "medium_cover_image") String? mediumCoverImage});
}
/// @nodoc
class _$MovieCopyWithImpl<$Res> implements $MovieCopyWith<$Res> {
_$MovieCopyWithImpl(this._value, this._then);
final Movie _value;
// ignore: unused_field
final $Res Function(Movie) _then;
@override
$Res call({
Object? id = freezed,
Object? url = freezed,
Object? title = freezed,
Object? titleEnglish = freezed,
Object? titleLong = freezed,
Object? slug = freezed,
Object? backgroundImage = freezed,
Object? smallCoverImage = freezed,
Object? mediumCoverImage = freezed,
}) {
return _then(_value.copyWith(
id: id == freezed
? _value.id
: id // ignore: cast_nullable_to_non_nullable
as int?,
url: url == freezed
? _value.url
: url // ignore: cast_nullable_to_non_nullable
as String?,
title: title == freezed
? _value.title
: title // ignore: cast_nullable_to_non_nullable
as String?,
titleEnglish: titleEnglish == freezed
? _value.titleEnglish
: titleEnglish // ignore: cast_nullable_to_non_nullable
as String?,
titleLong: titleLong == freezed
? _value.titleLong
: titleLong // ignore: cast_nullable_to_non_nullable
as String?,
slug: slug == freezed
? _value.slug
: slug // ignore: cast_nullable_to_non_nullable
as String?,
backgroundImage: backgroundImage == freezed
? _value.backgroundImage
: backgroundImage // ignore: cast_nullable_to_non_nullable
as String?,
smallCoverImage: smallCoverImage == freezed
? _value.smallCoverImage
: smallCoverImage // ignore: cast_nullable_to_non_nullable
as String?,
mediumCoverImage: mediumCoverImage == freezed
? _value.mediumCoverImage
: mediumCoverImage // ignore: cast_nullable_to_non_nullable
as String?,
));
}
}
/// @nodoc
abstract class _$MovieCopyWith<$Res> implements $MovieCopyWith<$Res> {
factory _$MovieCopyWith(_Movie value, $Res Function(_Movie) then) =
__$MovieCopyWithImpl<$Res>;
@override
$Res call(
{int? id,
String? url,
String? title,
@JsonKey(name: "title_english") String? titleEnglish,
@JsonKey(name: "title_long") String? titleLong,
String? slug,
@JsonKey(name: "background_image") String? backgroundImage,
@JsonKey(name: "small_cover_image") String? smallCoverImage,
@JsonKey(name: "medium_cover_image") String? mediumCoverImage});
}
/// @nodoc
class __$MovieCopyWithImpl<$Res> extends _$MovieCopyWithImpl<$Res>
implements _$MovieCopyWith<$Res> {
__$MovieCopyWithImpl(_Movie _value, $Res Function(_Movie) _then)
: super(_value, (v) => _then(v as _Movie));
@override
_Movie get _value => super._value as _Movie;
@override
$Res call({
Object? id = freezed,
Object? url = freezed,
Object? title = freezed,
Object? titleEnglish = freezed,
Object? titleLong = freezed,
Object? slug = freezed,
Object? backgroundImage = freezed,
Object? smallCoverImage = freezed,
Object? mediumCoverImage = freezed,
}) {
return _then(_Movie(
id: id == freezed
? _value.id
: id // ignore: cast_nullable_to_non_nullable
as int?,
url: url == freezed
? _value.url
: url // ignore: cast_nullable_to_non_nullable
as String?,
title: title == freezed
? _value.title
: title // ignore: cast_nullable_to_non_nullable
as String?,
titleEnglish: titleEnglish == freezed
? _value.titleEnglish
: titleEnglish // ignore: cast_nullable_to_non_nullable
as String?,
titleLong: titleLong == freezed
? _value.titleLong
: titleLong // ignore: cast_nullable_to_non_nullable
as String?,
slug: slug == freezed
? _value.slug
: slug // ignore: cast_nullable_to_non_nullable
as String?,
backgroundImage: backgroundImage == freezed
? _value.backgroundImage
: backgroundImage // ignore: cast_nullable_to_non_nullable
as String?,
smallCoverImage: smallCoverImage == freezed
? _value.smallCoverImage
: smallCoverImage // ignore: cast_nullable_to_non_nullable
as String?,
mediumCoverImage: mediumCoverImage == freezed
? _value.mediumCoverImage
: mediumCoverImage // ignore: cast_nullable_to_non_nullable
as String?,
));
}
}
/// @nodoc
@JsonSerializable()
class _$_Movie implements _Movie {
_$_Movie(
{this.id,
this.url,
this.title,
@JsonKey(name: "title_english") this.titleEnglish,
@JsonKey(name: "title_long") this.titleLong,
this.slug,
@JsonKey(name: "background_image") this.backgroundImage,
@JsonKey(name: "small_cover_image") this.smallCoverImage,
@JsonKey(name: "medium_cover_image") this.mediumCoverImage});
factory _$_Movie.fromJson(Map<String, dynamic> json) =>
_$$_MovieFromJson(json);
@override
final int? id;
@override
final String? url;
@override
final String? title;
@override
@JsonKey(name: "title_english")
final String? titleEnglish;
@override
@JsonKey(name: "title_long")
final String? titleLong;
@override
final String? slug;
@override
@JsonKey(name: "background_image")
final String? backgroundImage;
@override
@JsonKey(name: "small_cover_image")
final String? smallCoverImage;
@override
@JsonKey(name: "medium_cover_image")
final String? mediumCoverImage;
@override
String toString() {
return 'Movie(id: $id, url: $url, title: $title, titleEnglish: $titleEnglish, titleLong: $titleLong, slug: $slug, backgroundImage: $backgroundImage, smallCoverImage: $smallCoverImage, mediumCoverImage: $mediumCoverImage)';
}
@override
bool operator ==(dynamic other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _Movie &&
const DeepCollectionEquality().equals(other.id, id) &&
const DeepCollectionEquality().equals(other.url, url) &&
const DeepCollectionEquality().equals(other.title, title) &&
const DeepCollectionEquality()
.equals(other.titleEnglish, titleEnglish) &&
const DeepCollectionEquality().equals(other.titleLong, titleLong) &&
const DeepCollectionEquality().equals(other.slug, slug) &&
const DeepCollectionEquality()
.equals(other.backgroundImage, backgroundImage) &&
const DeepCollectionEquality()
.equals(other.smallCoverImage, smallCoverImage) &&
const DeepCollectionEquality()
.equals(other.mediumCoverImage, mediumCoverImage));
}
@override
int get hashCode => Object.hash(
runtimeType,
const DeepCollectionEquality().hash(id),
const DeepCollectionEquality().hash(url),
const DeepCollectionEquality().hash(title),
const DeepCollectionEquality().hash(titleEnglish),
const DeepCollectionEquality().hash(titleLong),
const DeepCollectionEquality().hash(slug),
const DeepCollectionEquality().hash(backgroundImage),
const DeepCollectionEquality().hash(smallCoverImage),
const DeepCollectionEquality().hash(mediumCoverImage));
@JsonKey(ignore: true)
@override
_$MovieCopyWith<_Movie> get copyWith =>
__$MovieCopyWithImpl<_Movie>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$_MovieToJson(this);
}
}
abstract class _Movie implements Movie {
factory _Movie(
{int? id,
String? url,
String? title,
@JsonKey(name: "title_english") String? titleEnglish,
@JsonKey(name: "title_long") String? titleLong,
String? slug,
@JsonKey(name: "background_image") String? backgroundImage,
@JsonKey(name: "small_cover_image") String? smallCoverImage,
@JsonKey(name: "medium_cover_image") String? mediumCoverImage}) =
_$_Movie;
factory _Movie.fromJson(Map<String, dynamic> json) = _$_Movie.fromJson;
@override
int? get id;
@override
String? get url;
@override
String? get title;
@override
@JsonKey(name: "title_english")
String? get titleEnglish;
@override
@JsonKey(name: "title_long")
String? get titleLong;
@override
String? get slug;
@override
@JsonKey(name: "background_image")
String? get backgroundImage;
@override
@JsonKey(name: "small_cover_image")
String? get smallCoverImage;
@override
@JsonKey(name: "medium_cover_image")
String? get mediumCoverImage;
@override
@JsonKey(ignore: true)
_$MovieCopyWith<_Movie> get copyWith => throw _privateConstructorUsedError;
}
MovieDatas _$MovieDatasFromJson(Map<String, dynamic> json) {
return _MovieDatas.fromJson(json);
}
/// @nodoc
class _$MovieDatasTearOff {
const _$MovieDatasTearOff();
_MovieDatas call(
{@JsonKey(name: "movie_count") int? movieCount,
@JsonKey(name: "limit") int? limit,
@JsonKey(name: "page_number") int? pageNumber,
@JsonKey(name: "movies") List<Movie>? movies}) {
return _MovieDatas(
movieCount: movieCount,
limit: limit,
pageNumber: pageNumber,
movies: movies,
);
}
MovieDatas fromJson(Map<String, Object?> json) {
return MovieDatas.fromJson(json);
}
}
/// @nodoc
const $MovieDatas = _$MovieDatasTearOff();
/// @nodoc
mixin _$MovieDatas {
@JsonKey(name: "movie_count")
int? get movieCount => throw _privateConstructorUsedError;
@JsonKey(name: "limit")
int? get limit => throw _privateConstructorUsedError;
@JsonKey(name: "page_number")
int? get pageNumber => throw _privateConstructorUsedError;
@JsonKey(name: "movies")
List<Movie>? get movies => throw _privateConstructorUsedError;
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
@JsonKey(ignore: true)
$MovieDatasCopyWith<MovieDatas> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $MovieDatasCopyWith<$Res> {
factory $MovieDatasCopyWith(
MovieDatas value, $Res Function(MovieDatas) then) =
_$MovieDatasCopyWithImpl<$Res>;
$Res call(
{@JsonKey(name: "movie_count") int? movieCount,
@JsonKey(name: "limit") int? limit,
@JsonKey(name: "page_number") int? pageNumber,
@JsonKey(name: "movies") List<Movie>? movies});
}
/// @nodoc
class _$MovieDatasCopyWithImpl<$Res> implements $MovieDatasCopyWith<$Res> {
_$MovieDatasCopyWithImpl(this._value, this._then);
final MovieDatas _value;
// ignore: unused_field
final $Res Function(MovieDatas) _then;
@override
$Res call({
Object? movieCount = freezed,
Object? limit = freezed,
Object? pageNumber = freezed,
Object? movies = freezed,
}) {
return _then(_value.copyWith(
movieCount: movieCount == freezed
? _value.movieCount
: movieCount // ignore: cast_nullable_to_non_nullable
as int?,
limit: limit == freezed
? _value.limit
: limit // ignore: cast_nullable_to_non_nullable
as int?,
pageNumber: pageNumber == freezed
? _value.pageNumber
: pageNumber // ignore: cast_nullable_to_non_nullable
as int?,
movies: movies == freezed
? _value.movies
: movies // ignore: cast_nullable_to_non_nullable
as List<Movie>?,
));
}
}
/// @nodoc
abstract class _$MovieDatasCopyWith<$Res> implements $MovieDatasCopyWith<$Res> {
factory _$MovieDatasCopyWith(
_MovieDatas value, $Res Function(_MovieDatas) then) =
__$MovieDatasCopyWithImpl<$Res>;
@override
$Res call(
{@JsonKey(name: "movie_count") int? movieCount,
@JsonKey(name: "limit") int? limit,
@JsonKey(name: "page_number") int? pageNumber,
@JsonKey(name: "movies") List<Movie>? movies});
}
/// @nodoc
class __$MovieDatasCopyWithImpl<$Res> extends _$MovieDatasCopyWithImpl<$Res>
implements _$MovieDatasCopyWith<$Res> {
__$MovieDatasCopyWithImpl(
_MovieDatas _value, $Res Function(_MovieDatas) _then)
: super(_value, (v) => _then(v as _MovieDatas));
@override
_MovieDatas get _value => super._value as _MovieDatas;
@override
$Res call({
Object? movieCount = freezed,
Object? limit = freezed,
Object? pageNumber = freezed,
Object? movies = freezed,
}) {
return _then(_MovieDatas(
movieCount: movieCount == freezed
? _value.movieCount
: movieCount // ignore: cast_nullable_to_non_nullable
as int?,
limit: limit == freezed
? _value.limit
: limit // ignore: cast_nullable_to_non_nullable
as int?,
pageNumber: pageNumber == freezed
? _value.pageNumber
: pageNumber // ignore: cast_nullable_to_non_nullable
as int?,
movies: movies == freezed
? _value.movies
: movies // ignore: cast_nullable_to_non_nullable
as List<Movie>?,
));
}
}
/// @nodoc
@JsonSerializable()
class _$_MovieDatas implements _MovieDatas {
_$_MovieDatas(
{@JsonKey(name: "movie_count") this.movieCount,
@JsonKey(name: "limit") this.limit,
@JsonKey(name: "page_number") this.pageNumber,
@JsonKey(name: "movies") this.movies});
factory _$_MovieDatas.fromJson(Map<String, dynamic> json) =>
_$$_MovieDatasFromJson(json);
@override
@JsonKey(name: "movie_count")
final int? movieCount;
@override
@JsonKey(name: "limit")
final int? limit;
@override
@JsonKey(name: "page_number")
final int? pageNumber;
@override
@JsonKey(name: "movies")
final List<Movie>? movies;
@override
String toString() {
return 'MovieDatas(movieCount: $movieCount, limit: $limit, pageNumber: $pageNumber, movies: $movies)';
}
@override
bool operator ==(dynamic other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _MovieDatas &&
const DeepCollectionEquality()
.equals(other.movieCount, movieCount) &&
const DeepCollectionEquality().equals(other.limit, limit) &&
const DeepCollectionEquality()
.equals(other.pageNumber, pageNumber) &&
const DeepCollectionEquality().equals(other.movies, movies));
}
@override
int get hashCode => Object.hash(
runtimeType,
const DeepCollectionEquality().hash(movieCount),
const DeepCollectionEquality().hash(limit),
const DeepCollectionEquality().hash(pageNumber),
const DeepCollectionEquality().hash(movies));
@JsonKey(ignore: true)
@override
_$MovieDatasCopyWith<_MovieDatas> get copyWith =>
__$MovieDatasCopyWithImpl<_MovieDatas>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$_MovieDatasToJson(this);
}
}
abstract class _MovieDatas implements MovieDatas {
factory _MovieDatas(
{@JsonKey(name: "movie_count") int? movieCount,
@JsonKey(name: "limit") int? limit,
@JsonKey(name: "page_number") int? pageNumber,
@JsonKey(name: "movies") List<Movie>? movies}) = _$_MovieDatas;
factory _MovieDatas.fromJson(Map<String, dynamic> json) =
_$_MovieDatas.fromJson;
@override
@JsonKey(name: "movie_count")
int? get movieCount;
@override
@JsonKey(name: "limit")
int? get limit;
@override
@JsonKey(name: "page_number")
int? get pageNumber;
@override
@JsonKey(name: "movies")
List<Movie>? get movies;
@override
@JsonKey(ignore: true)
_$MovieDatasCopyWith<_MovieDatas> get copyWith =>
throw _privateConstructorUsedError;
}
Movies _$MoviesFromJson(Map<String, dynamic> json) {
return _Movies.fromJson(json);
}
/// @nodoc
class _$MoviesTearOff {
const _$MoviesTearOff();
_Movies call(
{@JsonKey(name: "status") String? status,
@JsonKey(name: "status_message") String? statusMessage,
@JsonKey(name: "data") MovieDatas? data}) {
return _Movies(
status: status,
statusMessage: statusMessage,
data: data,
);
}
Movies fromJson(Map<String, Object?> json) {
return Movies.fromJson(json);
}
}
/// @nodoc
const $Movies = _$MoviesTearOff();
/// @nodoc
mixin _$Movies {
@JsonKey(name: "status")
String? get status => throw _privateConstructorUsedError;
@JsonKey(name: "status_message")
String? get statusMessage => throw _privateConstructorUsedError;
@JsonKey(name: "data")
MovieDatas? get data => throw _privateConstructorUsedError;
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
@JsonKey(ignore: true)
$MoviesCopyWith<Movies> get copyWith => throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $MoviesCopyWith<$Res> {
factory $MoviesCopyWith(Movies value, $Res Function(Movies) then) =
_$MoviesCopyWithImpl<$Res>;
$Res call(
{@JsonKey(name: "status") String? status,
@JsonKey(name: "status_message") String? statusMessage,
@JsonKey(name: "data") MovieDatas? data});
$MovieDatasCopyWith<$Res>? get data;
}
/// @nodoc
class _$MoviesCopyWithImpl<$Res> implements $MoviesCopyWith<$Res> {
_$MoviesCopyWithImpl(this._value, this._then);
final Movies _value;
// ignore: unused_field
final $Res Function(Movies) _then;
@override
$Res call({
Object? status = freezed,
Object? statusMessage = freezed,
Object? data = freezed,
}) {
return _then(_value.copyWith(
status: status == freezed
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
statusMessage: statusMessage == freezed
? _value.statusMessage
: statusMessage // ignore: cast_nullable_to_non_nullable
as String?,
data: data == freezed
? _value.data
: data // ignore: cast_nullable_to_non_nullable
as MovieDatas?,
));
}
@override
$MovieDatasCopyWith<$Res>? get data {
if (_value.data == null) {
return null;
}
return $MovieDatasCopyWith<$Res>(_value.data!, (value) {
return _then(_value.copyWith(data: value));
});
}
}
/// @nodoc
abstract class _$MoviesCopyWith<$Res> implements $MoviesCopyWith<$Res> {
factory _$MoviesCopyWith(_Movies value, $Res Function(_Movies) then) =
__$MoviesCopyWithImpl<$Res>;
@override
$Res call(
{@JsonKey(name: "status") String? status,
@JsonKey(name: "status_message") String? statusMessage,
@JsonKey(name: "data") MovieDatas? data});
@override
$MovieDatasCopyWith<$Res>? get data;
}
/// @nodoc
class __$MoviesCopyWithImpl<$Res> extends _$MoviesCopyWithImpl<$Res>
implements _$MoviesCopyWith<$Res> {
__$MoviesCopyWithImpl(_Movies _value, $Res Function(_Movies) _then)
: super(_value, (v) => _then(v as _Movies));
@override
_Movies get _value => super._value as _Movies;
@override
$Res call({
Object? status = freezed,
Object? statusMessage = freezed,
Object? data = freezed,
}) {
return _then(_Movies(
status: status == freezed
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
statusMessage: statusMessage == freezed
? _value.statusMessage
: statusMessage // ignore: cast_nullable_to_non_nullable
as String?,
data: data == freezed
? _value.data
: data // ignore: cast_nullable_to_non_nullable
as MovieDatas?,
));
}
}
/// @nodoc
@JsonSerializable()
class _$_Movies implements _Movies {
_$_Movies(
{@JsonKey(name: "status") this.status,
@JsonKey(name: "status_message") this.statusMessage,
@JsonKey(name: "data") this.data});
factory _$_Movies.fromJson(Map<String, dynamic> json) =>
_$$_MoviesFromJson(json);
@override
@JsonKey(name: "status")
final String? status;
@override
@JsonKey(name: "status_message")
final String? statusMessage;
@override
@JsonKey(name: "data")
final MovieDatas? data;
@override
String toString() {
return 'Movies(status: $status, statusMessage: $statusMessage, data: $data)';
}
@override
bool operator ==(dynamic other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _Movies &&
const DeepCollectionEquality().equals(other.status, status) &&
const DeepCollectionEquality()
.equals(other.statusMessage, statusMessage) &&
const DeepCollectionEquality().equals(other.data, data));
}
@override
int get hashCode => Object.hash(
runtimeType,
const DeepCollectionEquality().hash(status),
const DeepCollectionEquality().hash(statusMessage),
const DeepCollectionEquality().hash(data));
@JsonKey(ignore: true)
@override
_$MoviesCopyWith<_Movies> get copyWith =>
__$MoviesCopyWithImpl<_Movies>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$_MoviesToJson(this);
}
}
abstract class _Movies implements Movies {
factory _Movies(
{@JsonKey(name: "status") String? status,
@JsonKey(name: "status_message") String? statusMessage,
@JsonKey(name: "data") MovieDatas? data}) = _$_Movies;
factory _Movies.fromJson(Map<String, dynamic> json) = _$_Movies.fromJson;
@override
@JsonKey(name: "status")
String? get status;
@override
@JsonKey(name: "status_message")
String? get statusMessage;
@override
@JsonKey(name: "data")
MovieDatas? get data;
@override
@JsonKey(ignore: true)
_$MoviesCopyWith<_Movies> get copyWith => throw _privateConstructorUsedError;
}
| 30.978022 | 309 | 0.660951 |
fb5a88073e29649868201428cb5f9fd69149be28 | 2,680 | java | Java | clbs/src/main/java/com/zw/platform/controller/reportmanagement/PassengerFlowReportController.java | youyouqiu/hybrid-development | 784c5227a73d1e6609b701a42ef4cdfd6400d2b7 | [
"MIT"
] | 1 | 2021-09-29T02:13:49.000Z | 2021-09-29T02:13:49.000Z | clbs/src/main/java/com/zw/platform/controller/reportmanagement/PassengerFlowReportController.java | youyouqiu/hybrid-development | 784c5227a73d1e6609b701a42ef4cdfd6400d2b7 | [
"MIT"
] | null | null | null | clbs/src/main/java/com/zw/platform/controller/reportmanagement/PassengerFlowReportController.java | youyouqiu/hybrid-development | 784c5227a73d1e6609b701a42ef4cdfd6400d2b7 | [
"MIT"
] | null | null | null | package com.zw.platform.controller.reportmanagement;
import com.zw.platform.commons.Auth;
import com.zw.platform.domain.reportManagement.Ridership;
import com.zw.platform.domain.reportManagement.query.RidershipQuery;
import com.zw.platform.service.reportManagement.RidershipService;
import com.zw.platform.util.common.JsonResultBean;
import com.zw.platform.util.excel.ExportExcelUtil;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletResponse;
import java.util.Arrays;
import java.util.List;
/**
* 获取乘客流量报表
*
* @author zhangsq
* @date 2018/3/22 16:09
*/
@Controller
@RequestMapping("/m/reportManagement/passengerFlowReport")
public class PassengerFlowReportController {
private static final String LIST_PAGE = "modules/reportManagement/passengerFlowReport";
private static Logger log = LogManager.getLogger(FlowReportController.class);
@Autowired
private RidershipService ridershipService;
@Value("${sys.error.msg}")
private String sysErrorMsg;
@Auth
@RequestMapping(value = {"/list"}, method = RequestMethod.GET)
public String listPage() {
return LIST_PAGE;
}
@RequestMapping(value = "/getPassengerFlowReports", method = RequestMethod.POST)
@ResponseBody
public JsonResultBean getFlowReports(final RidershipQuery query) {
try {
if (StringUtils.isNotBlank(query.getVehicleIdStr())) {
List<String> vehicleIds = Arrays.asList(query.getVehicleIdStr().split(","));
query.setVehicleIds(vehicleIds);
}
List<Ridership> result = ridershipService.findByVehicleIdAndDate(query);
return new JsonResultBean(result);
} catch (Exception e) {
log.error("获取乘客流量报表!", e);
return new JsonResultBean(JsonResultBean.FAULT, sysErrorMsg);
}
}
/**
* 导出(生成excel文件)
*
* @param res
*/
@RequestMapping(value = "/export")
public void export2(HttpServletResponse res) {
try {
ExportExcelUtil.setResponseHead(res, "乘客流量报表");
ridershipService.export(null, 1, res);
} catch (Exception e) {
log.error("乘客流量报表页面导出数据异常(get)", e);
}
}
}
| 33.08642 | 92 | 0.714925 |
3ad68411267b0596ae0739c86830d179539133c1 | 5,153 | lua | Lua | src/snake/snake.lua | ujr/LuaTrials | 8d9c8c54813d3b0431bd955e8fae762d14101e03 | [
"MIT"
] | null | null | null | src/snake/snake.lua | ujr/LuaTrials | 8d9c8c54813d3b0431bd955e8fae762d14101e03 | [
"MIT"
] | null | null | null | src/snake/snake.lua | ujr/LuaTrials | 8d9c8c54813d3b0431bd955e8fae762d14101e03 | [
"MIT"
] | null | null | null | -- Snake Game -- heavily refactored from a tutorial at
-- https://simplegametutorials.github.io/love/snake/
local Snake = {}
function Snake.init()
Snake.cellSize = 20
Snake.gridSizeX = 20
Snake.gridSizeY = 15
Snake.deadTime = 5 -- seconds
Snake.speed = 1.0/6.0 -- seconds per step
Snake.font = love.graphics.newFont(18)
Snake.eatSound = love.audio.newSource("assets/eat.wav", "static")
Snake.deadSound = love.audio.newSource("assets/dead.wav", "static")
Snake.reset()
end
function Snake.reset()
Snake.timer = 0
Snake.alive = true
Snake.directionQueue = {'right'}
-- snake starts in the middle, going right
local midy = math.floor(Snake.gridSizeY / 2)
local midx = math.floor(Snake.gridSizeX / 2)
Snake.segments = {
{x = midx+1, y = midy},
{x = midx, y = midy},
{x = midx-1, y = midy},
}
Snake.foodPosition = Snake.getRandomFoodPos()
end
local function isSnakePos(segments, x, y)
for index, segment in ipairs(segments) do
if x == segment.x and y == segment.y then return true end
end
return false
end
function Snake.getRandomFoodPos()
-- random cell in grid, but not on the snake
local feasible = {}
for x = 1, Snake.gridSizeX do
for y = 1, Snake.gridSizeY do
if not isSnakePos(Snake.segments, x,y) then
table.insert(feasible, {x=x, y=y})
end
end
end
return feasible[love.math.random(#feasible)]
end
function Snake.draw()
local function drawCell(x, y)
love.graphics.rectangle('fill',
(x - 1) * Snake.cellSize,
(y - 1) * Snake.cellSize,
Snake.cellSize - 1,
Snake.cellSize - 1)
end
love.graphics.setColor(.28, .28, .28);
love.graphics.rectangle(
"fill", 0, 0, Snake.gridSizeX*Snake.cellSize,
Snake.gridSizeY*Snake.cellSize)
love.graphics.setColor(1, .3, .3)
drawCell(Snake.foodPosition.x, Snake.foodPosition.y)
love.graphics.setColor(.4, .7, .2)
for segmentIndex, segment in ipairs(Snake.segments) do
drawCell(segment.x, segment.y)
if Snake.alive then
love.graphics.setColor(.6, 1, .32)
else
love.graphics.setColor(.5, .5, .5)
end
end
love.graphics.setColor(.8,.8,.8, .5)
love.graphics.setFont(Snake.font)
local msg
if Snake.alive then
msg = "snake len " .. #Snake.segments
else
msg = "snake dead"
end
love.graphics.print(msg, 10, 20)
end
local function wrap(idx, min, max)
if idx < min then return max end
if idx > max then return min end
return idx
end
local function selfBitten(segments, x, y)
for index, segment in ipairs(segments) do
if index ~= #segments -- not last (snake creeps away)
and x == segment.x and y == segment.y then
return true
end
end
return false
end
function Snake.update(dt)
Snake.timer = Snake.timer + dt
if Snake.alive then
if Snake.timer >= Snake.speed then
Snake.timer = 0
if #Snake.directionQueue > 1 then
table.remove(Snake.directionQueue, 1)
end
local direction = Snake.directionQueue[1]
local nextX = Snake.segments[1].x
local nextY = Snake.segments[1].y
if direction == 'right' then
nextX = wrap(nextX + 1, 1, Snake.gridSizeX)
elseif direction == 'left' then
nextX = wrap(nextX - 1, 1, Snake.gridSizeX)
elseif direction == 'down' then
nextY = wrap(nextY + 1, 1, Snake.gridSizeY)
elseif direction == 'up' then
nextY = wrap(nextY - 1, 1, Snake.gridSizeY)
end
if selfBitten(Snake.segments, nextX, nextY) then
Snake.alive = false
Snake.deadSound:play()
else
table.insert(Snake.segments, 1, {x = nextX, y = nextY})
if Snake.segments[1].x == Snake.foodPosition.x
and Snake.segments[1].y == Snake.foodPosition.y then
Snake.foodPosition = Snake.getRandomFoodPos()
Snake.eatSound:play()
else
table.remove(Snake.segments) -- remove tail
end
end
end
elseif Snake.timer >= Snake.deadTime then
Snake.reset()
end
end
local function queueDirection(queue, direction)
-- direction must not be same as current direction
local current = queue[#queue]
if current == direction then return end
-- nor the opposite direction (snake must properly turn around)
if current == 'left' and direction == 'right' or
current == 'right' and direction == 'left' or
current == 'up' and direction == 'down' or
current == 'down' and direction == 'up' then return end
table.insert(queue, direction)
end
local function clamp(value, min, max)
if value < min then return min end
if value > max then return max end
return value
end
local function adjustSpeed(delta)
local stepsPerSec = 1/Snake.speed
stepsPerSec = clamp(math.floor(stepsPerSec*2 + delta)/2, 1, 10)
Snake.speed = 1/stepsPerSec
print("Snake speed: " .. stepsPerSec .. " steps/s")
end
function Snake.keyPressed(key)
if key == 'left' or key == 'right'
or key == 'up' or key == 'down' then
queueDirection(Snake.directionQueue, key)
elseif key == 'pageup' then
adjustSpeed(1)
elseif key == 'pagedown' then
adjustSpeed(-1)
end
end
return Snake
| 27.409574 | 69 | 0.653018 |
63c69b875aa1627960dde4815cf436924d31b800 | 403 | swift | Swift | iOS/src/Malinki/Malinki/Data Interface/VectorData/MalinkiFeatureData.swift | jagodki/Malinki | b1d8bb18a38afca68259b8179a38076aefca589e | [
"Apache-2.0"
] | 4 | 2022-03-10T09:22:41.000Z | 2022-03-19T21:51:37.000Z | iOS/src/Malinki/Malinki/Data Interface/VectorData/MalinkiFeatureData.swift | jagodki/Malinki | b1d8bb18a38afca68259b8179a38076aefca589e | [
"Apache-2.0"
] | null | null | null | iOS/src/Malinki/Malinki/Data Interface/VectorData/MalinkiFeatureData.swift | jagodki/Malinki | b1d8bb18a38afca68259b8179a38076aefca589e | [
"Apache-2.0"
] | null | null | null | //
// MalinkiFeatureData.swift
// Malinki
//
// Created by Christoph Jung on 14.12.21.
//
import Foundation
final public class MalinkiFeatureData: Identifiable {
public var data: [String: String]
public var name: String
public let uuid: UUID
init(data: [String: String], name: String) {
self.data = data
self.name = name
self.uuid = UUID()
}
}
| 18.318182 | 53 | 0.617866 |
7433fa7535f858e44a5bc180e84ffefd9e393c27 | 469 | dart | Dart | example/lib/main.dart | senthilece01/SKNumberPad | 56d09a692ddffba99b7e8fef0452fa4efecbb6a3 | [
"Apache-2.0"
] | 19 | 2020-03-05T01:47:46.000Z | 2022-03-22T04:23:19.000Z | example/lib/main.dart | hifiaz/SKNumberPad | 10b47121d6a5b3ec75eac9c34f1d5df3d2522875 | [
"Apache-2.0"
] | 2 | 2021-02-18T12:54:21.000Z | 2021-11-22T22:34:37.000Z | example/lib/main.dart | hifiaz/SKNumberPad | 10b47121d6a5b3ec75eac9c34f1d5df3d2522875 | [
"Apache-2.0"
] | 5 | 2020-03-05T03:54:32.000Z | 2021-03-15T07:43:40.000Z | import 'package:flutter/material.dart';
import 'package:sk_numberpad_example/otp_screen.dart';
import 'login_screen.dart';
var routes = <String, WidgetBuilder>{
"/OTPScreen": (BuildContext context) => OTPScreen(),
};
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: LoginPage(),
routes: routes,
);
}
}
| 21.318182 | 54 | 0.69936 |
498c0ecba508a127209e1b07e56c3ec81448417d | 200 | html | HTML | app/src/directives/wizardBalloon.html | medialab/sowell-minisite | d84baad043a2febd12834b649ebf3b6033cb2194 | [
"MIT"
] | 1 | 2017-04-02T16:23:25.000Z | 2017-04-02T16:23:25.000Z | app/src/directives/wizardBalloon.html | medialab/well-being-metrics | d84baad043a2febd12834b649ebf3b6033cb2194 | [
"MIT"
] | null | null | null | app/src/directives/wizardBalloon.html | medialab/well-being-metrics | d84baad043a2febd12834b649ebf3b6033cb2194 | [
"MIT"
] | 1 | 2016-10-26T12:10:22.000Z | 2016-10-26T12:10:22.000Z | <div class="balloon-container" ng-class="{'bottom': direction == 'bottom'}">
<div class="balloon-box" layout-padding>
<div class="text-center">
<em>{{text}}</em>
</div>
</div>
</div> | 28.571429 | 76 | 0.59 |
8839730e6a45b02534e8777623ec968bb1649c99 | 1,205 | hpp | C++ | utilities/msmonitor_cs/server/include/CMeasure.hpp | akiml/ampehre | 383a863442574ea2e6a6ac853a9b99e153daeccf | [
"BSD-2-Clause"
] | 3 | 2016-01-20T13:41:52.000Z | 2018-04-10T17:50:49.000Z | utilities/msmonitor_cs/server/include/CMeasure.hpp | akiml/ampehre | 383a863442574ea2e6a6ac853a9b99e153daeccf | [
"BSD-2-Clause"
] | null | null | null | utilities/msmonitor_cs/server/include/CMeasure.hpp | akiml/ampehre | 383a863442574ea2e6a6ac853a9b99e153daeccf | [
"BSD-2-Clause"
] | null | null | null | /*
* CMeasure.hpp
*
* Copyright (C) 2015, Achim Lösch <achim.loesch@upb.de>, Ahmad El-Ali <aelali@mail.upb.de>
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*
* encoding: UTF-8
* tab size: 4
*
* author: Ahmad El-Ali (aelali@mail.upb.de)
* created: 10/5/16
* version: 0.3.0 - extend libmeasure and add application for online monitoring
* 0.7.0 - modularized measurement struct
* 0.7.4 - add query for currently active processes to libmeasure and system overview gui to msmonitor
* 0.8.0 - client server implementation
*/
#ifndef CMEASURE_HPP
#define CMEASURE_HPP
#include <stdio.h>
#include <unistd.h>
#include <vector>
#include <iostream>
#include "CProtocol.hpp"
#include "ms_measurement.h"
#include "CDataHandler.hpp"
class CMeasure{
public:
CMeasure();
~CMeasure();
void start();
void stop();
void getValues(std::vector<double>& sol, std::vector<int>& req);
void getProcesses(std::vector<std::string>& processes);
void getCurrentTime(double& time);
NData::CDataSettings& getSettings();
private:
NData::CDataHandler* mpHandler;
};
#endif
| 22.735849 | 111 | 0.699585 |
fc9955a7780b79b2083e18ce061079414713bef1 | 292 | psm1 | PowerShell | PSModules/AwsCliV2/AwsCliV2.psm1 | matt9ucci/PSProfiles | 84e31fe202647d86bcac46c19a1e05d7fd5011f3 | [
"MIT"
] | 7 | 2019-05-29T20:03:06.000Z | 2022-01-09T00:43:48.000Z | PSModules/AwsCliV2/AwsCliV2.psm1 | matt9ucci/PSProfiles | 84e31fe202647d86bcac46c19a1e05d7fd5011f3 | [
"MIT"
] | null | null | null | PSModules/AwsCliV2/AwsCliV2.psm1 | matt9ucci/PSProfiles | 84e31fe202647d86bcac46c19a1e05d7fd5011f3 | [
"MIT"
] | 1 | 2020-04-23T15:35:42.000Z | 2020-04-23T15:35:42.000Z | Register-ArgumentCompleter -Native -CommandName aws -ScriptBlock {
param ($wordToComplete, $commandAst, $cursorPosition)
$env:COMP_LINE = $commandAst.Extent.Text.PadRight($cursorPosition, ' ')
$env:COMP_POINT = $cursorPosition
aws_completer
$env:COMP_LINE = $env:COMP_POINT = $null
}
| 26.545455 | 72 | 0.760274 |
dd658c3c2811acecfa51ccdc348224cbf5da8a7d | 5,151 | go | Go | controllers/base.go | steffen25/golang.zone | 5b087d42fc9a23b23b120805537eff6a0274cdef | [
"MIT"
] | 51 | 2017-07-18T21:52:26.000Z | 2021-01-26T20:32:35.000Z | controllers/base.go | steffen25/golang.zone | 5b087d42fc9a23b23b120805537eff6a0274cdef | [
"MIT"
] | 13 | 2017-08-13T21:04:54.000Z | 2021-08-16T14:04:53.000Z | controllers/base.go | steffen25/golang.zone | 5b087d42fc9a23b23b120805537eff6a0274cdef | [
"MIT"
] | 17 | 2017-08-09T20:52:38.000Z | 2020-08-31T03:07:22.000Z | package controllers
import (
"encoding/json"
"errors"
"io"
"log"
"net/http"
)
// BaseController is the common interface for all controllers
// https://github.com/sjoshi6/go-rest-api-boilerplate/blob/master/controllers/base.go
/*type ControllerServiceProvider interface {
Get(w http.ResponseWriter, r *http.Request)
GetAll(w http.ResponseWriter, r *http.Request)
Post(w http.ResponseWriter, r *http.Request)
Put(w http.ResponseWriter, r *http.Request)
Delete(w http.ResponseWriter, r *http.Request)
}*/
type APIResponse struct {
Success bool `json:"success"`
Message string `json:"message,omitempty"`
Data interface{} `json:"data,omitempty"`
Pagination *APIPagination `json:"pagination,omitempty"`
}
type APIError struct {
Success bool `json:"success"`
Message string `json:"message"`
Status int `json:"status"`
}
type JsonData struct {
data map[string]interface{}
}
type APIPagination struct {
Total int `json:"total"`
PerPage int `json:"perPage"`
CurrentPage int `json:"currentPage"`
LastPage int `json:"lastPage"`
From int `json:"from"`
To int `json:"to"`
FirstPageURL string `json:"firstPageUrl"`
LastPageURL string `json:"lastPageUrl"`
NextPageURL string `json:"nextPageUrl"`
PrevPageURL string `json:"prevPageUrl"`
}
func (p *APIPagination) MarshalJSON() ([]byte, error) {
// TODO: Find a better way to set updatedAt to nil
if p.PrevPageURL == "" {
return json.Marshal(struct {
Total int `json:"total"`
PerPage int `json:"perPage"`
CurrentPage int `json:"currentPage"`
LastPage int `json:"lastPage"`
From int `json:"from"`
To int `json:"to"`
FirstPageURL string `json:"firstPageUrl"`
LastPageURL string `json:"lastPageUrl"`
NextPageURL string `json:"nextPageUrl"`
PrevPageURL *string `json:"prevPageUrl"`
}{p.Total, p.PerPage, p.CurrentPage, p.LastPage, p.From, p.To, p.FirstPageURL, p.LastPageURL, p.NextPageURL, nil})
}
if p.NextPageURL == "" {
return json.Marshal(struct {
Total int `json:"total"`
PerPage int `json:"perPage"`
CurrentPage int `json:"currentPage"`
LastPage int `json:"lastPage"`
From int `json:"from"`
To int `json:"to"`
FirstPageURL string `json:"firstPageUrl"`
LastPageURL string `json:"lastPageUrl"`
NextPageURL *string `json:"nextPageUrl"`
PrevPageURL string `json:"prevPageUrl"`
}{p.Total, p.PerPage, p.CurrentPage, p.LastPage, p.From, p.To, p.FirstPageURL, p.LastPageURL, nil, p.PrevPageURL})
}
return json.Marshal(struct {
Total int `json:"total"`
PerPage int `json:"perPage"`
CurrentPage int `json:"currentPage"`
LastPage int `json:"lastPage"`
From int `json:"from"`
To int `json:"to"`
FirstPageURL string `json:"firstPageUrl"`
LastPageURL string `json:"lastPageUrl"`
NextPageURL string `json:"nextPageUrl"`
PrevPageURL string `json:"prevPageUrl"`
}{p.Total, p.PerPage, p.CurrentPage, p.LastPage, p.From, p.To, p.FirstPageURL, p.LastPageURL, p.NextPageURL, p.PrevPageURL})
}
//var NotImplemented = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
// w.Write([]byte("Not Implemented"))
//})
// Inspiration taken from https://github.com/antonholmquist/jason/
// TODO: Move into a util package maybe? or again into some interface the basecontroller is using
func GetJSON(reader io.Reader) (*JsonData, error) {
j := new(JsonData)
d := json.NewDecoder(reader)
d.UseNumber()
err := d.Decode(&j.data)
if err != nil {
log.Print(err)
return nil, err
}
return j, err
}
func (d *JsonData) GetString(key string) (string, error) {
keys := d.data
err := errors.New("Could not find key: " + key)
if v, ok := keys[key]; ok {
return v.(string), nil
}
return "", err
}
func (d *JsonData) GetInt(key string) (int, error) {
keys := d.data
err := errors.New("Could not find key: " + key)
if v, ok := keys[key]; ok {
return v.(int), nil
}
return -1, err
}
func NewAPIError(e *APIError, w http.ResponseWriter) {
w.Header().Set("Content-Type", "application/json; charset=utf-8")
w.WriteHeader(e.Status)
err := json.NewEncoder(w).Encode(e)
if err != nil {
log.Println("[API ERROR]: The website encountered an unexpected error.")
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
}
/*func NewAPIResponse(success bool, msg string, data interface{}) *APIResponse {
return &APIResponse{
Success: success,
Message: msg,
Data: data,
}
}*/
// TODO: Use this for both the APIResponse and APIError type
func NewAPIResponse(res *APIResponse, w http.ResponseWriter, code int) {
w.Header().Set("Content-Type", "application/json; charset=utf-8")
w.WriteHeader(code)
err := json.NewEncoder(w).Encode(res)
if err != nil {
log.Println("[API RESPONSE]: The website encountered an unexpected error.")
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
}
/*
type BaseController struct {
ControllerServiceProvider
*database.DB
}*/
| 29.603448 | 125 | 0.665114 |
abee3894e866fab547d9b777c29ce0bbe3b8280e | 1,709 | cc | C++ | native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "nacl_io/passthroughfs/passthrough_fs.h"
#include <errno.h>
#include "nacl_io/kernel_handle.h"
#include "nacl_io/kernel_wrap_real.h"
#include "nacl_io/passthroughfs/real_node.h"
namespace nacl_io {
PassthroughFs::PassthroughFs() {
}
Error PassthroughFs::Init(const FsInitArgs& args) {
return Filesystem::Init(args);
}
void PassthroughFs::Destroy() {
}
Error PassthroughFs::OpenWithMode(const Path& path, int open_flags,
mode_t mode, ScopedNode* out_node) {
out_node->reset(NULL);
int real_fd;
int error = _real_open(path.Join().c_str(), open_flags, mode, &real_fd);
if (error)
return error;
out_node->reset(new RealNode(this, real_fd, true));
return 0;
}
Error PassthroughFs::OpenResource(const Path& path, ScopedNode* out_node) {
int real_fd;
out_node->reset(NULL);
int error = _real_open_resource(path.Join().c_str(), &real_fd);
if (error)
return error;
out_node->reset(new RealNode(this, real_fd));
return 0;
}
Error PassthroughFs::Unlink(const Path& path) {
// Not implemented by NaCl.
return ENOSYS;
}
Error PassthroughFs::Mkdir(const Path& path, int perm) {
return _real_mkdir(path.Join().c_str(), perm);
}
Error PassthroughFs::Rmdir(const Path& path) {
return _real_rmdir(path.Join().c_str());
}
Error PassthroughFs::Remove(const Path& path) {
// Not implemented by NaCl.
return ENOSYS;
}
Error PassthroughFs::Rename(const Path& path, const Path& newpath) {
// Not implemented by NaCl.
return ENOSYS;
}
} // namespace nacl_io
| 23.736111 | 75 | 0.708602 |
2f2c7113f6cd2c7f3b0bfb15e8143f681f068fb1 | 794 | java | Java | projects/asw-840-kafka/b-simple-pipeline/simple-filter/src/main/java/asw/kafka/simplefilter/domain/SimpleFilterService.java | HalfWeight/asw | c34cf9f8becde687aef2b4538201effd416ad74f | [
"MIT"
] | 30 | 2016-03-10T22:59:38.000Z | 2022-03-08T10:33:03.000Z | projects/asw-840-kafka/b-simple-pipeline/simple-filter/src/main/java/asw/kafka/simplefilter/domain/SimpleFilterService.java | HalfWeight/asw | c34cf9f8becde687aef2b4538201effd416ad74f | [
"MIT"
] | null | null | null | projects/asw-840-kafka/b-simple-pipeline/simple-filter/src/main/java/asw/kafka/simplefilter/domain/SimpleFilterService.java | HalfWeight/asw | c34cf9f8becde687aef2b4538201effd416ad74f | [
"MIT"
] | 44 | 2016-03-03T09:05:10.000Z | 2021-11-09T09:10:44.000Z | package asw.kafka.simplefilter.domain;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import java.util.logging.Logger;
@Service
public class SimpleFilterService {
private final Logger logger = Logger.getLogger(SimpleFilterService.class.toString());
@Autowired
private SimpleMessagePublisher simpleMessagePublisher;
@Value("${asw.kafka.filter.name}")
private String filterName;
public void filter(String inMessage) {
String outMessage = String.format("*** [%1$s] %2$s ***", filterName, inMessage);
logger.info("FILTERING MESSAGE: " + inMessage + " TO: " + outMessage);
simpleMessagePublisher.publish(outMessage);
}
}
| 29.407407 | 90 | 0.741814 |
74763f00d6bbd3e5cdcbde828d443736aa7b5c81 | 968 | h | C | src/components/include/test/application_manager/mock_rpc_plugin_manager.h | shoamano83/sdl_core | ea5960280585d11ee02542b0ab183d4400ed691d | [
"BSD-3-Clause"
] | null | null | null | src/components/include/test/application_manager/mock_rpc_plugin_manager.h | shoamano83/sdl_core | ea5960280585d11ee02542b0ab183d4400ed691d | [
"BSD-3-Clause"
] | 2 | 2017-12-25T19:40:16.000Z | 2017-12-25T23:34:25.000Z | src/components/include/test/application_manager/mock_rpc_plugin_manager.h | vkushnirenko-luxoft/sdl_core | 946e25fa31411a4a00b547cee2d0f1dd12b94a7d | [
"BSD-3-Clause"
] | 1 | 2020-04-22T07:17:49.000Z | 2020-04-22T07:17:49.000Z | #ifndef SRC_COMPONENTS_INCLUDE_TEST_APPLICATION_MANAGER_MOCK_RPC_PLUGIN_MANAGER_H_
#define SRC_COMPONENTS_INCLUDE_TEST_APPLICATION_MANAGER_MOCK_RPC_PLUGIN_MANAGER_H_
#include <string>
#include "gmock/gmock.h"
#include "application_manager/plugin_manager/rpc_plugin_manager.h"
namespace application_manager {
namespace plugin_manager {
class MockRPCPluginManager : public RPCPluginManager {
public:
MOCK_METHOD1(LoadPlugins, uint32_t(const std::string& plugins_path));
MOCK_METHOD0(GetPlugins, std::vector<RPCPluginPtr>&());
MOCK_METHOD2(FindPluginToProcess,
utils::Optional<RPCPlugin>(
const int32_t function_id,
const commands::Command::CommandSource message_source));
MOCK_METHOD1(ForEachPlugin, void(std::function<void(RPCPlugin&)> functor));
};
} // namespace plugin_manager
} // namespace application_manager
#endif // SRC_COMPONENTS_INCLUDE_TEST_APPLICATION_MANAGER_MOCK_RPC_PLUGIN_MANAGER_H_
| 38.72 | 85 | 0.792355 |
18938f3891c72ed383434da0d9f2b57f4fcacd7e | 8,454 | rb | Ruby | lib/ruby_jard/decorators/rails_decorator.rb | jonatas/ruby_jard | 6e08365b5a5d8d05680b33edec6f253fbb4871c0 | [
"MIT"
] | null | null | null | lib/ruby_jard/decorators/rails_decorator.rb | jonatas/ruby_jard | 6e08365b5a5d8d05680b33edec6f253fbb4871c0 | [
"MIT"
] | null | null | null | lib/ruby_jard/decorators/rails_decorator.rb | jonatas/ruby_jard | 6e08365b5a5d8d05680b33edec6f253fbb4871c0 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module RubyJard
module Decorators
##
# A collection of rails-specific decorators.
# Why?
# Because Rails is magic, and it is like stepping on a minefield. Rails objects
# can trigger side-effects (like calling database queries, or even API queries).
# And from the end-user perspective, Rails' internal variables are useless. They
# care more about database attributes, which requires some extra steps to display
# if I don't want to use `#inspect`.
class RailsDecorator
##
# Individual Active Record object is trivial. The object is a mapping from a DB
# entity to Ruby object. It is always in the memory.
class ActiveRecordBaseDecorator
def initialize(generic_decorator)
@generic_decorator = generic_decorator
@attributes_decorator = RubyJard::Decorators::AttributesDecorator.new(generic_decorator)
end
def match?(variable)
return false unless defined?(ActiveRecord::Base)
RubyJard::Reflection.call_is_a?(variable, ActiveRecord::Base)
end
def decorate_singleline(variable, line_limit:, depth: 0)
label = RubyJard::Span.new(
content: RubyJard::Reflection.call_to_s(variable).chomp!('>'),
margin_right: 1, styles: :text_primary
)
spans = [label]
attributes = variable_attributes(variable)
if attributes.nil?
spans << RubyJard::Span.new(content: '??? failed to inspect attributes', styles: :text_dim)
else
spans += @attributes_decorator.inline_pairs(
attributes.each_with_index,
total: attributes.length, line_limit: line_limit - label.content_length - 2,
process_key: false, depth: depth + 1
)
end
spans << RubyJard::Span.new(content: '>', styles: :text_primary)
end
def decorate_multiline(variable, first_line_limit:, lines:, line_limit:, depth: 0)
singleline = decorate_singleline(variable, line_limit: first_line_limit)
return [singleline] if singleline.map(&:content_length).sum < line_limit
spans = [[RubyJard::Span.new(content: RubyJard::Reflection.call_to_s(variable), styles: :text_primary)]]
item_count = 0
attributes = variable_attributes(variable)
if attributes.nil?
spans << [RubyJard::Span.new(
content: '▸ ??? failed to inspect attributes',
margin_left: 2, styles: :text_dim
)]
else
attributes.each_with_index do |(key, value), index|
spans << @attributes_decorator.pair(
key, value, line_limit: line_limit, process_key: false, depth: depth + 1
)
item_count += 1
break if index >= lines - 2
end
if attributes.length > item_count
spans << [RubyJard::Span.new(
content: "▸ #{attributes.length - item_count} more...",
margin_left: 2, styles: :text_dim
)]
end
end
spans
end
def variable_attributes(variable)
variable.attributes
rescue StandardError
nil
end
end
##
# When creating an active record relation, Rails won't trigger any SQL query, until
# to_ary events. It is required to check for records loaded before recursively display
# its children. Hint if the relation is not loaded yet.
class ActiveRecordRelationDecorator
def initialize(generic_decorator)
@generic_decorator = generic_decorator
@attributes_decorator = RubyJard::Decorators::AttributesDecorator.new(generic_decorator)
end
def match?(variable)
return false unless defined?(ActiveRecord::Relation)
RubyJard::Reflection.call_class(variable) < ActiveRecord::Relation
rescue StandardError
false
end
def decorate_singleline(variable, line_limit:, depth: 0)
if loaded?(variable)
spans = []
label = RubyJard::Span.new(
content: RubyJard::Reflection.call_to_s(variable).chomp('>'),
styles: :text_primary,
margin_right: variable.length >= 1 ? 1 : 0
)
spans << label
spans += @attributes_decorator.inline_values(
variable.each_with_index,
total: variable.length, line_limit: line_limit - label.content_length - 2,
depth: depth + 1
)
spans << RubyJard::Span.new(content: '>', styles: :text_primary)
if variable.length <= 0
spans << RubyJard::Span.new(content: '(empty)', margin_left: 1, styles: :text_primary)
end
spans
else
relation_summary(variable, line_limit)
end
end
def decorate_multiline(variable, first_line_limit:, lines:, line_limit:, depth: 0)
singleline = decorate_singleline(variable, line_limit: first_line_limit)
if singleline.map(&:content_length).sum < line_limit
[singleline]
elsif !loaded?(variable)
[relation_summary(variable, first_line_limit)]
else
spans = [[RubyJard::Span.new(content: RubyJard::Reflection.call_to_s(variable), styles: :text_primary)]]
item_count = 0
variable.each_with_index do |value, index|
spans << @attributes_decorator.value(value, line_limit: line_limit, depth: depth + 1)
item_count += 1
break if index >= lines - 2
end
if variable.length > item_count
spans << [RubyJard::Span.new(
content: "▸ #{variable.length - item_count} more...",
margin_left: 2, styles: :text_dim
)]
end
spans
end
end
private
def relation_summary(variable, line_limit)
overview = RubyJard::Reflection.call_to_s(variable).chomp('>')
width = overview.length + 1 + 12
spans = [RubyJard::Span.new(content: overview, styles: :text_primary)]
if RubyJard::Reflection.call_respond_to?(variable, :to_sql) && width < line_limit
detail = variable_sql(variable)
detail = detail[0..line_limit - width - 2] + '…' if width + detail.length < line_limit
spans << RubyJard::Span.new(content: detail, styles: :text_dim, margin_left: 1)
end
spans << RubyJard::Span.new(content: '>', styles: :text_primary)
spans << RubyJard::Span.new(content: '(not loaded)', margin_left: 1, styles: :text_dim)
spans
end
def loaded?(variable)
variable.respond_to?(:loaded?) && variable.loaded?
rescue StandardError
false
end
def variable_sql(variable)
variable.to_sql.inspect
rescue StandardError
'failed to inspect active relation\'s SQL'
end
end
def initialize(generic_decorator)
@generic_decorator = generic_decorator
@sub_decorators = [
@active_record_base_decorator = ActiveRecordBaseDecorator.new(generic_decorator),
@active_record_relation_decorator = ActiveRecordRelationDecorator.new(generic_decorator)
]
end
def match?(variable)
@sub_decorators.any? { |sub_decorator| sub_decorator.match?(variable) }
rescue StandardError
false
end
def decorate_singleline(variable, line_limit:, depth: 0)
@sub_decorators.each do |sub_decorator|
next unless sub_decorator.match?(variable)
return sub_decorator.decorate_singleline(
variable, line_limit: line_limit, depth: depth
)
end
nil
end
def decorate_multiline(variable, first_line_limit:, lines:, line_limit:, depth: 0)
@sub_decorators.each do |sub_decorator|
next unless sub_decorator.match?(variable)
return sub_decorator.decorate_multiline(
variable,
first_line_limit: first_line_limit,
lines: lines,
line_limit: line_limit,
depth: depth
)
end
nil
end
end
end
end
| 36.756522 | 116 | 0.6022 |
175de77f1126cba0d50a8cd6529294464d52fed8 | 649 | html | HTML | src/description.html | wongamanda/tedtalks | cb626a6e884d4b6fbf8578a53d999dbc70754523 | [
"MIT"
] | null | null | null | src/description.html | wongamanda/tedtalks | cb626a6e884d4b6fbf8578a53d999dbc70754523 | [
"MIT"
] | null | null | null | src/description.html | wongamanda/tedtalks | cb626a6e884d4b6fbf8578a53d999dbc70754523 | [
"MIT"
] | null | null | null | <text id ="vis-des">
<tspan x='0' y='3233.33'>Viewers can vote from a pre-set list of </tspan>
<tspan x='0' y='3253.33'>sentiments when they watch a video to connote </tspan>
<tspan x='0' y='3273.33'>how it made them feel.They can vote for more </tspan>
<tspan x='0' y='3293.33'>than one. We chose six of those sentiments and
<tspan x='0' y='3313.33'>categorized them according to Ted Talk theme, </tspan>
<tspan x='0' y='3333.33'>which are encoded by yellow boxes. Each represented </tspan>
<tspan x='0' y='3353.33'>sentiment percentage is relative to all the </tspan>
<tspan x='0' y='3373.33'>sentiments for each category.</tspan>
</text> | 64.9 | 86 | 0.688752 |
7084c796ac1142ab27f0eb02d77bd183d4739a97 | 1,032 | cs | C# | Assets/Scripts/Controller.cs | V1ncNet/bullet-bath | 19cdd3379025d10390c038e7c2becbcacbe2bd21 | [
"MIT"
] | null | null | null | Assets/Scripts/Controller.cs | V1ncNet/bullet-bath | 19cdd3379025d10390c038e7c2becbcacbe2bd21 | [
"MIT"
] | null | null | null | Assets/Scripts/Controller.cs | V1ncNet/bullet-bath | 19cdd3379025d10390c038e7c2becbcacbe2bd21 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Controller : MonoBehaviour
{
//public static Controller controller;
bool vr = false; // false per default for testing. should be true for a build.
//void Awake()
//{
// if (controller != null)
// {
// Debug.LogError("More than one Controller");
// return;
// }
// controller = this;
//}
ControllerDesktop desktop;
WeaponController controllerVr;
// Start is called before the first frame update
void Start()
{
desktop = GetComponent<ControllerDesktop>();
controllerVr = GetComponent<WeaponController>();
}
// Update is called once per frame
void Update()
{
if (Input.GetKey(KeyCode.F9))
{
vr = !vr;
// VR
controllerVr.enabled = vr;
// Desktop
desktop.enabled = !vr;
GameObject.Find("Player").SetActive(!vr);
}
}
}
| 23.454545 | 82 | 0.564922 |
ffa6e1057be23516a6683c96e40de27659a165b2 | 732 | sql | SQL | 03/02-Stu_GregariousAggregates/Unsolved/aggregates.sql | christineton/sql_activities | fee0251a4530f680ae90d38f73f805375adffac9 | [
"MIT"
] | null | null | null | 03/02-Stu_GregariousAggregates/Unsolved/aggregates.sql | christineton/sql_activities | fee0251a4530f680ae90d38f73f805375adffac9 | [
"MIT"
] | null | null | null | 03/02-Stu_GregariousAggregates/Unsolved/aggregates.sql | christineton/sql_activities | fee0251a4530f680ae90d38f73f805375adffac9 | [
"MIT"
] | null | null | null | use sakila;
SELECT *
FROM film;
DESCRIBE film;
SELECT COUNT(film_id)
FROM film;
SELECT COUNT(film_id) AS 'Total films'
FROM film;
SELECT COUNT(film_id) AS 'Total films'
FROM film;
SELECT rating, COUNT(film_id) AS 'Total films'
FROM film
GROUP BY rating;
SELECT AVG(rental_duration)
FROM film;
SELECT AVG(rental_duration) AS 'Average rental period'
FROM film;
SELECT rental_duration, AVG(rental_rate) AS 'Average rental rate'
FROM film
GROUP BY rental_duration;
SELECT rental_duration, AVG(rental_rate) AS 'Average rental rate'
FROM film
GROUP BY rental_duration
WHERE rental_duration < 7;
SELECT rental_duration, AVG(rental_rate) AS 'Average rental rate'
FROM film
GROUP BY rental_duration
HAVING rental_duration < 7;
| 18.769231 | 66 | 0.784153 |
38b6d074a7b86c1e33ec81fb13b86667110cb9c1 | 9,746 | h | C | gl_visualizer/nonstd/nonstd/io.h | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | gl_visualizer/nonstd/nonstd/io.h | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | gl_visualizer/nonstd/nonstd/io.h | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | #ifndef NONSTD_IO_H_
#define NONSTD_IO_H_
#include <array>
#include <iostream>
#include <list>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
#include "nonstd/exception.h"
namespace nonstd {
///@name IO
///@{
/// Read a file line-by-line.
/// @param _filename The name of the file to read.
/// @return A vector holding the lines of the file.
std::vector<std::string>
read_file_lines(
const std::string& _filename
);
/// Read a file into a single string.
/// @param _filename The name of the file to read.
/// @return A string holding the file contents.
std::string
read_file(
const std::string& _filename
);
/// Get the match for a bracket symbol.
/// @param _bracket The bracket symbol to match.
/// @return The matching bracket facing the other way.
char
matching_bracket(
const char _bracket
);
/// Print the contents of a container to a std::string.
/// @param _begin The container's begin iterator.
/// @param _end The container's end iterator.
/// @param _bracket The enclosing brackets to use from ' ', '(', '{', '[', '<',
/// (space for none).
/// @param _delimiter The delimiter to use between elements (space for none).
/// @return A string representation of _c's contents.
template <typename IteratorType>
std::string
print_container(
IteratorType _begin,
IteratorType _end,
const char _bracket = '{',
const char _delimiter = ','
) {
std::ostringstream os;
// Print opening bracket.
if(_bracket != ' ')
os << _bracket;
// Create the delimiter string.
std::string delimiter(1, _delimiter);
if(_delimiter != ' ')
delimiter += ' ';
// Print the container contents.
if(_begin != _end)
{
auto j = _begin,
i = j++;
for(; j != _end; ++i, ++j)
os << *i << delimiter;
os << *i;
}
// Print the closing bracket.
if(_bracket != ' ')
os << matching_bracket(_bracket);
return os.str();
}
/// Print the contents of a container to a std::string. The container must
/// support forward iterators.
/// @param _c The container to print.
/// @param _bracket The enclosing brackets to use from ' ', '(', '{', '[', '<',
/// (space for none).
/// @param _delimiter The delimiter to use between elements (space for none).
/// @return A string representation of _c's contents.
template <typename ContainerType>
inline
std::string
print_container(
const ContainerType& _c,
const char _bracket = '{',
const char _delimiter = ','
) {
return nonstd::print_container(_c.begin(), _c.end(), _bracket, _delimiter);
}
/// Read the contents of an input stream into a container.
/// @param _is The input stream.
/// @param _iter An iterator where the incoming elements should be written.
/// @param _count The number of elements to read, or 0 to read until the end
/// bracket or fail.
/// @param _bracket The enclosing brackets from ' ', '(', '{', '[', '<',
/// (space for none).
/// @param _delimiter The delimiter between elements (space for none).
template <typename ElementType, typename IteratorType>
void
input_container(
std::istream& _is,
IteratorType _iter,
const size_t _count = 0,
const char _bracket = '{',
const char _delimiter = ','
) {
// Store the exception state of the istream and change it to throw exceptions
// for bad and failed extraction.
auto original_exceptions = _is.exceptions();
constexpr std::ios_base::iostate use_exceptions = std::ios_base::badbit
| std::ios_base::failbit;
_is.exceptions(use_exceptions);
char c;
ElementType buffer;
const bool using_delimiter = _delimiter != ' ',
using_bracket = _bracket != ' ';
const char close_bracket = using_bracket ? matching_bracket(_bracket) : ' ';
try
{
// Read the opening bracket.
if(using_bracket)
{
_is >> std::ws >> c;
if(c != _bracket)
throw nonstd::exception(WHERE) << "Expected opening bracket '"
<< _bracket
<< "' not present (read '" << c
<< "' instead).";
}
// Read each of the values.
for(size_t i = 1; i < _count; ++i)
{
_is >> std::ws >> buffer;
*_iter = buffer;
++_iter;
if(using_delimiter)
{
_is >> std::ws >> c;
if(c != _delimiter)
throw nonstd::exception(WHERE) << "Expected delimiter '"
<< _delimiter << "' not present "
<< "(read '" << c << "' instead).";
}
}
_is >> std::ws >> buffer;
*_iter = buffer;
++_iter;
// If _count is 0, we have only read 1 element yet. Continue until we fail
// to read an element.
if(_count == 0)
{
try
{
while(true)
{
if(using_delimiter)
{
_is >> std::ws >> c;
if(c != _delimiter)
{
_is.unget();
throw std::exception();
}
}
_is >> std::ws >> buffer;
*_iter = buffer;
++_iter;
}
}
catch(...) { }
}
// Read the closing bracket.
if(using_bracket)
{
_is >> std::ws >> c;
if(c != close_bracket)
throw nonstd::exception(WHERE) << "Expected closing bracket '"
<< close_bracket
<< "' not present (read '" << c
<< "' instead).";
}
}
catch(const nonstd::exception& _e)
{
_is.exceptions(original_exceptions);
throw _e;
}
catch(const std::exception& _e)
{
_is.exceptions(original_exceptions);
throw nonstd::exception(WHERE) << "Failed to read container data.";
}
_is.exceptions(original_exceptions);
}
///@}
}
/*----------------------- overloads for stl containers -----------------------*/
namespace std {
template <typename T, typename U>
inline
ostream&
operator<<(ostream& _os, const pair<T, U>& _p)
{
return _os << "(" << _p.first << ", " << _p.second << ")";
}
template <typename T, typename U>
inline
istream&
operator>>(istream& _is, pair<T, U>& _p)
{
char c;
_is >> std::ws >> c;
if(c != '(')
throw nonstd::exception(WHERE) << "Expected '(' not present.";
_is >> std::ws >> _p.first
>> std::ws >> c;
if(c != ',')
throw nonstd::exception(WHERE) << "Expected ',' not present.";
_is >> std::ws >> _p.second
>> std::ws >> c;
if(c != ')')
throw nonstd::exception(WHERE) << "Expected ')' not present.";
return _is;
}
template <typename... T>
inline
ostream&
operator<<(ostream& _os, const list<T...>& _l)
{
return _os << nonstd::print_container(_l);
}
template <typename T, typename... U>
inline
istream&
operator>>(istream& _is, list<T, U...>& _l)
{
nonstd::input_container<T>(_is, std::back_inserter(_l));
return _is;
}
template <typename... T>
inline
ostream&
operator<<(ostream& _os, const map<T...>& _m)
{
return _os << nonstd::print_container(_m);
}
template <typename T, typename... U>
inline
istream&
operator>>(istream& _is, map<T, U...>& _m)
{
nonstd::input_container<T>(_is, std::back_inserter(_m));
return _is;
}
template <typename... T>
inline
ostream&
operator<<(ostream& _os, const unordered_map<T...>& _m)
{
return _os << nonstd::print_container(_m);
}
template <typename T, typename... U>
inline
istream&
operator>>(istream& _is, unordered_map<T, U...>& _m)
{
nonstd::input_container<T>(_is, std::back_inserter(_m));
return _is;
}
template <typename... T>
inline
ostream&
operator<<(ostream& _os, const set<T...>& _s)
{
return _os << nonstd::print_container(_s);
}
template <typename T, typename... U>
inline
istream&
operator>>(istream& _is, set<T, U...>& _s)
{
nonstd::input_container<T>(_is, std::back_inserter(_s));
return _is;
}
template <typename... T>
inline
ostream&
operator<<(ostream& _os, const unordered_set<T...>& _s)
{
return _os << nonstd::print_container(_s);
}
template <typename T, typename... U>
inline
istream&
operator>>(istream& _is, unordered_set<T, U...>& _s)
{
nonstd::input_container<T>(_is, std::back_inserter(_s));
return _is;
}
template <typename... T>
inline
ostream&
operator<<(ostream& _os, const vector<T...>& _v)
{
return _os << nonstd::print_container(_v);
}
template <typename T, typename... U>
inline
istream&
operator>>(istream& _is, vector<T, U...>& _v)
{
nonstd::input_container<T>(_is, std::back_inserter(_v));
return _is;
}
template <typename T, size_t N>
inline
ostream&
operator<<(ostream& _os, const array<T, N>& _a)
{
return _os << nonstd::print_container(_a);
}
template <typename T, size_t N>
inline
istream&
operator>>(istream& _is, array<T, N>& _a)
{
nonstd::input_container<T>(_is, _a.begin(), N);
return _is;
}
}
/*----------------------------------------------------------------------------*/
#endif
| 23.887255 | 81 | 0.54843 |
80a28e4a6e0290374beed7a2fc5d0e97995a3cda | 6,415 | java | Java | src/main/java/com/funsonli/bootan/module/base/controller/RedisController.java | funsonli/bootan | 506ea13bf7814edce69403ec7e3b0109ff646585 | [
"MIT"
] | 61 | 2019-10-25T09:32:43.000Z | 2022-01-24T11:51:52.000Z | src/main/java/com/funsonli/bootan/module/base/controller/RedisController.java | funsonli/bootan | 506ea13bf7814edce69403ec7e3b0109ff646585 | [
"MIT"
] | 2 | 2019-11-20T11:33:17.000Z | 2020-03-25T09:28:48.000Z | src/main/java/com/funsonli/bootan/module/base/controller/RedisController.java | funsonli/bootan | 506ea13bf7814edce69403ec7e3b0109ff646585 | [
"MIT"
] | 24 | 2019-11-14T13:33:31.000Z | 2021-09-03T03:48:41.000Z | package com.funsonli.bootan.module.base.controller;
import cn.hutool.core.date.DateUtil;
import com.funsonli.bootan.base.BaseResult;
import com.funsonli.bootan.common.annotation.BootanLog;
import com.funsonli.bootan.common.constant.CommonConstant;
import com.funsonli.bootan.common.util.PageUtil;
import com.funsonli.bootan.common.vo.PageVO;
import com.funsonli.bootan.common.vo.SearchVO;
import com.funsonli.bootan.module.base.vo.RedisInfo;
import com.funsonli.bootan.module.base.vo.RedisVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.Pageable;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.*;
/**
* Redis管理接口
*
* @author Funsonli
* @date 2019/10/31
*/
@Slf4j
@RestController
@Transactional(rollbackFor = RuntimeException.class)
@ApiModel("Redis管理接口")
@RequestMapping("/bootan/redis")
public class RedisController {
@Autowired
private JedisPool jedisPool;
@Autowired
private StringRedisTemplate redisTemplate;
@GetMapping({"/", "index"})
@ApiOperation("角色部门数据范围列表搜索分页")
@BootanLog(value = "角色部门数据范围列表搜索分页", type = CommonConstant.LOG_TYPE_ACCESS)
public BaseResult index(@ModelAttribute SearchVO searchVO,
@ModelAttribute PageVO pageVO,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response) {
if (result.hasErrors()) {
return BaseResult.error();
}
List<RedisVO> list = new ArrayList<>();
String key = request.getParameter("key");
Set<String> keys;
if (key != null) {
keys = redisTemplate.keys("*" + key + "*");
} else {
keys = redisTemplate.keys("*");
}
if (keys != null && keys.size() > 0) {
for (String item : keys) {
RedisVO redisVO = new RedisVO(item, "");
list.add(redisVO);
}
}
Pageable pageable = PageUtil.initPage(pageVO);
Page<RedisVO> page = new PageImpl<>(PageUtil.listToPage(pageable, list), pageable, list.size());
page.getContent().forEach(e -> {
String value = "";
try {
value = redisTemplate.opsForValue().get(e.getKey());
if (value != null && value.length() > 100) {
value = value.substring(0, 100) + "...";
}
} catch (Exception exception) {
value = "非字符数据";
}
e.setValue(value);
});
return BaseResult.success(page);
}
@PostMapping("/save")
@ApiOperation("保存")
@BootanLog(value = "保存", type = CommonConstant.LOG_TYPE_OPERATION)
public BaseResult save(@ModelAttribute RedisVO modelAttribute, BindingResult result, HttpServletRequest request, HttpServletResponse response) {
if (result.hasErrors()) {
return BaseResult.error();
}
redisTemplate.opsForValue().set(modelAttribute.getKey(), modelAttribute.getValue());
return BaseResult.success();
}
@DeleteMapping("/delete/{ids}")
@ApiOperation("批量删除")
@BootanLog(value = "批量删除", type = CommonConstant.LOG_TYPE_OPERATION)
public BaseResult delete(@PathVariable String[] ids) {
for (String id : ids) {
redisTemplate.delete(id);
}
if (1 < ids.length) {
return BaseResult.success("批量删除数据成功");
}
return BaseResult.success();
}
@GetMapping("/view/{id}")
@ApiOperation("查看单个数据详情")
@BootanLog(value = "查看单个数据详情", type = CommonConstant.LOG_TYPE_ACCESS)
public BaseResult view(@PathVariable String id) {
String value = redisTemplate.opsForValue().get(id);
if (null == value) {
return BaseResult.error();
}
return BaseResult.success(value);
}
@GetMapping("/info")
@ApiOperation("Redis运行信息")
//@BootanLog(value = "Redis运行信息", type = CommonConstant.LOG_TYPE_ACCESS)
public BaseResult info() {
List<RedisInfo> redisInfoList = new ArrayList<>(10);
Jedis jedis = jedisPool.getResource();
String[] infos = jedis.info().split("\n");
for (String info : infos) {
RedisInfo redisInfo = new RedisInfo();
String[] item = info.split(":");
if (item.length > 1) {
redisInfo.setKey(item[0]);
redisInfo.setValue(item[1].replace("\r", ""));
redisInfoList.add(redisInfo);
}
}
jedis.close();
return BaseResult.success(redisInfoList);
}
@GetMapping("/memory")
@ApiOperation("Redis运行内存")
//@BootanLog(value = "Redis运行内存", type = CommonConstant.LOG_TYPE_ACCESS)
public BaseResult memory() {
Map<String, Object> map = new HashMap<>(16);
Jedis jedis = jedisPool.getResource();
String[] infos = jedis.info().split("\n");
for (String info : infos) {
String[] item = info.split(":");
if ("used_memory".equals(item[0])) {
map.put("memory", item[1].replace("\r", ""));
break;
}
}
map.put("time", DateUtil.format(new Date(), "HH:mm:ss"));
jedis.close();
return BaseResult.success(map);
}
@GetMapping("/key-size")
@ApiOperation("Redis实时Key数量")
//@BootanLog(value = "Redis实时Key数量", type = CommonConstant.LOG_TYPE_ACCESS)
public BaseResult keySize() {
Map<String, Object> map = new HashMap<>(16);
Jedis jedis = jedisPool.getResource();
map.put("keySize", jedis.dbSize());
map.put("time", DateUtil.format(new Date(), "HH:mm:ss"));
jedis.close();
return BaseResult.success(map);
}
}
| 31.600985 | 148 | 0.616524 |
da158289127e795b6e2701db30d093b97e208b3a | 9,762 | rs | Rust | src/main.rs | sharkdp/lucid | 1e10acec5d49b44b5d8b0679c03e82e15df8bc37 | [
"Apache-2.0",
"MIT"
] | 66 | 2018-09-09T21:57:16.000Z | 2022-03-27T02:02:53.000Z | src/main.rs | sharkdp/lucid | 1e10acec5d49b44b5d8b0679c03e82e15df8bc37 | [
"Apache-2.0",
"MIT"
] | 9 | 2018-09-09T16:14:10.000Z | 2020-08-01T20:09:43.000Z | src/main.rs | sharkdp/lucid | 1e10acec5d49b44b5d8b0679c03e82e15df8bc37 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-09-11T21:24:50.000Z | 2021-09-12T01:26:35.000Z | extern crate ctrlc;
#[macro_use]
extern crate clap;
extern crate nix;
use std::io::{self, Write};
use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::Arc;
use std::{thread, time};
use clap::{App, AppSettings, Arg};
use nix::unistd;
#[derive(Debug, PartialEq)]
enum LucidError {
DurationParseError,
DurationNegative,
FailedToDaemonize,
}
impl LucidError {
fn message(&self) -> &str {
match self {
LucidError::DurationParseError => "Could not parse 'duration' argument",
LucidError::DurationNegative => "Duration can not be negative",
LucidError::FailedToDaemonize => "Failed to daemonize itself",
}
}
}
/// Determines how much information should be printed.
#[derive(Debug, Clone, Copy, PartialEq, PartialOrd)]
enum VerbosityLevel {
Quiet,
Normal,
Verbose,
}
type ExitCode = i32;
struct OutputHandler<'a> {
stdout: io::StdoutLock<'a>,
stderr: io::StderrLock<'a>,
prefix: &'a str,
verbosity_level: VerbosityLevel,
print_to_stderr: bool,
}
impl<'a> OutputHandler<'a> {
fn new(
stdout: io::StdoutLock<'a>,
stderr: io::StderrLock<'a>,
prefix: &'a str,
verbosity_level: VerbosityLevel,
print_to_stderr: bool,
) -> Self {
OutputHandler {
stdout,
stderr,
prefix,
verbosity_level,
print_to_stderr,
}
}
fn print(&mut self, msg: &str) {
match self.verbosity_level {
VerbosityLevel::Verbose | VerbosityLevel::Normal => self.print_with_prefix(msg),
_ => {}
}
}
fn print_verbose(&mut self, msg: &str) {
if self.verbosity_level == VerbosityLevel::Verbose {
self.print_with_prefix(msg)
}
}
fn print_with_prefix(&mut self, msg: &str) {
let mut handle: Box<dyn Write> = if self.print_to_stderr {
Box::new(&mut self.stderr)
} else {
Box::new(&mut self.stdout)
};
writeln!(handle, "[{}]: {}", self.prefix, msg).ok();
}
}
type Result<T> = std::result::Result<T, LucidError>;
fn duration_as_str(duration: &time::Duration) -> String {
format!("{}.{:03}s", duration.as_secs(), duration.subsec_millis())
}
fn duration_from_float(duration_sec: f64) -> Result<time::Duration> {
if duration_sec < 0.0 {
return Err(LucidError::DurationNegative);
}
let secs = duration_sec.floor() as u64;
let millisecs = ((duration_sec - secs as f64) * 1e3).round() as u64;
Ok(time::Duration::from_millis(secs * 1000 + millisecs))
}
fn run() -> Result<ExitCode> {
let app = App::new(crate_name!())
.setting(AppSettings::ColorAuto)
.setting(AppSettings::ColoredHelp)
.setting(AppSettings::DeriveDisplayOrder)
.setting(AppSettings::UnifiedHelpMessage)
.version(crate_version!())
.arg(Arg::with_name("duration").help(
"Sleep time in seconds. If no duration is given, \
the process will sleep forever.",
))
.arg(
Arg::with_name("ignored")
.help("Additional arguments are ignored")
.hidden(true)
.multiple(true),
)
.arg(
Arg::with_name("exit-code")
.long("exit-code")
.short("c")
.takes_value(true)
.value_name("CODE")
.allow_hyphen_values(true)
.default_value("0")
.help("Terminate with the given exit code"),
)
.arg(
Arg::with_name("daemon")
.long("daemon")
.short("d")
.help("Daemonize the process after launching"),
)
.arg(
Arg::with_name("no-interrupt")
.long("no-interrupt")
.short("I")
.help("Do not terminate when receiving SIGINT/SIGTERM signals"),
)
.arg(
Arg::with_name("prefix")
.long("prefix")
.short("p")
.takes_value(true)
.value_name("PREFIX")
.default_value("lucid")
.help("Prefix all messages with the given string"),
)
.arg(
Arg::with_name("verbose")
.long("verbose")
.short("v")
.help("Be noisy"),
)
.arg(
Arg::with_name("quiet")
.long("quiet")
.short("q")
.conflicts_with("verbose")
.help("Do not output anything"),
)
.arg(
Arg::with_name("stderr")
.long("stderr")
.short("e")
.help("Print all messages to stderr"),
);
let matches = app.get_matches();
let sleeping_duration = match matches.value_of("duration") {
None => None,
Some(duration) => Some(
duration
.parse::<f64>()
.map_err(|_| LucidError::DurationParseError)
.and_then(duration_from_float)?,
),
};
let verbosity_level = if matches.is_present("verbose") {
VerbosityLevel::Verbose
} else if matches.is_present("quiet") {
VerbosityLevel::Quiet
} else {
VerbosityLevel::Normal
};
let no_interrupt = matches.is_present("no-interrupt");
let prefix = matches.value_of("prefix").unwrap_or("lucid");
let exit_code = matches
.value_of("exit-code")
.and_then(|c| c.parse::<i32>().ok())
.unwrap_or(0i32);
let stdout = io::stdout();
let stderr = io::stderr();
let mut output = OutputHandler::new(
stdout.lock(),
stderr.lock(),
prefix,
verbosity_level,
matches.is_present("stderr"),
);
if matches.is_present("daemon") {
output.print_verbose("Daemonizing..");
unistd::daemon(true, true).map_err(|_| LucidError::FailedToDaemonize)?;
}
// Print status information
output.print_verbose(&format!(
"getcwd() = {}",
unistd::getcwd()
.map(|p| p.to_string_lossy().into_owned())
.map(|s| format!("\"{}\"", s))
.unwrap_or_else(|_| "<error: could not read current working directory>".into())
));
output.print_verbose(&format!("getpid() = {}", unistd::getpid()));
match sleeping_duration {
None => {
output.print(&("Going to sleep forever").to_string());
}
Some(sleeping_duration) => {
output.print(&format!(
"Going to sleep for {}",
duration_as_str(&sleeping_duration)
));
}
}
let start_time = time::Instant::now();
// Set up signal handler
let running = Arc::new(AtomicBool::new(true));
let r = running.clone();
ctrlc::set_handler(move || {
r.store(false, Ordering::SeqCst);
})
.expect("Error while setting up signal handler.");
// Main loop
let cycle_time = time::Duration::from_millis(100);
loop {
let since_start = start_time.elapsed();
if !running.load(Ordering::SeqCst) {
if no_interrupt {
output.print("Ignoring termination signal.");
running.store(true, Ordering::SeqCst);
} else {
output.print("Caught termination signal - interrupting sleep.");
break;
}
}
if let Some(sleeping_duration) = sleeping_duration {
if since_start >= sleeping_duration {
break;
}
if since_start + cycle_time > sleeping_duration {
if sleeping_duration > since_start {
thread::sleep(sleeping_duration - since_start);
} else {
break;
}
} else {
thread::sleep(cycle_time);
}
} else {
thread::sleep(cycle_time);
}
output.print_verbose(&format!(
"Still dreaming after {}",
duration_as_str(&since_start)
));
}
output.print(&format!(
"Woke up after {}",
duration_as_str(&start_time.elapsed())
));
Ok(exit_code)
}
fn main() {
let result = run();
match result {
Err(err) => {
eprintln!("Error: {}", err.message());
std::process::exit(1);
}
Ok(exit_code) => {
std::process::exit(exit_code);
}
}
}
#[test]
fn test_duration_from_float() {
assert_eq!(Ok(time::Duration::from_secs(14)), duration_from_float(14.0));
assert_eq!(
Ok(time::Duration::from_secs(14)),
duration_from_float(14.0001)
);
assert_eq!(Ok(time::Duration::from_secs(0)), duration_from_float(0.0));
assert_eq!(
Ok(time::Duration::from_millis(12345)),
duration_from_float(12.345)
);
assert_eq!(
Ok(time::Duration::from_millis(12345)),
duration_from_float(12.3454)
);
assert_eq!(
Ok(time::Duration::from_millis(12346)),
duration_from_float(12.3456)
);
assert_eq!(
Ok(time::Duration::from_millis(1)),
duration_from_float(0.001)
);
assert_eq!(
Ok(time::Duration::from_millis(1100)),
duration_from_float(1.1)
);
assert_eq!(Err(LucidError::DurationNegative), duration_from_float(-1.2));
}
#[test]
fn test_verbosity_level() {
assert!(VerbosityLevel::Normal > VerbosityLevel::Quiet);
assert!(VerbosityLevel::Verbose > VerbosityLevel::Normal);
assert!(VerbosityLevel::Verbose > VerbosityLevel::Quiet);
}
| 27.732955 | 92 | 0.540668 |
f308fde29bfb881be150936b911108d8b8608955 | 1,235 | lua | Lua | source/modular_ships/build_research/backup/scripts/races/hiigaran/build/singleplayer_builds.lua | mjhorvath/Homeworld-Classic-Enhanced-for-HWRM | a749cee0a1dc7bc7223fb79920de5556ba9051e1 | [
"CC-BY-4.0"
] | null | null | null | source/modular_ships/build_research/backup/scripts/races/hiigaran/build/singleplayer_builds.lua | mjhorvath/Homeworld-Classic-Enhanced-for-HWRM | a749cee0a1dc7bc7223fb79920de5556ba9051e1 | [
"CC-BY-4.0"
] | null | null | null | source/modular_ships/build_research/backup/scripts/races/hiigaran/build/singleplayer_builds.lua | mjhorvath/Homeworld-Classic-Enhanced-for-HWRM | a749cee0a1dc7bc7223fb79920de5556ba9051e1 | [
"CC-BY-4.0"
] | null | null | null | base_build = nil
base_build =
{
{
Type = SubSystem,
ThingToBuild = "Hgn_MS_Production_CorvetteMover",
RequiredResearch = "",
RequiredShipSubSystems = "CorvetteProduction",
DisplayPriority = 80,
DisplayedName = "$7910",
Description = "$7911"
},
}
local temp_bld_1 =
{
Type = Ship,
ThingToBuild = "Kpr_Mover",
RequiredResearch = "",
RequiredShipSubSystems = "",
DisplayPriority = 53,
DisplayedName = "$7913",
Description = "$7914"
}
local temp_bld_2 =
{
Type = Ship,
ThingToBuild = "Hgn_Shipyard_Elohim",
RequiredResearch = "",
RequiredShipSubSystems = "Hyperspace",
DisplayPriority = 117,
DisplayedName = "$7058",
Description = "$7059"
}
local temp_bld_3 =
{
Type = Ship,
ThingToBuild = "Hgn_Shipyard_SPG",
RequiredResearch = "",
RequiredShipSubSystems = "Hyperspace",
DisplayPriority = 117,
DisplayedName = "$7058",
Description = "$7059"
}
local temp_params = {"hyp"}
MultiBuild(temp_bld_1, temp_params)
local temp_params = {"car","rch","res","hyp"}
MultiBuild(temp_bld_2, temp_params)
MultiBuild(temp_bld_3, temp_params)
for i, e in base_build do
build[bld_index] = e
bld_index = bld_index + 1
end
base_build = nil
| 20.583333 | 55 | 0.668016 |
ce71260dadd467151f144eee487dc5a01ef98b73 | 5,569 | lua | Lua | BGAnimations/ScreenStageInformation in/2.lua | RhythmLunatic/DDR-2014-Inori | 15f548a4c449df3dfd400cd1ac6dc25e7e55195c | [
"MIT"
] | 1 | 2019-02-23T01:34:19.000Z | 2019-02-23T01:34:19.000Z | BGAnimations/ScreenStageInformation in/2.lua | RhythmLunatic/DDR-2014-Inori | 15f548a4c449df3dfd400cd1ac6dc25e7e55195c | [
"MIT"
] | 2 | 2020-07-11T04:32:15.000Z | 2020-07-11T04:53:26.000Z | BGAnimations/ScreenStageInformation in/2.lua | RhythmLunatic/DDR-2014-Inori | 15f548a4c449df3dfd400cd1ac6dc25e7e55195c | [
"MIT"
] | null | null | null | local t = Def.ActorFrame {};
local st = GAMESTATE:GetCurrentStyle():GetStepsType();
-- Door
t[#t+1] = Def.ActorFrame {
InitCommand=function(self)
self:y(SCREEN_CENTER_Y);
if GAMESTATE:IsExtraStage() then
self:diffuse(color("#ff5aec"));
elseif GAMESTATE:IsExtraStage2() then
self:diffuse(color("#ff5a63"));
end;
end;
--- Load Background Doors Song Frame ---
LoadActor("../StageinBG.png")..{
InitCommand=cmd(zoomx,1.1;diffusealpha,0;x,SCREEN_CENTER_X;y,0);
OnCommand=cmd(sleep,1;linear,0.5;diffusealpha,1;sleep,3.5);
};
---- DOOR OPEN > CLOSE CLOSE > OPEN
LoadActor("../2013Door01.png")..{
InitCommand=cmd(zoomx,1.1;x,SCREEN_CENTER_X;y,-360;);
OnCommand=cmd(linear,0.25;y,0;sleep,1.80;linear,0.45;y,-360);
};
LoadActor("../2013Door02.png")..{
InitCommand=cmd(zoomx,1.1;x,SCREEN_CENTER_X;y,360;);
OnCommand=cmd(linear,0.25;y,0;sleep,1.80;linear,0.45;y,360);
};
-- Door sound
LoadActor(THEME:GetPathS( "", "_Door" ) ) .. {
StartTransitioningCommand=function(self)
self:play();
end;
};
--- DDR2013 LOGO apparition > disparition ---
LoadActor("../DDR_logo_Doors.png")..{
InitCommand=cmd(x,SCREEN_CENTER_X;y,0);
OnCommand=cmd(diffusealpha,0;sleep,0.25;linear,0.25;diffusealpha,1;sleep,1.50;linear,0.25;diffusealpha,0);
};
--- Flash SONG BANNER sound------
LoadActor("SoundStage") .. {
};
--- Flash SONG BANNER
LoadActor("../flashsongbanner.png")..{
InitCommand=cmd(x,SCREEN_CENTER_X;y,0;diffusealpha,0);
OnCommand=cmd(zoom,0.3;sleep,2.5;diffusealpha,0.5;linear,0.45;zoom,5;diffusealpha,0);
};
};
-- CDImage
t[#t+1] = Def.Sprite{
InitCommand=function(self)
local song=GAMESTATE:GetCurrentSong();
if not GAMESTATE:IsCourseMode() and song:HasCDImage() then
self:LoadBackground(song:GetCDImagePath());
else
-- From waiei by A.c
local trail = GAMESTATE:GetCurrentTrail(GAMESTATE:GetMasterPlayerNumber())
local e = trail:GetTrailEntries()
if #e > 0 then
song = e[1]:GetSong()
end;
self:LoadBackground(song:GetCDImagePath());
end;
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y+80);
self:zoom_to_banner();
end;
OnCommand=function(self)
self:addy(-SCREEN_HEIGHT);
self:linear(0.25);
self:addy(SCREEN_HEIGHT);
end;
};
t[#t+1] = Def.Banner{
InitCommand=function(self)
local song = GAMESTATE:GetCurrentSong();
if not GAMESTATE:IsCourseMode() and song:HasCDImage() then
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y);
self:LoadBackground(GetJacketBanner(song));
elseif not GAMESTATE:IsCourseMode() then
self:LoadBackground(GetJacketBanner(song));
------------- position SQUARE BANNER -------
if self:GetWidth() == self:GetHeight() then
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y-15);
else
------------ POSITION ONG RECTANGLE BANNER-----
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y-150);
end;
else
-- From waiei by A.c
local trail = GAMESTATE:GetCurrentTrail(GAMESTATE:GetMasterPlayerNumber())
local e = trail:GetTrailEntries()
if #e > 0 then
song = e[1]:GetSong()
end;
self:LoadBackground(GetJacketBanner(song));
if song:HasCDImage() then
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y);
else
--------------- position of square banner
if self:GetWidth() == self:GetHeight() then
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y-30);
---------------------------------------
else
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y-100);
end;
end;
end;
-- self:scale_to_clip_banner();
self:diffuse(color("#000000"));
self:diffusealpha(0);
self:banner_scale_stage_line();
end;
OnCommand=function(self)
self:zoom(5);
self:sleep(1.90);
self:linear(0.25);
self:diffusealpha(1);
self:zoom(0.75);
self:linear(0.1);
self:banner_scale_stage_line();
end;
};
t[#t+1] = Def.Banner{
InitCommand=function(self)
local song = GAMESTATE:GetCurrentSong();
if not GAMESTATE:IsCourseMode() and song:HasCDImage() then
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y);
self:LoadBackground(GetJacketBanner(song));
elseif not GAMESTATE:IsCourseMode() then
self:LoadBackground(GetJacketBanner(song));
------------- position SQUARE BANNER -------
if self:GetWidth() == self:GetHeight() then
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y-15);
else
------------ POSITION ONG RECTANGLE BANNER-----
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y-150);
end;
else
-- From waiei by A.c
local trail = GAMESTATE:GetCurrentTrail(GAMESTATE:GetMasterPlayerNumber())
local e = trail:GetTrailEntries()
if #e > 0 then
song = e[1]:GetSong()
end;
self:LoadBackground(GetJacketBanner(song));
if song:HasCDImage() then
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y);
else
if self:GetWidth() == self:GetHeight() then
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y-30);
---------------------------------------
else
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y-100);
end;
end;
end;
self:diffusealpha(0);
self:banner_scale_stage();
end;
OnCommand=function(self)
self:zoom(5);
self:sleep(1.90);
self:linear(0.25);
self:diffusealpha(1);
self:zoom(0.75);
self:linear(0.1);
self:banner_scale_stage();
end;
};
t[#t+1] = LoadActor("StageDisplay") .. {
};
return t | 29.62234 | 109 | 0.638176 |
14100aee0afed2d911a1788ffa27339299a2394a | 67 | ps1 | PowerShell | src/AddMigration.ps1 | marcelokrol/efcore-multi-tenant | aa840f1f946a38cd331c9e6fe9bb553606eb01d6 | [
"MIT"
] | null | null | null | src/AddMigration.ps1 | marcelokrol/efcore-multi-tenant | aa840f1f946a38cd331c9e6fe9bb553606eb01d6 | [
"MIT"
] | null | null | null | src/AddMigration.ps1 | marcelokrol/efcore-multi-tenant | aa840f1f946a38cd331c9e6fe9bb553606eb01d6 | [
"MIT"
] | null | null | null | add-migration $args[0] -o Migrations\tenant -c CustomerDataContext | 67 | 67 | 0.80597 |
9347c536919d2046e75312411af7e0ef1ed808f8 | 1,111 | rs | Rust | agent/src/system_info.rs | Veids/spray-and-pray | 65e52570a3a3706c6d74c496e3f08fa8e2d25ca5 | [
"Apache-2.0"
] | 1 | 2022-02-07T11:31:43.000Z | 2022-02-07T11:31:43.000Z | agent/src/system_info.rs | Veids/spray-and-pray | 65e52570a3a3706c6d74c496e3f08fa8e2d25ca5 | [
"Apache-2.0"
] | null | null | null | agent/src/system_info.rs | Veids/spray-and-pray | 65e52570a3a3706c6d74c496e3f08fa8e2d25ca5 | [
"Apache-2.0"
] | null | null | null | use std::sync::{Arc, Mutex};
use sysinfo::{RefreshKind, System, SystemExt};
use tonic::{Request, Response, Status};
use crate::protos::agent::system_info_server::SystemInfo;
use crate::protos::agent::{Empty, SysInfo};
pub mod agent {
tonic::include_proto!("agent");
}
#[derive(Debug)]
pub struct SystemInfoHandler {
sys: Arc<Mutex<System>>,
}
impl SystemInfoHandler {
pub fn new() -> SystemInfoHandler {
SystemInfoHandler {
sys: Arc::new(Mutex::new(System::new_with_specifics(
RefreshKind::new().with_memory(),
))),
}
}
}
#[tonic::async_trait]
impl SystemInfo for SystemInfoHandler {
async fn get(&self, _request: Request<Empty>) -> Result<Response<SysInfo>, Status> {
let sys = self.sys.clone();
let mut sys = sys.lock().unwrap();
sys.refresh_memory();
// There will be probably an overflow on 128 bit targets
let reply = SysInfo {
cpus: sys.physical_core_count().unwrap_or(0) as u64,
ram: sys.total_memory(),
};
Ok(Response::new(reply))
}
}
| 25.25 | 88 | 0.613861 |
3070892253f0615bc59508db3cfa02a5b6b66b5e | 616 | dart | Dart | dribbbledanimation/lib/Components/SignUpLink.dart | ha4g16/Login | 10710c0cc72adec010fbe883d5f26c32ea34fea2 | [
"Apache-2.0"
] | 2 | 2020-01-22T10:52:33.000Z | 2021-01-19T15:49:37.000Z | dribbbledanimation/lib/Components/SignUpLink.dart | mohamedHassanKa/flutter-login-home-animation | c5c734c4c7e6259732711459c0c1e3135c353aa0 | [
"Apache-2.0"
] | null | null | null | dribbbledanimation/lib/Components/SignUpLink.dart | mohamedHassanKa/flutter-login-home-animation | c5c734c4c7e6259732711459c0c1e3135c353aa0 | [
"Apache-2.0"
] | 1 | 2019-08-30T23:20:10.000Z | 2019-08-30T23:20:10.000Z | import 'package:flutter/material.dart';
class SignUp extends StatelessWidget {
SignUp();
@override
Widget build(BuildContext context) {
return (new FlatButton(
padding: const EdgeInsets.only(
top: 160.0,
),
onPressed: null,
child: new Text(
"Don't have an account? Sign Up",
textAlign: TextAlign.center,
overflow: TextOverflow.ellipsis,
softWrap: true,
style: new TextStyle(
fontWeight: FontWeight.w300,
letterSpacing: 0.5,
color: Colors.white,
fontSize: 12.0),
),
));
}
}
| 23.692308 | 41 | 0.577922 |
fe23f5dfbac2cfb42d0c154776d330215aa74afe | 1,326 | cpp | C++ | C++/Algoritm/Search/missingNumber.cpp | nielchevo/HackerRank | 8a1eb45cc6621ec259ac12e9318164073991871e | [
"MIT"
] | null | null | null | C++/Algoritm/Search/missingNumber.cpp | nielchevo/HackerRank | 8a1eb45cc6621ec259ac12e9318164073991871e | [
"MIT"
] | 2 | 2020-07-17T14:59:43.000Z | 2021-05-11T02:25:10.000Z | C++/Algoritm/Search/missingNumber.cpp | nielchevo/HackerRank | 8a1eb45cc6621ec259ac12e9318164073991871e | [
"MIT"
] | null | null | null | #include<string.h>
#include<iostream>
#include<vector>
using namespace std;
static int diffMax = 100;
// for sake of learning, im not using std max lib :(
int getMax(vector<int> arr)
{
int max = 0;
for(int i = 0; i < arr.size(); i++)
{
if(max < arr[i])
max = arr[i];
}
return max;
}
vector<int> countDuplicate(vector<int> arr)
{
vector<int> temp;
temp.assign(200000, 0);
for(int i=0; i< arr.size(); i++)
{
int index = arr[i];
temp[index] += 1;
}
return temp;
}
vector<int> missingNumbers(vector<int> arr, vector<int> brr) {
vector<int> temp;
vector<int> result1 = countDuplicate(arr);
vector<int> result2 = countDuplicate(brr);
int max = getMax(brr);
for(int i=max-100; i<= max; i++){
if((result1[i] ^ result2[i]) != 0) // filter duplicate
{
temp.push_back(i);
}
}
return temp;
}
int main()
{
int n = 10;
vector<int> n1 = {203, 204, 205, 206, 207, 208, 203, 204, 205, 206};
int z = 13;
vector<int> z2 = {203, 204, 204, 205, 206, 207, 205, 208, 203, 206, 205, 206, 204};
vector<int> result = missingNumbers(n1, z2);
for (int i = 0; i < result.size(); i++)
{
cout << result[i] << ' ';
}
return 0;
} | 19.217391 | 87 | 0.524887 |
d7652bc8c7a778df2f0f79e85f408cdef159c341 | 124 | dart | Dart | packages/lou_bank_ui/lib/src/lou_bank_ui.dart | kamskr/lou_bank | 2e806d4cae2861b13d345b97987b921f7032bfd2 | [
"MIT"
] | null | null | null | packages/lou_bank_ui/lib/src/lou_bank_ui.dart | kamskr/lou_bank | 2e806d4cae2861b13d345b97987b921f7032bfd2 | [
"MIT"
] | null | null | null | packages/lou_bank_ui/lib/src/lou_bank_ui.dart | kamskr/lou_bank | 2e806d4cae2861b13d345b97987b921f7032bfd2 | [
"MIT"
] | null | null | null | export 'colors/colors.dart';
export 'theme/theme.dart';
export 'typography/typography.dart';
export 'widgets/widgets.dart';
| 24.8 | 36 | 0.774194 |
0544d2ff43dc6ff2b7019a764feda5f836d83599 | 565 | rb | Ruby | lifestruct/app/helpers/goals_helper.rb | RC-Jay/LifeStruct | bca3a334ff3982454fd44c28ed881560cab3c758 | [
"MIT"
] | null | null | null | lifestruct/app/helpers/goals_helper.rb | RC-Jay/LifeStruct | bca3a334ff3982454fd44c28ed881560cab3c758 | [
"MIT"
] | null | null | null | lifestruct/app/helpers/goals_helper.rb | RC-Jay/LifeStruct | bca3a334ff3982454fd44c28ed881560cab3c758 | [
"MIT"
] | null | null | null | module GoalsHelper
def format_datetime(datetime)
datetime.strftime("%b %e, %a, %l:%M %p")
end
def decode_rep_code(rep_code)
decoded_str = ""
rep_code_len = rep_code.to_s.length
index = 0
rep_code.to_s.each_char do |char|
index += 1
if index == rep_code_len
decoded_str = decoded_str + "and " + Goal.DAY_MAP[char.to_i] + "."
else
decoded_str = decoded_str + Goal.DAY_MAP[char.to_i] + ", "
end
end
decoded_str = (Goal.DAY_MAP[rep_code] + ".") if rep_code_len == 1
decoded_str
end
end
| 24.565217 | 74 | 0.619469 |
83fd8f9ddb4d9f6623e82cd2c462d2807c9fb33a | 5,791 | java | Java | p4java/r18-1/src/main/java/com/perforce/p4java/impl/mapbased/rpc/func/client/ClientIgnoreChecker.java | groboclown/p4ic4idea | 1e7581a409d0e0f29ae450b48c6e2fa1940c9a38 | [
"Apache-2.0"
] | 35 | 2015-02-24T14:54:37.000Z | 2020-03-11T10:37:31.000Z | p4java/r14-1/src/main/java/com/perforce/p4java/impl/mapbased/rpc/func/client/ClientIgnoreChecker.java | groboclown/p4ic4idea | 1e7581a409d0e0f29ae450b48c6e2fa1940c9a38 | [
"Apache-2.0"
] | 229 | 2015-02-11T04:01:41.000Z | 2022-03-22T19:49:14.000Z | p4java/r18-1/src/main/java/com/perforce/p4java/impl/mapbased/rpc/func/client/ClientIgnoreChecker.java | groboclown/p4ic4idea | 1e7581a409d0e0f29ae450b48c6e2fa1940c9a38 | [
"Apache-2.0"
] | 14 | 2015-09-30T15:17:04.000Z | 2020-01-20T07:07:58.000Z | /*
* Copyright 2012 Perforce Software Inc., All Rights Reserved.
*/
package com.perforce.p4java.impl.mapbased.rpc.func.client;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Collections;
/**
* Handle the checking of patterns in ignore files.
*/
public class ClientIgnoreChecker {
/** The client root. */
private String clientRoot = null;
/** The ignore file name. */
private String ignoreFileName = null;
/** The charset. */
private Charset charset = null;
/**
* Instantiates a new ignore file checker.
*
* @param clientRoot
* the client root
* @param ignoreFileName
* the ignore file name
* @param charset
* the charset
*/
public ClientIgnoreChecker(String clientRoot, String ignoreFileName, Charset charset) {
if (clientRoot == null) {
throw new IllegalArgumentException(
"Null client root directory passed to IgnoreFileChecker constructor.");
}
if (ignoreFileName == null) {
throw new IllegalArgumentException(
"Null ignore file passed to IgnoreFileChecker constructor.");
}
if (charset == null) {
throw new IllegalArgumentException(
"Null charset passed to IgnoreFileChecker constructor.");
}
this.clientRoot = clientRoot;
this.ignoreFileName = ignoreFileName;
this.charset = charset;
}
/**
* Check for an ignore match of the file.
*
* @param file
* the file
* @return true, if successful
* @throws FileNotFoundException
* the file not found exception
* @throws IOException
* Signals that an I/O exception has occurred.
*/
public boolean match(File file) throws FileNotFoundException, IOException {
if (file != null) {
if (checkIgnoreFiles(file)) {
return true;
}
}
return false;
}
/**
* Check all ignore files up to the client root directory.
*
* @param file
* the file
* @return true, if successful
* @throws IOException
* Signals that an I/O exception has occurred.
*/
private boolean checkIgnoreFiles(File file) throws IOException {
if (file != null) {
// Signal for inverse match
Negate negate = this.new Negate();
File clientRootDir = new File(clientRoot);
File fileDir = file;
do {
fileDir = fileDir.getParentFile();
if (fileDir != null) {
File ignoreFile = new File(fileDir, ignoreFileName);
if (ignoreFile.exists()) {
if (checkIgnoreFile(ignoreFile, fileDir, file, negate)) {
// Inverse match
if (negate.isMatch()) {
return false;
}
return true;
}
}
}
} while (fileDir != null && !fileDir.getAbsoluteFile().equals(clientRootDir));
}
return false;
}
/**
* Inversely loop through patterns in an ignore file and check for a match.
*
* @param ignoreFile
* the ignore file
* @param currentDir
* the current directory
* @param file
* the file
* @param negate
* the negate
* @return true, if successful
* @throws IOException
* Signals that an I/O exception has occurred.
*/
private boolean checkIgnoreFile(File ignoreFile, File currentDir, File file, Negate negate)
throws IOException {
BufferedReader br = null;
try {
br = new BufferedReader(new InputStreamReader(new FileInputStream(
ignoreFile), this.charset));
ArrayList<String> list = new ArrayList<String>();
String line;
while ((line = br.readLine()) != null) {
list.add(line);
}
// Reverse the lines
Collections.reverse(list);
for (String entry : list) {
if (checkIgnorePattern(entry, currentDir, file, negate)) {
return true;
}
}
} finally {
if (br != null) {
br.close();
}
}
return false;
}
/**
* Check for a pattern match.
*
* @param pattern
* the pattern
* @param currentDir
* the current directory
* @param file
* the file
* @param negate
* the negate
* @return true, if successful
*/
private boolean checkIgnorePattern(String pattern, File currentDir, File file, Negate negate) {
boolean wildcard = false;
boolean negation = false;
if (file == null) {
return false;
}
if (pattern == null) {
return false;
}
pattern = pattern.trim();
if (pattern.startsWith("#")) {
return false;
}
// Check for negation
if (pattern.startsWith("!")) {
negation = true;
pattern = pattern.substring(1);
}
if (pattern.length() == 0) {
return false;
}
// Check for wildcard
if (pattern.contains("*")) {
wildcard = true;
}
// Match file name only
String path = file.getName();
// Match file name or path
if (!wildcard) {
path = file.getAbsolutePath().substring(currentDir.getAbsolutePath().length());
path += File.separator;
pattern = "*" + File.separator + pattern;
pattern += File.separator + "*";
}
// Escape '\', '.' and '*'
pattern = pattern.replace("\\", "\\\\").replace(".", "\\.").replace("*", ".*");
// Match pattern
if (path.matches(pattern)) {
if (negation) {
negate.setMatch(true);
}
return true;
}
return false;
}
/**
* Signal for negate pattern.
*/
private class Negate {
/** The match. */
private boolean match = false;
/**
* Checks if is match.
*
* @return true, if is match
*/
public boolean isMatch() {
return match;
}
/**
* Sets the match.
*
* @param match
* the new match
*/
public void setMatch(boolean match) {
this.match = match;
}
}
} | 22.359073 | 96 | 0.622863 |
96ff6e79163ff5666420eee34ce66da1f127183a | 9,944 | cxx | C++ | Applications/MergeStatWithFiber/processing.cxx | jeanyves-yang/DTIFiberTractStatistics | c5d15a2a0b012457d856cc5662605487e18b518a | [
"Apache-2.0"
] | 2 | 2019-11-09T05:23:31.000Z | 2020-09-17T08:04:19.000Z | Applications/MergeStatWithFiber/processing.cxx | jeanyves-yang/DTIFiberTractStatistics | c5d15a2a0b012457d856cc5662605487e18b518a | [
"Apache-2.0"
] | 10 | 2016-02-16T14:35:54.000Z | 2021-01-06T22:59:09.000Z | Applications/MergeStatWithFiber/processing.cxx | jeanyves-yang/DTIFiberTractStatistics | c5d15a2a0b012457d856cc5662605487e18b518a | [
"Apache-2.0"
] | 6 | 2015-09-11T16:05:24.000Z | 2017-08-24T02:53:24.000Z | #include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
#include "processing.h"
Processing::Processing()
{
}
Processing::~Processing()
{
}
bool Processing::IsFloat(std::string Str)
{
std::istringstream iss( Str );
float temp;
return (iss >> temp) && (iss.eof());
}
/**********************************************************************************
*ReadDataFromCSV: Look on the CSV file, read the data and put it in m_DataTable
***********************************************************************************/
int Processing::ReadDataFromCSV(std::string Filename)
{
bool TransposeCol;
std::ifstream File(Filename.c_str(), std::ios::in);
v2string TempTable;
vstring Line;
std::string Buffer;
std::cout<<"Reading CSV data ... "<< Filename << std::endl;
//Reading data
getline(File,Buffer,'\n');
while(!File.eof())
{
//std::cout<< Buffer << std::endl;
Line=StringToVector(Buffer);
TempTable.push_back(Line);
getline(File, Buffer,'\n');
}
std::cout<<"Reading done: "<< TempTable.size() << "x" << TempTable[0].size() << std::endl;
//std::cout<<"more:" << TempTable[0][0] << "," << TempTable[0][1] << std::endl;
//Check if the table is written by column or by row.
if(!IsFloat(TempTable[0][1].c_str()))
{
TransposeCol=true;
std::cout << "transposing needed" << std::endl;
}
else if(!IsFloat(TempTable[1][0].c_str()))
{
TransposeCol=false;
}
else
{
std::cout<<"Error finding to transpose csv table or not."<<std::endl;
return 1 ;
}
//Checking if data were read correctly
if(TempTable.size()==0)
{
std::cout<<"Error reading the CSV file. No data were obtained."<<std::endl;
return 1 ;
}
else if(TempTable[0].size()==0)
{
std::cout<<"Error reading the CSV file. No data were obtained."<<std::endl;
return 1 ;
}
m_DataTable.clear();
//Saving data on m_DataTable
if(TransposeCol)
{
//Transposing tables.
for(unsigned int i=0; i<TempTable[0].size(); i++)
{
Line=GetColumn(TempTable, i);
m_DataTable.push_back(Line);
}
}
else
{
m_DataTable=TempTable ;
}
// m_DataTable[0][0] => arclength title, m_DataTable[0][1] << first arclength value etc
std::string columnName = m_DataTable[0][0] ;
std::transform(columnName.begin(), columnName.end(), columnName.begin(), ::tolower);
if( columnName == "index" || columnName == "id" )
{
m_Index = true ;
}
else
{
m_Index = false ;
}
if( columnName == "arclength" )
{
m_Arclength = true ;
}
else
{
m_Arclength = false ;
}
std::cout<<"CSV File read successfuly. Index? "<< m_Index << ", Arclength? " << m_Arclength << std::endl;
return 0 ;
}
/**********************************************************************************
*StringToVector: Convert a string to an std::vector<std::string>
***********************************************************************************/
vstring Processing::StringToVector(std::string line)
{
vstring column;
//Iterator on the string line
std::string::iterator it;
std::string word;
it = line.begin();
//add each word or number between two "," in the vector
while(it != line.end())
{
//if the line is at the last word, set the iterator at the end of the string
if(line.find_first_of(",")!=std::string::npos)
{
word = line.substr(0, line.find_first_of(","));
column.push_back(word);
it = line.begin();
//erase the first word in the line
line = line.substr(line.find_first_of(",")+1,line.size()-line.find_first_of(",")+1);
}
else
{
column.push_back(line);
it = line.end();
}
}
return column;
}
/**********************************************************************************
*GetColumn: Extract a column from a data table.
***********************************************************************************/
vstring Processing::GetColumn(v2string data, int column)
{
vstring line;
for(unsigned int i=0; i<data.size(); i++)
line.push_back(data[i][column]);
return line;
}
/**********************************************************************************
*ReadDataFromVTK: Look on the VTK file, read the data and put it in m_PolyData
***********************************************************************************/
void Processing::ReadDataFromVTK(std::string Filename)
{
std::cout<<"Reading VTK data..."<<std::endl;
vtkSmartPointer<vtkPolyDataReader> reader(vtkPolyDataReader::New());
reader->SetFileName(Filename.c_str());
if(reader->IsFilePolyData())
{
reader->Update();
m_PolyData=reader->GetOutput();
std::cout<<"VTK File read successfuly."<<std::endl;
}
else
std::cout<<"Error reading VTK File. Check VTK Format."<<std::endl;
}
double Processing::GetMinFromColumn(int Column)
{
double LocalMin=10000;
for(unsigned int i=1; i<m_DataTable[Column].size(); i++)
{
if(atof(m_DataTable[Column][i].c_str())<LocalMin)
LocalMin=atof(m_DataTable[Column][i].c_str());
}
return LocalMin;
}
double Processing::GetMaxFromColumn(int Column)
{
double LocalMax=-10000;
for(unsigned int i=0; i<m_DataTable[Column].size(); i++)
{
if(atof(m_DataTable[Column][i].c_str())>LocalMax)
LocalMax=atof(m_DataTable[Column][i].c_str());
}
return LocalMax;
}
/**********************************************************************************
*WritingDataInVTK: Complete the VTK file with data from CSV file
* Does NOT handle cropping of fibers at the moment, simply looks up fiber Index in vtkFiber
* and
***********************************************************************************/
void Processing::WritingDataInVTK(std::string output_vtk_file, double Min, double Max, double alpha , bool inverse_rescale_p_value )
{
int NbParameters=m_DataTable.size();
vtkCellArray* Lines=m_PolyData->GetLines();
vtkIdType NumberOfPoints;
vtkIdType* Ids;
vtkDataArray* Scalars;
if (m_Arclength)
Scalars=m_PolyData->GetPointData()->GetScalars("SamplingDistance2Origin");
else
Scalars=m_PolyData->GetPointData()->GetScalars("FiberLocationIndex");
if (Scalars == NULL)
{
std::cout << "Scalars with Name FiberLocationIndex/SamplingDistance2Origin not found, using first found scalar in vtk file" << std::endl;
Scalars=m_PolyData->GetPointData()->GetScalars();
} else {
std::cout << "Scalars with Name FiberLocationIndex/SamplingDistance2Origin found" << std::endl;
}
double* Bounds=new double[2];
if(Min==-1)
Min=0;
if(Max==-1)
Max=100;
for(int i=0; i<NbParameters; i++)
{
Bounds[0]=GetMinFromColumn(i);
Bounds[1]=GetMaxFromColumn(i);
vtkSmartPointer<vtkFloatArray> Parameter(vtkFloatArray::New());
vtkSmartPointer<vtkFloatArray> ParameterSlicer(vtkFloatArray::New());
// This line changes the dimension along which the data is written
// Without it, it writes along dimension 2 (eg: 1 70397)
// With it, it writes along dimension 1 (eg: 70397 1)
//Parameter->SetNumberOfComponents(m_PolyData->GetNumberOfPoints());
Lines->InitTraversal();
for(int FiberId=0; Lines->GetNextCell(NumberOfPoints,Ids); FiberId++)
{
for(int PointId=0; PointId<NumberOfPoints; PointId++)
{
float FiberIndex_f = Scalars->GetComponent(0,Ids[PointId]);
double Value;
int FiberIndex ;
if(m_Index)
{
FiberIndex=GetRealIndex((int)FiberIndex_f); // look up index
Value=atof(m_DataTable[i][FiberIndex].c_str());
}
else if (m_Arclength)
{
FiberIndex=ArclengthToIndex(FiberIndex_f); // look up index
Value=atof(m_DataTable[i][FiberIndex].c_str());
}
else
Value=atof(m_DataTable[i][(int)FiberIndex_f+2].c_str());
Parameter->InsertComponent(0,Ids[PointId],Value);
if (alpha == -1 || i == 0)
{
// linearly rescales from Min to Max
Value=(int)(((Value-Bounds[0])/(Bounds[1]-Bounds[0]))*(Max-Min)+Min) ;
}
else
{
if( inverse_rescale_p_value )
{
// linearly rescales 0..alpha from Max to Min
if (Value > alpha)
{
Value = Min;
}
else
{
Value=(int)(Value/alpha*(Min-Max)+Max);
}
}
{
// linearly rescales 0..alpha from Min to Max
if (Value > alpha)
{
Value = Max;
}
else
{
Value=(int)(Value/alpha*(Max-1-Min)+Min);//why is there a "-1"?
}
}
}
ParameterSlicer->InsertComponent(0,Ids[PointId],Value);
}
}
Parameter->SetName(m_DataTable[i][0].c_str());
m_PolyData->GetPointData()->AddArray(Parameter);
ParameterSlicer->SetName((m_DataTable[i][0]+"_Slicer").c_str());
m_PolyData->GetPointData()->AddArray(ParameterSlicer);
}
vtkSmartPointer<vtkPolyDataWriter> writer(vtkPolyDataWriter::New());
writer->SetFileName(output_vtk_file.c_str());
#if (VTK_MAJOR_VERSION < 6)
writer->SetInput(m_PolyData);
#else
writer->SetInputData(m_PolyData);
#endif
writer->Update();
delete Bounds;
}
//Should probably replace by a dichotomic search or anything more efficient
//than looking through the whole list that is sorted
int Processing::ArclengthToIndex(float Index)
{
float min_dist = std::numeric_limits<float>::max() ;
size_t pos = 0 ;
float previous_value =-100000 ;
for(size_t i = 1 ; i < m_DataTable[ 0 ].size() ; i++ )
{
float csvValue = atof(m_DataTable[0][i].c_str()) ;
float dist = (csvValue -Index)*(csvValue -Index) ;
if( min_dist > dist )
{
min_dist = dist ;
pos = i ;
}
previous_value = csvValue ;
}
return pos ;
}
int Processing::GetRealIndex(int Index)
{
for(unsigned int i=1; i<m_DataTable[0].size(); i++)
{
if(atoi(m_DataTable[0][i].c_str())==Index)
return i;
}
return -1;
}
| 28.330484 | 145 | 0.581657 |
0e51773e75281384395fff7875b9a7d499b5f38c | 632 | sql | SQL | dbt-greenery/models/marts/core/fact_orders.sql | dfxvir/course-dbt-dfxvir | f06eadec398afd191ccd2f4aa107587d5a408ffe | [
"Apache-2.0"
] | null | null | null | dbt-greenery/models/marts/core/fact_orders.sql | dfxvir/course-dbt-dfxvir | f06eadec398afd191ccd2f4aa107587d5a408ffe | [
"Apache-2.0"
] | null | null | null | dbt-greenery/models/marts/core/fact_orders.sql | dfxvir/course-dbt-dfxvir | f06eadec398afd191ccd2f4aa107587d5a408ffe | [
"Apache-2.0"
] | null | null | null | {{
config(
materialized='table'
)
}}
select
a.order_id,
a.promo_id,
a.user_id,
a.address_id,
a.order_created_at,
a.order_cost,
a.discount,
a.shipping_cost,
a.order_total,
a.tracking_id,
a.shipping_service,
a.estimated_delivery_at,
a.delivered_at,
a.order_status,
b.product_id,
b.quantity as order_quantity,
c.name as product_name,
c.price as product_price,
c.quantity as product_quantity
from {{ source('mart_greenery', 'int_order_promos') }} a
INNER JOIN {{ source('stg_greenery', 'stg_order_items') }} b ON a.order_id = b.order_id
INNER JOIN {{ source('stg_greenery', 'stg_products') }} c ON b.product_id = c.product_id | 22.571429 | 90 | 0.753165 |
72fdb7cc761cab9bcb538a6b3179487ebc566515 | 33,552 | html | HTML | docs/api/java.naming/javax/naming/event/NamingEvent.html | diegoamato/Curso-Java-Basico | 543c4199518bda2203cf6f106d6ce3293d590df5 | [
"MIT"
] | null | null | null | docs/api/java.naming/javax/naming/event/NamingEvent.html | diegoamato/Curso-Java-Basico | 543c4199518bda2203cf6f106d6ce3293d590df5 | [
"MIT"
] | null | null | null | docs/api/java.naming/javax/naming/event/NamingEvent.html | diegoamato/Curso-Java-Basico | 543c4199518bda2203cf6f106d6ce3293d590df5 | [
"MIT"
] | null | null | null | <!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>NamingEvent (Java SE 11 & JDK 11 )</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="javax.naming.event.NamingEvent class">
<meta name="keywords" content="OBJECT_ADDED">
<meta name="keywords" content="OBJECT_REMOVED">
<meta name="keywords" content="OBJECT_RENAMED">
<meta name="keywords" content="OBJECT_CHANGED">
<meta name="keywords" content="changeInfo">
<meta name="keywords" content="type">
<meta name="keywords" content="oldBinding">
<meta name="keywords" content="newBinding">
<meta name="keywords" content="getType()">
<meta name="keywords" content="getEventContext()">
<meta name="keywords" content="getOldBinding()">
<meta name="keywords" content="getNewBinding()">
<meta name="keywords" content="getChangeInfo()">
<meta name="keywords" content="dispatch()">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="NamingEvent (Java SE 11 & JDK 11 )";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="../../../module-summary.html">Module</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/NamingEvent.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><div style="margin-top: 14px;"><strong>Java SE 11 & JDK 11</strong> </div></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field.summary">Field</a> | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field.detail">Field</a> | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding"> </div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="moduleLabelInType">Module</span> <a href="../../../module-summary.html">java.naming</a></div>
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">javax.naming.event</a></div>
<h2 title="Class NamingEvent" class="title">Class NamingEvent</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="../../../../java.base/java/lang/Object.html" title="class in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../java.base/java/util/EventObject.html" title="class in java.util">java.util.EventObject</a></li>
<li>
<ul class="inheritance">
<li>javax.naming.event.NamingEvent</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../../../../java.base/java/io/Serializable.html" title="interface in java.io">Serializable</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">NamingEvent</span>
extends <a href="../../../../java.base/java/util/EventObject.html" title="class in java.util">EventObject</a></pre>
<div class="block">This class represents an event fired by a naming/directory service.
<p>
The <code>NamingEvent</code>'s state consists of
<ul>
<li>The event source: the <code>EventContext</code> which fired this event.
<li>The event type.
<li>The new binding: information about the object after the change.
<li>The old binding: information about the object before the change.
<li>Change information: information about the change
that triggered this event; usually service provider-specific or server-specific
information.
</ul>
<p>
Note that the event source is always the same <code>EventContext</code>
<em>instance</em> that the listener has registered with.
Furthermore, the names of the bindings in
the <code>NamingEvent</code> are always relative to that instance.
For example, suppose a listener makes the following registration:
<blockquote><pre>
NamespaceChangeListener listener = ...;
src.addNamingListener("x", SUBTREE_SCOPE, listener);
</pre></blockquote>
When an object named "x/y" is subsequently deleted, the corresponding
<code>NamingEvent</code> (<code>evt</code>) must contain:
<blockquote><pre>
evt.getEventContext() == src
evt.getOldBinding().getName().equals("x/y")
</pre></blockquote>
Care must be taken when multiple threads are accessing the same
<code>EventContext</code> concurrently.
See the
<a href=package-summary.html#THREADING>package description</a>
for more information on threading issues.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.3</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="NamingListener.html" title="interface in javax.naming.event"><code>NamingListener</code></a>,
<a href="EventContext.html" title="interface in javax.naming.event"><code>EventContext</code></a>,
<a href="../../../../serialized-form.html#javax.naming.event.NamingEvent">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#changeInfo">changeInfo</a></span></code></th>
<td class="colLast">
<div class="block">Contains information about the change that generated this event.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../Binding.html" title="class in javax.naming">Binding</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newBinding">newBinding</a></span></code></th>
<td class="colLast">
<div class="block">Contains information about the object after the change.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OBJECT_ADDED">OBJECT_ADDED</a></span></code></th>
<td class="colLast">
<div class="block">Naming event type for indicating that a new object has been added.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OBJECT_CHANGED">OBJECT_CHANGED</a></span></code></th>
<td class="colLast">
<div class="block">Naming event type for indicating that an object has been changed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OBJECT_REMOVED">OBJECT_REMOVED</a></span></code></th>
<td class="colLast">
<div class="block">Naming event type for indicating that an object has been removed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OBJECT_RENAMED">OBJECT_RENAMED</a></span></code></th>
<td class="colLast">
<div class="block">Naming event type for indicating that an object has been renamed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../Binding.html" title="class in javax.naming">Binding</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#oldBinding">oldBinding</a></span></code></th>
<td class="colLast">
<div class="block">Contains information about the object before the change.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#type">type</a></span></code></th>
<td class="colLast">
<div class="block">Contains the type of this event.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.java.util.EventObject">
<!-- -->
</a>
<h3>Fields declared in class java.util.<a href="../../../../java.base/java/util/EventObject.html" title="class in java.util">EventObject</a></h3>
<code><a href="../../../../java.base/java/util/EventObject.html#source">source</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(javax.naming.event.EventContext,int,javax.naming.Binding,javax.naming.Binding,java.lang.Object)">NamingEvent</a></span>​(<a href="EventContext.html" title="interface in javax.naming.event">EventContext</a> source,
int type,
<a href="../Binding.html" title="class in javax.naming">Binding</a> newBd,
<a href="../Binding.html" title="class in javax.naming">Binding</a> oldBd,
<a href="../../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a> changeInfo)</code></th>
<td class="colLast">
<div class="block">Constructs an instance of <code>NamingEvent</code>.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dispatch(javax.naming.event.NamingListener)">dispatch</a></span>​(<a href="NamingListener.html" title="interface in javax.naming.event">NamingListener</a> listener)</code></th>
<td class="colLast">
<div class="block">Invokes the appropriate listener method on this event.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChangeInfo()">getChangeInfo</a></span>()</code></th>
<td class="colLast">
<div class="block">Retrieves the change information for this event.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="EventContext.html" title="interface in javax.naming.event">EventContext</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEventContext()">getEventContext</a></span>()</code></th>
<td class="colLast">
<div class="block">Retrieves the event source that fired this event.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../Binding.html" title="class in javax.naming">Binding</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNewBinding()">getNewBinding</a></span>()</code></th>
<td class="colLast">
<div class="block">Retrieves the binding of the object after the change.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../Binding.html" title="class in javax.naming">Binding</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOldBinding()">getOldBinding</a></span>()</code></th>
<td class="colLast">
<div class="block">Retrieves the binding of the object before the change.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getType()">getType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the type of this event.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.util.EventObject">
<!-- -->
</a>
<h3>Methods declared in class java.util.<a href="../../../../java.base/java/util/EventObject.html" title="class in java.util">EventObject</a></h3>
<code><a href="../../../../java.base/java/util/EventObject.html#getSource()">getSource</a>, <a href="../../../../java.base/java/util/EventObject.html#toString()">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods declared in class java.lang.<a href="../../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a></h3>
<code><a href="../../../../java.base/java/lang/Object.html#clone()">clone</a>, <a href="../../../../java.base/java/lang/Object.html#equals(java.lang.Object)">equals</a>, <a href="../../../../java.base/java/lang/Object.html#finalize()">finalize</a>, <a href="../../../../java.base/java/lang/Object.html#getClass()">getClass</a>, <a href="../../../../java.base/java/lang/Object.html#hashCode()">hashCode</a>, <a href="../../../../java.base/java/lang/Object.html#notify()">notify</a>, <a href="../../../../java.base/java/lang/Object.html#notifyAll()">notifyAll</a>, <a href="../../../../java.base/java/lang/Object.html#wait()">wait</a>, <a href="../../../../java.base/java/lang/Object.html#wait(long)">wait</a>, <a href="../../../../java.base/java/lang/Object.html#wait(long,int)">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="OBJECT_ADDED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OBJECT_ADDED</h4>
<pre>public static final int OBJECT_ADDED</pre>
<div class="block">Naming event type for indicating that a new object has been added.
The value of this constant is <code>0</code>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#javax.naming.event.NamingEvent.OBJECT_ADDED">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="OBJECT_REMOVED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OBJECT_REMOVED</h4>
<pre>public static final int OBJECT_REMOVED</pre>
<div class="block">Naming event type for indicating that an object has been removed.
The value of this constant is <code>1</code>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#javax.naming.event.NamingEvent.OBJECT_REMOVED">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="OBJECT_RENAMED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OBJECT_RENAMED</h4>
<pre>public static final int OBJECT_RENAMED</pre>
<div class="block">Naming event type for indicating that an object has been renamed.
Note that some services might fire multiple events for a single
logical rename operation. For example, the rename operation might
be implemented by adding a binding with the new name and removing
the old binding.
<p>
The old/new binding in <code>NamingEvent</code> may be null if the old
name or new name is outside of the scope for which the listener
has registered.
<p>
When an interior node in the namespace tree has been renamed, the
topmost node which is part of the listener's scope should used to generate
a rename event. The extent to which this can be supported is
provider-specific. For example, a service might generate rename
notifications for all descendants of the changed interior node and the
corresponding provider might not be able to prevent those
notifications from being propagated to the listeners.
<p>
The value of this constant is <code>2</code>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#javax.naming.event.NamingEvent.OBJECT_RENAMED">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="OBJECT_CHANGED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OBJECT_CHANGED</h4>
<pre>public static final int OBJECT_CHANGED</pre>
<div class="block">Naming event type for indicating that an object has been changed.
The changes might include the object's attributes, or the object itself.
Note that some services might fire multiple events for a single
modification. For example, the modification might
be implemented by first removing the old binding and adding
a new binding containing the same name but a different object.
<p>
The value of this constant is <code>3</code>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#javax.naming.event.NamingEvent.OBJECT_CHANGED">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="changeInfo">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>changeInfo</h4>
<pre>protected <a href="../../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a> changeInfo</pre>
<div class="block">Contains information about the change that generated this event.</div>
</li>
</ul>
<a id="type">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>type</h4>
<pre>protected int type</pre>
<div class="block">Contains the type of this event.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#OBJECT_ADDED"><code>OBJECT_ADDED</code></a>,
<a href="#OBJECT_REMOVED"><code>OBJECT_REMOVED</code></a>,
<a href="#OBJECT_RENAMED"><code>OBJECT_RENAMED</code></a>,
<a href="#OBJECT_CHANGED"><code>OBJECT_CHANGED</code></a></dd>
</dl>
</li>
</ul>
<a id="oldBinding">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>oldBinding</h4>
<pre>protected <a href="../Binding.html" title="class in javax.naming">Binding</a> oldBinding</pre>
<div class="block">Contains information about the object before the change.</div>
</li>
</ul>
<a id="newBinding">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>newBinding</h4>
<pre>protected <a href="../Binding.html" title="class in javax.naming">Binding</a> newBinding</pre>
<div class="block">Contains information about the object after the change.</div>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="<init>(javax.naming.event.EventContext,int,javax.naming.Binding,javax.naming.Binding,java.lang.Object)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>NamingEvent</h4>
<pre>public NamingEvent​(<a href="EventContext.html" title="interface in javax.naming.event">EventContext</a> source,
int type,
<a href="../Binding.html" title="class in javax.naming">Binding</a> newBd,
<a href="../Binding.html" title="class in javax.naming">Binding</a> oldBd,
<a href="../../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a> changeInfo)</pre>
<div class="block">Constructs an instance of <code>NamingEvent</code>.
<p>
The names in <code>newBd</code> and <code>oldBd</code> are to be resolved relative
to the event source <code>source</code>.
For an <code>OBJECT_ADDED</code> event type, <code>newBd</code> must not be null.
For an <code>OBJECT_REMOVED</code> event type, <code>oldBd</code> must not be null.
For an <code>OBJECT_CHANGED</code> event type, <code>newBd</code> and
<code>oldBd</code> must not be null. For an <code>OBJECT_RENAMED</code> event type,
one of <code>newBd</code> or <code>oldBd</code> may be null if the new or old
binding is outside of the scope for which the listener has registered.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>source</code> - The non-null context that fired this event.</dd>
<dd><code>type</code> - The type of the event.</dd>
<dd><code>newBd</code> - A possibly null binding before the change. See method description.</dd>
<dd><code>oldBd</code> - A possibly null binding after the change. See method description.</dd>
<dd><code>changeInfo</code> - A possibly null object containing information about the change.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#OBJECT_ADDED"><code>OBJECT_ADDED</code></a>,
<a href="#OBJECT_REMOVED"><code>OBJECT_REMOVED</code></a>,
<a href="#OBJECT_RENAMED"><code>OBJECT_RENAMED</code></a>,
<a href="#OBJECT_CHANGED"><code>OBJECT_CHANGED</code></a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="getType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre class="methodSignature">public int getType()</pre>
<div class="block">Returns the type of this event.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The type of this event.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#OBJECT_ADDED"><code>OBJECT_ADDED</code></a>,
<a href="#OBJECT_REMOVED"><code>OBJECT_REMOVED</code></a>,
<a href="#OBJECT_RENAMED"><code>OBJECT_RENAMED</code></a>,
<a href="#OBJECT_CHANGED"><code>OBJECT_CHANGED</code></a></dd>
</dl>
</li>
</ul>
<a id="getEventContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventContext</h4>
<pre class="methodSignature">public <a href="EventContext.html" title="interface in javax.naming.event">EventContext</a> getEventContext()</pre>
<div class="block">Retrieves the event source that fired this event.
This returns the same object as <code>EventObject.getSource()</code>.
<p>
If the result of this method is used to access the
event source, for example, to look up the object or get its attributes,
then it needs to be locked because implementations of <code>Context</code>
are not guaranteed to be thread-safe
(and <code>EventContext</code> is a subinterface of <code>Context</code>).
See the
<a href=package-summary.html#THREADING>package description</a>
for more information on threading issues.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The non-null context that fired this event.</dd>
</dl>
</li>
</ul>
<a id="getOldBinding()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOldBinding</h4>
<pre class="methodSignature">public <a href="../Binding.html" title="class in javax.naming">Binding</a> getOldBinding()</pre>
<div class="block">Retrieves the binding of the object before the change.
<p>
The binding must be nonnull if the object existed before the change
relative to the source context (<code>getEventContext()</code>).
That is, it must be nonnull for <code>OBJECT_REMOVED</code> and
<code>OBJECT_CHANGED</code>.
For <code>OBJECT_RENAMED</code>, it is null if the object before the rename
is outside of the scope for which the listener has registered interest;
it is nonnull if the object is inside the scope before the rename.
<p>
The name in the binding is to be resolved relative
to the event source <code>getEventContext()</code>.
The object returned by <code>Binding.getObject()</code> may be null if
such information is unavailable.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The possibly null binding of the object before the change.</dd>
</dl>
</li>
</ul>
<a id="getNewBinding()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNewBinding</h4>
<pre class="methodSignature">public <a href="../Binding.html" title="class in javax.naming">Binding</a> getNewBinding()</pre>
<div class="block">Retrieves the binding of the object after the change.
<p>
The binding must be nonnull if the object existed after the change
relative to the source context (<code>getEventContext()</code>).
That is, it must be nonnull for <code>OBJECT_ADDED</code> and
<code>OBJECT_CHANGED</code>. For <code>OBJECT_RENAMED</code>,
it is null if the object after the rename is outside the scope for
which the listener registered interest; it is nonnull if the object
is inside the scope after the rename.
<p>
The name in the binding is to be resolved relative
to the event source <code>getEventContext()</code>.
The object returned by <code>Binding.getObject()</code> may be null if
such information is unavailable.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The possibly null binding of the object after the change.</dd>
</dl>
</li>
</ul>
<a id="getChangeInfo()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChangeInfo</h4>
<pre class="methodSignature">public <a href="../../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a> getChangeInfo()</pre>
<div class="block">Retrieves the change information for this event.
The value of the change information is service-specific. For example,
it could be an ID that identifies the change in a change log on the server.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The possibly null change information of this event.</dd>
</dl>
</li>
</ul>
<a id="dispatch(javax.naming.event.NamingListener)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>dispatch</h4>
<pre class="methodSignature">public void dispatch​(<a href="NamingListener.html" title="interface in javax.naming.event">NamingListener</a> listener)</pre>
<div class="block">Invokes the appropriate listener method on this event.
The default implementation of
this method handles the following event types:
<code>OBJECT_ADDED, OBJECT_REMOVED,
OBJECT_RENAMED, OBJECT_CHANGED</code>.
<p>
The listener method is executed in the same thread
as this method. See the
<a href=package-summary.html#THREADING>package description</a>
for more information on threading issues.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listener</code> - The nonnull listener.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="../../../module-summary.html">Module</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/NamingEvent.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><div style="margin-top: 14px;"><strong>Java SE 11 & JDK 11</strong> </div></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field.summary">Field</a> | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field.detail">Field</a> | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small><a href="https://bugreport.java.com/bugreport/">Report a bug or suggest an enhancement</a><br> For further API reference and developer documentation see the <a href="https://www.oracle.com/pls/topic/lookup?ctx=javase11&id=homepage" target="_blank">Java SE Documentation</a>, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.<br> Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.<br> <a href="../../../../../legal/copyright.html">Copyright</a> © 1993, 2021, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.<br>All rights reserved. Use is subject to <a href="https://download.oracle.com/otndocs/jcp/java_se-11-final-spec/license.html">license terms</a> and the <a href="https://www.oracle.com/java/technologies/redistribution-policy.html">documentation redistribution policy</a>. <!-- Version 11.0.12+8-LTS-237 --></small></p>
</footer>
</body>
</html>
| 41.731343 | 1,046 | 0.679661 |
b05496e4ad1d3f54ff816b9d5954a551da3b8912 | 1,872 | html | HTML | index.html | Zsailer/NetworkViewer | d33df9286350920cc113fffbfb81b68c9c7a14b3 | [
"BSD-2-Clause"
] | null | null | null | index.html | Zsailer/NetworkViewer | d33df9286350920cc113fffbfb81b68c9c7a14b3 | [
"BSD-2-Clause"
] | null | null | null | index.html | Zsailer/NetworkViewer | d33df9286350920cc113fffbfb81b68c9c7a14b3 | [
"BSD-2-Clause"
] | null | null | null | <!DOCTYPE HTML>
<html>
<head>
<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="lib/jquery-ui/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="css/strict.css">
<link rel="stylesheet" type="text/css" href="css/network.css">
<script data-main="js/app" src="lib/require/require.js"></script>
</head>
<body>
<div class="network-viewer container" id="main_page">
<!-- Page header for the webpage -->
<div class="row page-header">
<!-- Title of application -->
<h1 class="col-md-8">NetworkViewer <small>Interactive Network Visualization</small></h1>
<!-- Button trigger modal -->
<button type="button" class="btn btn-default btn-lg col-md-1" data-toggle="modal" data-target="#myModal" style="margin-top: 20px; float: right;">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
</button>
</div>
<!-- Main Application window -->
<div class="row" id="app_container">
<!-- Left panel for trajectory analysis -->
<div class="col-md-3">
<!-- Init table for trajectory analysis. -->
<table class="table table-hover row">
<tbody id = "tablebody">
<thead>
<th colspan="1">Trajectory #</th>
<th colspan="1">Score</th>
</thead>
</tbody>
</table>
</div>
<!-- Viewer panel -->
<div class="col-md-9" id="network_viewer"></div>
</div>
</div>
</body>
</html>
| 34.666667 | 161 | 0.477564 |
6e2ddd9b38a2200ae5d83206589b9f543b3461ce | 406 | swift | Swift | BluetoothSecure/BluetoothSecure/Sources/Business Layer/Database/DatabaseServiceType.swift | Allwaysontop/BluetoothSecure | 68be96c02750c9a62f0b2b98c2ff8c1501f7c769 | [
"MIT"
] | null | null | null | BluetoothSecure/BluetoothSecure/Sources/Business Layer/Database/DatabaseServiceType.swift | Allwaysontop/BluetoothSecure | 68be96c02750c9a62f0b2b98c2ff8c1501f7c769 | [
"MIT"
] | null | null | null | BluetoothSecure/BluetoothSecure/Sources/Business Layer/Database/DatabaseServiceType.swift | Allwaysontop/BluetoothSecure | 68be96c02750c9a62f0b2b98c2ff8c1501f7c769 | [
"MIT"
] | null | null | null | //
// DatabaseServiceType.swift
// BluetoothSecure
//
// Created by Kramarchuk Kyrylo on 1/26/19.
// Copyright © 2019 Kramarchuk Kyrylo. All rights reserved.
//
import Foundation
protocol DatabaseServiceType {
func fetchAll() -> [BluetoothDeviceEntity]
func achieveDevice(by macAddress: String) -> BluetoothDeviceEntity?
func save(devices: [BluetoothDeviceEntity])
func deleteAll()
}
| 23.882353 | 71 | 0.73399 |
776718b8b7f70e0241df538bc9a7868b2ccf2225 | 41,145 | html | HTML | doc/ModelSupport_OmniThreadLibrary_UML/OtlThreadPool/TOTPWorker.html | zencode1/OmniThreadLibrary | 106ef82fcac01f4f27077acbdefe9c7e057c341e | [
"BSD-3-Clause"
] | 386 | 2015-04-16T21:28:31.000Z | 2022-03-16T00:23:23.000Z | doc/ModelSupport_OmniThreadLibrary_UML/OtlThreadPool/TOTPWorker.html | zencode1/OmniThreadLibrary | 106ef82fcac01f4f27077acbdefe9c7e057c341e | [
"BSD-3-Clause"
] | 120 | 2015-04-16T21:54:23.000Z | 2022-03-11T15:25:09.000Z | doc/ModelSupport_OmniThreadLibrary_UML/OtlThreadPool/TOTPWorker.html | zencode1/OmniThreadLibrary | 106ef82fcac01f4f27077acbdefe9c7e057c341e | [
"BSD-3-Clause"
] | 152 | 2015-04-17T13:20:50.000Z | 2022-03-09T16:14:53.000Z | <html >
<head ><STYLE TYPE="text/css">@import "../stylesheet.css";</STYLE><title ></title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script language='JavaScript'>
function doClick(imageHref) {
if (parent.imageFrame != null)
parent.imageFrame.location.href = imageHref;
}
</script></head><table border='0' width='100%' cellpadding='1' cellspacing='0'>
<tr >
<td colspan='2' class='NavBarCellCommon'>
<table border='0' cellpadding='0' cellspacing='3'>
<tr align='center' valign='top'>
<td class='NavBarCellCommon'>
<a href='../overview-summary.html'>
<font size='+1' class='NavBarFont1'>
<b >Overview</b></font></a> </td><td class='NavBarCellCommon'>
<a href='package-summary.html'>
<font size='+1' class='NavBarFont1'>
<b >Namespace</b></font></a> </td><td class='NavBarCellCommonRev'>
<font size='+1' class='NavBarFont1'>
<b >Classifier</b></font> </td><td class='NavBarCellCommon'>
<font size='+1' class='NavBarFont1'>Tree</font> </td><td class='NavBarCellCommon'>
<a href='../index-all.html'>
<font size='+1' class='NavBarFont1'>
<b >Index</b></font></a> </td><td class='NavBarCellCommon'>
<a href='../help-doc.html'>
<font size='+1' class='NavBarFont1'>
<b >Help</b></font></a> </td></tr></table><td align='right' valign='top' rowspan='3'>
<em ></em></td></td></tr><tr >
<td class='NavBarCellPrevNext'>
<font size='-2'><a href="../OtlThreadPool/TOTPWorkerScheduler.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')">PREV </a> <a href="../OtlThreadPool/IOmniThreadPoolScheduler.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')">NEXT </a> </font></td><td class='NavBarCellPrevNext'>
<font size='-2'>
<a href='../index.html' target='_top'>
<b >FRAMES</b></a> <a href='../OtlThreadPool/TOTPWorker.html' target='_top'>
<b >NO FRAMES</b></a></font></td></tr><tr >
<td valign='top' class='NavBarCell3'>
<font size='-2'>SUMMARY: INNER | <a href='#field_summary'>FIELD</a> | <a href='#constructor_summary'>CONSTR</a> | DESTR | <a href='#method_summary'>METHOD</a></font></td><td valign='top' class='NavBarCell3'>
<font size='-2'>DETAIL: <a href='#field_detail'>FIELD</a> | <a href='#constructor_detail'>CONSTR</a> | DESTR | <a href='#method_detail'>METHOD</a></font></td></tr></table><hr /><h2 >
<font size='-1'>
<i >Namespace: </i>OtlThreadPool<br /></font><br />Class TOTPWorker</h2><pre >System.TInterfacedObject
|
+-- <a href="../OtlTaskControl/TOmniWorker.html" target="classFrame" onclick="doClick('../OtlTaskControl/doc-files/default.txvpck.html')">OtlTaskControl.TOmniWorker</a>
|
+-- OtlThreadPool.TOTPWorker
</pre><dl >
<dt /><b >All Implemented Interfaces: </b><dd ><a href="../OtlThreadPool/IOTPWorker.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')"><i>IOTPWorker</i></a> </dd></dl><hr /><dl >
<dt />public class <b >TOTPWorker</b> ( <a href="../OtlTaskControl/TOmniWorker.html" target="classFrame" onclick="doClick('../OtlTaskControl/doc-files/default.txvpck.html')">TOmniWorker</a> , <a href="../OtlThreadPool/IOTPWorker.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')"><i>IOTPWorker</i></a> ) </dl><p /><dl >
<dt /><b >Sealed</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Persistent</b><dd >False</dd></dl><hr /><p /><a name='field_summary'/><table border='1' cellpadding='3' cellspacing='0' width='100%'>
<tr class='TableHeaderStyle'>
<td colspan='2'>
<font size='+2'>
<b >Field Summary</b></font></td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public
<b ><a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#CountQueued'>CountQueued</a></b></code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public
<b ><a href="../OtlSync/TOmniCS.html" target="classFrame" onclick="doClick('../OtlSync/doc-files/default.txvpck.html')">OtlSync.TOmniCS</a> </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#CountQueuedLock'>CountQueuedLock</a></b></code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public
<b ><a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#CountRunning'>CountRunning</a></b></code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public
<b ><a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#IdleWorkerThreadTimeout_sec'>IdleWorkerThreadTimeout_sec</a></b></code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public
<b ><a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#MaxExecuting'>MaxExecuting</a></b></code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public
<b ><a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#MaxQueued'>MaxQueued</a></b></code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public
<b ><a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#MaxQueuedTime_sec'>MaxQueuedTime_sec</a></b></code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public
<b ><a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#MinWorkers'>MinWorkers</a></b></code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public
<b ><a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#NumCores'>NumCores</a></b></code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public
<b ><a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#WaitOnTerminate_sec'>WaitOnTerminate_sec</a></b></code><br /> </td></tr></table> <p /><a name='field_summary'/><table border='1' cellpadding='3' cellspacing='0' width='100%'>
<tr class='TableHeaderStyle'>
<td colspan='2'>
<font size='+2'>
<b >Property Summary</b></font></td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public
<b ><a href="../OtlThreadPool/TOTPUnhandledWorkerException.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')">TOTPUnhandledWorkerException</a> </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#Asy_OnUnhandledWorkerException'>Asy_OnUnhandledWorkerException</a></b></code><br /> </td></tr></table> <p /><a name='constructor_summary'/><table border='1' cellpadding='3' cellspacing='0' width='100%'>
<tr class='TableHeaderStyle'>
<td colspan='2'>
<font size='+2'>
<b >Constructor Summary</b></font></td></tr><tr class='TableRow'>
<td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#Create(string/Int64)'>Create</a></b>(name: string; uniqueID: int64)</code><br /> </td></tr></table> <p /><a name='method_summary'/><table border='1' cellpadding='3' cellspacing='0' width='100%'>
<tr class='TableHeaderStyle'>
<td colspan='2'>
<font size='+2'>
<b >Method Summary</b></font></td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#Cancel(TOmniValue)'>Cancel</a></b>(params: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#CancelAll(TOmniWaitableValue)'>CancelAll</a></b>(doneSignal: <a href="../OtlCommon/TOmniWaitableValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniWaitableValue</a> )</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#CheckIdleQueue()'>CheckIdleQueue</a></b>()</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#MaintainanceTimer()'>MaintainanceTimer</a></b>()</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#MsgCompleted(TOmniMessage)'>MsgCompleted</a></b>(msg: <a href="../OtlComm/TOmniMessage.html" target="classFrame" onclick="doClick('../OtlComm/doc-files/default.txvpck.html')">OtlComm.TOmniMessage</a> )</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#MsgThreadCreated(TOmniMessage)'>MsgThreadCreated</a></b>(msg: <a href="../OtlComm/TOmniMessage.html" target="classFrame" onclick="doClick('../OtlComm/doc-files/default.txvpck.html')">OtlComm.TOmniMessage</a> )</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#MsgThreadDestroying(TOmniMessage)'>MsgThreadDestroying</a></b>(msg: <a href="../OtlComm/TOmniMessage.html" target="classFrame" onclick="doClick('../OtlComm/doc-files/default.txvpck.html')">OtlComm.TOmniMessage</a> )</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#PruneWorkingQueue()'>PruneWorkingQueue</a></b>()</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#RemoveMonitor()'>RemoveMonitor</a></b>()</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#Schedule(TOTPWorkItem)'>Schedule</a></b>(workItem: <a href="../OtlThreadPool/TOTPWorkItem.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')">TOTPWorkItem</a> )</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#SetAffinity(TOmniValue)'>SetAffinity</a></b>(value: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#SetMonitor(TOmniValue)'>SetMonitor</a></b>(params: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#SetName(TOmniValue)'>SetName</a></b>(name: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#SetNUMANodes(TOmniValue)'>SetNUMANodes</a></b>(value: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#SetProcessorGroups(TOmniValue)'>SetProcessorGroups</a></b>(value: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</code><br /> </td></tr><tr class='TableRow'>
<td align='right' valign='top' width='20%'>
<font size='-1'>
<code >
public <b >Sub </b></code></font></td><td >
<code >
<b >
<a href='../OtlThreadPool/TOTPWorker.html#SetThreadDataFactory(TOmniValue)'>SetThreadDataFactory</a></b>(threadDataFactory: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</code><br /> </td></tr></table> <p /><p /><a Name='field_detail'/><table border='1' cellpadding='3' cellspacing='0' width='100%'>
<tr class='TableHeaderStyle'>
<td colspan='2'>
<font size='+2'>
<b >Field Detail</b></font></td></tr></table><br /><a name='CountQueued'>
<h3 >CountQueued</h3></a><pre >public CountQueued: <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </pre><dl >
<dt /><b >Const</b><dd >False</dd></dl><dl >
<dt /><b >Type</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='CountQueuedLock'>
<h3 >CountQueuedLock</h3></a><pre >public CountQueuedLock: <a href="../OtlSync/TOmniCS.html" target="classFrame" onclick="doClick('../OtlSync/doc-files/default.txvpck.html')">OtlSync.TOmniCS</a> </pre><dl >
<dt /><b >Const</b><dd >False</dd></dl><dl >
<dt /><b >Type</b><dd >TOmniCS</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='CountRunning'>
<h3 >CountRunning</h3></a><pre >public CountRunning: <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </pre><dl >
<dt /><b >Const</b><dd >False</dd></dl><dl >
<dt /><b >Type</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='IdleWorkerThreadTimeout_sec'>
<h3 >IdleWorkerThreadTimeout_sec</h3></a><pre >public IdleWorkerThreadTimeout_sec: <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </pre><dl >
<dt /><b >Const</b><dd >False</dd></dl><dl >
<dt /><b >Type</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='MaxExecuting'>
<h3 >MaxExecuting</h3></a><pre >public MaxExecuting: <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </pre><dl >
<dt /><b >Const</b><dd >False</dd></dl><dl >
<dt /><b >Type</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='MaxQueued'>
<h3 >MaxQueued</h3></a><pre >public MaxQueued: <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </pre><dl >
<dt /><b >Const</b><dd >False</dd></dl><dl >
<dt /><b >Type</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='MaxQueuedTime_sec'>
<h3 >MaxQueuedTime_sec</h3></a><pre >public MaxQueuedTime_sec: <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </pre><dl >
<dt /><b >Const</b><dd >False</dd></dl><dl >
<dt /><b >Type</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='MinWorkers'>
<h3 >MinWorkers</h3></a><pre >public MinWorkers: <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </pre><dl >
<dt /><b >Const</b><dd >False</dd></dl><dl >
<dt /><b >Type</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='NumCores'>
<h3 >NumCores</h3></a><pre >public NumCores: <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </pre><dl >
<dt /><b >Const</b><dd >False</dd></dl><dl >
<dt /><b >Type</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='WaitOnTerminate_sec'>
<h3 >WaitOnTerminate_sec</h3></a><pre >public WaitOnTerminate_sec: <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniAlignedInt32</a> </pre><dl >
<dt /><b >Const</b><dd >False</dd></dl><dl >
<dt /><b >Type</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a Name='field_detail'/><table border='1' cellpadding='3' cellspacing='0' width='100%'>
<tr class='TableHeaderStyle'>
<td colspan='2'>
<font size='+2'>
<b >Property Detail</b></font></td></tr></table><br /><a name='Asy_OnUnhandledWorkerException'>
<h3 >Asy_OnUnhandledWorkerException</h3></a><pre >public Asy_OnUnhandledWorkerException: <a href="../OtlThreadPool/TOTPUnhandledWorkerException.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')">TOTPUnhandledWorkerException</a> </pre><dl >
<dt /><b >Type</b><dd >TOTPUnhandledWorkerException</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><dl >
<dt /><b >Access</b><dd >read/write</dd></dl><hr /><a Name='constructor_detail'/><table border='1' cellpadding='3' cellspacing='0' width='100%'>
<tr class='TableHeaderStyle'>
<td colspan='2'>
<font size='+2'>
<b >Constructor Detail</b></font></td></tr></table><br /><a name='Create(string/Int64)'>
<h3 >Create</h3></a><pre >public constructor Create(name: string; uniqueID: int64)</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><hr /><a name='method_detail'/><table border='1' cellpadding='3' cellspacing='0' width='100%'>
<tr class='TableHeaderStyle'>
<td colspan='2'>
<font size='+2'>
<b >Method Detail</b></font></td></tr></table><br /><a name='Cancel(TOmniValue)'>
<h3 >Cancel</h3></a><pre >public procedure Cancel(params: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >returns</b><dd >True: Normal exit, False: Thread was killed.</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='CancelAll(TOmniWaitableValue)'>
<h3 >CancelAll</h3></a><pre >public procedure CancelAll(doneSignal: <a href="../OtlCommon/TOmniWaitableValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniWaitableValue</a> )</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='CheckIdleQueue()'>
<h3 >CheckIdleQueue</h3></a><pre >public procedure CheckIdleQueue()</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='MaintainanceTimer()'>
<h3 >MaintainanceTimer</h3></a><pre >public procedure MaintainanceTimer()</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='MsgCompleted(TOmniMessage)'>
<h3 >MsgCompleted</h3></a><pre >public procedure MsgCompleted(msg: <a href="../OtlComm/TOmniMessage.html" target="classFrame" onclick="doClick('../OtlComm/doc-files/default.txvpck.html')">OtlComm.TOmniMessage</a> )</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='MsgThreadCreated(TOmniMessage)'>
<h3 >MsgThreadCreated</h3></a><pre >public procedure MsgThreadCreated(msg: <a href="../OtlComm/TOmniMessage.html" target="classFrame" onclick="doClick('../OtlComm/doc-files/default.txvpck.html')">OtlComm.TOmniMessage</a> )</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='MsgThreadDestroying(TOmniMessage)'>
<h3 >MsgThreadDestroying</h3></a><pre >public procedure MsgThreadDestroying(msg: <a href="../OtlComm/TOmniMessage.html" target="classFrame" onclick="doClick('../OtlComm/doc-files/default.txvpck.html')">OtlComm.TOmniMessage</a> )</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='PruneWorkingQueue()'>
<h3 >PruneWorkingQueue</h3></a><pre >public procedure PruneWorkingQueue()</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='RemoveMonitor()'>
<h3 >RemoveMonitor</h3></a><pre >public procedure RemoveMonitor()</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='Schedule(TOTPWorkItem)'>
<h3 >Schedule</h3></a><pre >public procedure Schedule(workItem: <a href="../OtlThreadPool/TOTPWorkItem.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')">TOTPWorkItem</a> )</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='SetAffinity(TOmniValue)'>
<h3 >SetAffinity</h3></a><pre >public procedure SetAffinity(value: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='SetMonitor(TOmniValue)'>
<h3 >SetMonitor</h3></a><pre >public procedure SetMonitor(params: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='SetName(TOmniValue)'>
<h3 >SetName</h3></a><pre >public procedure SetName(name: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='SetNUMANodes(TOmniValue)'>
<h3 >SetNUMANodes</h3></a><pre >public procedure SetNUMANodes(value: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='SetProcessorGroups(TOmniValue)'>
<h3 >SetProcessorGroups</h3></a><pre >public procedure SetProcessorGroups(value: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><a name='SetThreadDataFactory(TOmniValue)'>
<h3 >SetThreadDataFactory</h3></a><pre >public procedure SetThreadDataFactory(threadDataFactory: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</pre><dl >
<dt /><b >Final</b><dd >False</dd></dl><dl >
<dt /><b >Reintroduce</b><dd >False</dd></dl><dl >
<dt /><b >Abstract</b><dd >False</dd></dl><dl >
<dt /><b >Override</b><dd >False</dd></dl><dl >
<dt /><b >Virtual</b><dd >False</dd></dl><dl >
<dt /><b >Class</b><dd >False</dd></dl><hr /><p /><table border='0' cellpadding='0' cellspacing='0'>
<tr class='TableHeaderStyle'>
<td >
<font size='+0'>
<b >Implementation Link</b></font></td></tr></table><br />to Interface <a href="../OtlThreadPool/IOTPWorker.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')"><i>IOTPWorker</i></a> <p /><dl >
<dt /><b >Client</b><dd >TOTPWorker</dd></dl><dl >
<dt /><b >Supplier</b><dd >IOTPWorker</dd></dl><br /><p /><table border='0' cellpadding='0' cellspacing='0'>
<tr class='TableHeaderStyle'>
<td >
<font size='+0'>
<b >Generalization Link</b></font></td></tr></table><br />to Class <a href="../OtlTaskControl/TOmniWorker.html" target="classFrame" onclick="doClick('../OtlTaskControl/doc-files/default.txvpck.html')">TOmniWorker</a> <p /><dl >
<dt /><b >Client</b><dd >TOTPWorker</dd></dl><dl >
<dt /><b >Supplier</b><dd >TOmniWorker</dd></dl><br /><p /><table border='0' cellpadding='0' cellspacing='0'>
<tr class='TableHeaderStyle'>
<td >
<font size='+0'>
<b >Association Link</b></font></td></tr></table><br />to Interface <a href="../OtlCommon/IOmniIntegerSet.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')"><i>IOmniIntegerSet</i></a> <p /><dl >
<dt /><b >Supplier</b><dd >IOmniIntegerSet</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >owAffinity</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Delegate <a href="../OtlThreadPool/TOTPUnhandledWorkerException.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')">TOTPUnhandledWorkerException</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOTPUnhandledWorkerException</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >owAsy_OnUnhandledWorkerException</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Class <a href="../OtlContainerObserver/TOmniContainerWindowsMessageObserver.html" target="classFrame" onclick="doClick('../OtlContainerObserver/doc-files/default.txvpck.html')">TOmniContainerWindowsMessageObserver</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOmniContainerWindowsMessageObserver</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >owMonitorObserver</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Interface <a href="../OtlCommon/IOmniIntegerSet.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')"><i>IOmniIntegerSet</i></a> <p /><dl >
<dt /><b >Supplier</b><dd >IOmniIntegerSet</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >owNUMANodes</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Interface <a href="../OtlCommon/IOmniIntegerSet.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')"><i>IOmniIntegerSet</i></a> <p /><dl >
<dt /><b >Supplier</b><dd >IOmniIntegerSet</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >owProcessorGroups</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Class <a href="../OtlThreadPool/TOTPWorkerScheduler.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')">TOTPWorkerScheduler</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOTPWorkerScheduler</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >owScheduler</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Struct <a href="../OtlThreadPool/TOTPThreadDataFactory.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')">TOTPThreadDataFactory</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOTPThreadDataFactory</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >owThreadDataFactory</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Struct <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">TOmniAlignedInt32</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >CountQueued</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Struct <a href="../OtlSync/TOmniCS.html" target="classFrame" onclick="doClick('../OtlSync/doc-files/default.txvpck.html')">TOmniCS</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOmniCS</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >CountQueuedLock</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Struct <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">TOmniAlignedInt32</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >CountRunning</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Struct <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">TOmniAlignedInt32</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >IdleWorkerThreadTimeout_sec</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Struct <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">TOmniAlignedInt32</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >MaxExecuting</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Struct <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">TOmniAlignedInt32</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >MaxQueued</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Struct <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">TOmniAlignedInt32</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >MaxQueuedTime_sec</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Struct <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">TOmniAlignedInt32</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >MinWorkers</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Struct <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">TOmniAlignedInt32</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >NumCores</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Struct <a href="../OtlCommon/TOmniAlignedInt32.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">TOmniAlignedInt32</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOmniAlignedInt32</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >WaitOnTerminate_sec</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br />to Delegate <a href="../OtlThreadPool/TOTPUnhandledWorkerException.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')">TOTPUnhandledWorkerException</a> <p /><dl >
<dt /><b >Supplier</b><dd >TOTPUnhandledWorkerException</dd></dl><dl >
<dt /><b >Directed</b><dd >False</dd></dl><dl >
<dt /><b >Client</b><dd >Asy_OnUnhandledWorkerException</dd></dl><dl >
<dt /><b >Type</b><dd >association</dd></dl><br /><hr /><table border='0' width='100%' cellpadding='1' cellspacing='0'>
<tr >
<td colspan='2' class='NavBarCellCommon'>
<table border='0' cellpadding='0' cellspacing='3'>
<tr align='center' valign='top'>
<td class='NavBarCellCommon'>
<a href='../overview-summary.html'>
<font size='+1' class='NavBarFont1'>
<b >Overview</b></font></a> </td><td class='NavBarCellCommon'>
<a href='package-summary.html'>
<font size='+1' class='NavBarFont1'>
<b >Namespace</b></font></a> </td><td class='NavBarCellCommonRev'>
<font size='+1' class='NavBarFont1'>
<b >Classifier</b></font> </td><td class='NavBarCellCommon'>
<font size='+1' class='NavBarFont1'>Tree</font> </td><td class='NavBarCellCommon'>
<a href='../index-all.html'>
<font size='+1' class='NavBarFont1'>
<b >Index</b></font></a> </td><td class='NavBarCellCommon'>
<a href='../help-doc.html'>
<font size='+1' class='NavBarFont1'>
<b >Help</b></font></a> </td></tr></table><td align='right' valign='top' rowspan='3'>
<em ></em></td></td></tr><tr >
<td class='NavBarCellPrevNext'>
<font size='-2'><a href="../OtlThreadPool/TOTPWorkerScheduler.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')">PREV </a> <a href="../OtlThreadPool/IOmniThreadPoolScheduler.html" target="classFrame" onclick="doClick('../OtlThreadPool/doc-files/default.txvpck.html')">NEXT </a> </font></td><td class='NavBarCellPrevNext'>
<font size='-2'>
<a href='../index.html' target='_top'>
<b >FRAMES</b></a> <a href='../OtlThreadPool/TOTPWorker.html' target='_top'>
<b >NO FRAMES</b></a></font></td></tr><tr >
<td valign='top' class='NavBarCell3'>
<font size='-2'>SUMMARY: INNER | <a href='#field_summary'>FIELD</a> | <a href='#constructor_summary'>CONSTR</a> | DESTR | <a href='#method_summary'>METHOD</a></font></td><td valign='top' class='NavBarCell3'>
<font size='-2'>DETAIL: <a href='#field_detail'>FIELD</a> | <a href='#constructor_detail'>CONSTR</a> | DESTR | <a href='#method_detail'>METHOD</a></font></td></tr></table><br /><p /></html> | 72.694346 | 407 | 0.634415 |
fb770f98d158611dd82ab15e57861926406d30c6 | 1,556 | java | Java | src/main/java/com/thinkgem/jeesite/modules/front/frontUtils/SendMessageUtil.java | 770915026/jeesite | bf358138f5afc9d856fddb86f95f6cdc2f8c6237 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/thinkgem/jeesite/modules/front/frontUtils/SendMessageUtil.java | 770915026/jeesite | bf358138f5afc9d856fddb86f95f6cdc2f8c6237 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/thinkgem/jeesite/modules/front/frontUtils/SendMessageUtil.java | 770915026/jeesite | bf358138f5afc9d856fddb86f95f6cdc2f8c6237 | [
"Apache-2.0"
] | null | null | null | package com.thinkgem.jeesite.modules.front.frontUtils;
import javax.servlet.http.HttpServlet;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.alibaba.fastjson.JSON;
public class SendMessageUtil extends HttpServlet {
private static final Logger logger = LoggerFactory.getLogger(SendMessageUtil.class);
/**
*
*/
private static final long serialVersionUID = 1L;
/**
* 发送短息
*/
@SuppressWarnings({ "rawtypes", "unchecked" })
public static void sendMsgUtf8(String phones, String content){
//请求地址请登录253云通讯自助通平台查看或者询问您的商务负责人获取
String smsSingleRequestServerUrl = "http://smsbj1.253.com/msg/send/json";
// 短信内容
String msg = "【合影网络科技】" + content;
//手机号码
String phone = phones;
//状态报告
String report= "true";
/*SmsSendRequest smsSingleRequest = new SmsSendRequest("N7343955", "tYFGzRKyI79295", msg, phone,report);*/
SmsSendRequest smsSingleRequest = new SmsSendRequest("N524164_N7343955", "crbTQ1voEtf628", msg, phone,report);
String requestJson = JSON.toJSONString(smsSingleRequest);
System.out.println("before request string is: " + requestJson);
String response = ChuangLanSmsUtil.sendSmsByPost(smsSingleRequestServerUrl, requestJson);
System.out.println("response after request result is :" + response);
SmsSendResponse smsSingleResponse = JSON.parseObject(response, SmsSendResponse.class);
System.out.println("response toString is :" + smsSingleResponse);
}
}
| 32.416667 | 118 | 0.697943 |
75a717d04d03c95ab521b9474dab7ab68b679428 | 3,569 | cs | C# | Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/SerialCommandTests.cs | Yubico/Yubico.NET.SDK | a86a3b4a624af730d6060d177b65f50df1013b36 | [
"Apache-2.0"
] | 25 | 2021-08-31T05:26:22.000Z | 2022-03-29T19:37:46.000Z | Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/SerialCommandTests.cs | Yubico/Yubico.NET.SDK | a86a3b4a624af730d6060d177b65f50df1013b36 | [
"Apache-2.0"
] | 8 | 2021-09-12T03:35:22.000Z | 2022-03-31T22:12:20.000Z | Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/SerialCommandTests.cs | Yubico/Yubico.NET.SDK | a86a3b4a624af730d6060d177b65f50df1013b36 | [
"Apache-2.0"
] | 4 | 2021-11-16T20:42:11.000Z | 2022-03-28T02:17:53.000Z | // Copyright 2021 Yubico AB
//
// Licensed under the Apache License, Version 2.0 (the "License").
// You may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
using System;
using Xunit;
using Yubico.Core.Iso7816;
namespace Yubico.YubiKey.Piv.Commands
{
public class GetSerialNumberCommandTests
{
[Fact]
public void ClassType_DerivedFromPivCommand_IsTrue()
{
var serialCommand = new GetSerialNumberCommand();
Assert.True(serialCommand is IYubiKeyCommand<GetSerialNumberResponse>);
}
[Fact]
public void Constructor_Application_Piv()
{
var command = new GetSerialNumberCommand();
YubiKeyApplication application = command.Application;
Assert.Equal(YubiKeyApplication.Piv, application);
}
[Fact]
public void CreateCommandApdu_GetClaProperty_ReturnsZero()
{
CommandApdu cmdApdu = GetSerialCommandApdu();
byte Cla = cmdApdu.Cla;
Assert.Equal(0, Cla);
}
[Fact]
public void CreateCommandApdu_GetInsProperty_ReturnsHexF8()
{
CommandApdu cmdApdu = GetSerialCommandApdu();
byte Ins = cmdApdu.Ins;
Assert.Equal(0xF8, Ins);
}
[Fact]
public void CreateCommandApdu_GetP1Property_ReturnsZero()
{
CommandApdu cmdApdu = GetSerialCommandApdu();
byte P1 = cmdApdu.P1;
Assert.Equal(0, P1);
}
[Fact]
public void CreateCommandApdu_GetP2Property_ReturnsZero()
{
CommandApdu cmdApdu = GetSerialCommandApdu();
byte P2 = cmdApdu.P2;
Assert.Equal(0, P2);
}
[Fact]
public void CreateCommandApdu_GetData_ReturnsEmpty()
{
CommandApdu cmdApdu = GetSerialCommandApdu();
ReadOnlyMemory<byte> data = cmdApdu.Data;
Assert.True(data.IsEmpty);
}
[Fact]
public void CreateCommandApdu_GetNc_ReturnsZero()
{
CommandApdu cmdApdu = GetSerialCommandApdu();
int Nc = cmdApdu.Nc;
Assert.Equal(0, Nc);
}
[Fact]
public void CreateCommandApdu_GetNe_ReturnsZero()
{
CommandApdu cmdApdu = GetSerialCommandApdu();
int Ne = cmdApdu.Ne;
Assert.Equal(0, Ne);
}
[Fact]
public void CreateResponseForApdu_ReturnsCorrectType()
{
// Arrange
var responseApdu = new ResponseApdu(new byte[] { 0x00, 0x81, 0xA4, 0x99, 0x90, 0x00 });
var serialCommand = new GetSerialNumberCommand();
// Act
GetSerialNumberResponse serialResponse = serialCommand.CreateResponseForApdu(responseApdu);
// Assert
Assert.True(serialResponse is GetSerialNumberResponse);
}
private static CommandApdu GetSerialCommandApdu()
{
var serialCommand = new GetSerialNumberCommand();
return serialCommand.CreateCommandApdu();
}
}
}
| 27.037879 | 103 | 0.610815 |
3983e0c3947705ad62af7fe760782e1e1080aebc | 1,404 | ps1 | PowerShell | Tools/Blade/Functions/Remove-ItemWithRetry.ps1 | jlariono/Carbon | 83e9e957115e79935671a69d1eef80c360e857f1 | [
"Apache-2.0"
] | 144 | 2019-01-09T02:22:56.000Z | 2022-03-31T14:02:04.000Z | Blade/Remove-ItemWithRetry.ps1 | splatteredbits/blade | 970f78be436e701b1ed5119976ef9f3929136d10 | [
"Apache-2.0"
] | 45 | 2017-06-19T02:45:13.000Z | 2019-01-07T10:55:33.000Z | Blade/Remove-ItemWithRetry.ps1 | splatteredbits/blade | 970f78be436e701b1ed5119976ef9f3929136d10 | [
"Apache-2.0"
] | 25 | 2019-02-12T09:10:06.000Z | 2022-03-31T04:36:03.000Z | # Copyright 2012 - 2015 Aaron Jensen
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
function Remove-ItemWithRetry($item, [Switch]$Recurse)
{
if( -not (Test-Path $item) )
{
return
}
$RecurseParam = if( $Recurse ) { '-Recurse' } else { '' }
$numTries = 0
do
{
if( -not (Test-Path $item) )
{
return $true
}
if( $Recurse )
{
Remove-Item $item -Recurse -Force -ErrorAction SilentlyContinue
}
else
{
Remove-Item $item -Force -ErrorAction SilentlyContinue
}
if( Test-Path $item )
{
Start-Sleep -Milliseconds 100
}
else
{
return $true
}
$numTries += 1
}
while( $numTries -lt 20 )
return $false
}
| 26 | 76 | 0.557692 |
89643e9f730888a21062c5563b892e132f204619 | 1,439 | sql | SQL | ofcms-admin/src/main/resources/conf/sql/cms/announce.sql | akun8980/ofcms | 0b28e6c69d1cca86f48961f6382f357ff89da650 | [
"MIT"
] | null | null | null | ofcms-admin/src/main/resources/conf/sql/cms/announce.sql | akun8980/ofcms | 0b28e6c69d1cca86f48961f6382f357ff89da650 | [
"MIT"
] | 2 | 2021-05-08T18:08:56.000Z | 2021-09-20T20:56:00.000Z | ofcms-admin/src/main/resources/conf/sql/cms/announce.sql | akun8980/ofcms | 0b28e6c69d1cca86f48961f6382f357ff89da650 | [
"MIT"
] | null | null | null | #sql("query")
select
id,
site_id,
title,
content,
type,
user_id,
release_terminal,
create_time,
update_time,
sort,
remark,
status
from
of_cms_announce where status = '1' and site_id = #para(site_id)
#if (title?? ) and title like concat ('%',#para(title),'%' )#end
#if (sort?? && field) order by order_field order_sort #else order by id desc #end
#end
#sql("detail")
select
id,
site_id,
title,
content,
type,
user_id,
release_terminal,
create_time,
update_time,
sort,
remark,
status
from
of_cms_announce where id = #para(id)
#end
#sql("save")
insert into of_cms_announce (
site_id,
title,
content,
type,
user_id,
release_terminal,
create_time,
sort,
status
) values(
#para(site_id),
#para(title),
#para(content),
#para(type),
#para(user_id),
'1',
now(),
#para(sort),
'1'
)
#end
#sql("delete")
delete from of_cms_announce where id = #para(id)
#end
#sql("status")
update of_cms_announce set status = '0' where id = #para(id)
#end
#sql("update")
update
of_cms_announce set
title = #para(title),
content = #para(content),
type = #para(type),
user_id = #para(user_id),
update_time = now(),
sort = #para(sort)
where id = #para(id)
#end
| 17.337349 | 83 | 0.556637 |