提交 e954e17e 编写于 作者: ibizdev's avatar ibizdev

MoneyQ 发布系统代码 [后台服务,演示应用]

上级 cb192ed3
......@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -48,18 +48,18 @@
<div v-show="flag" class="batch-toolbar">
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="usr2dataviewdataview_batchtoolbarModels.deuiaction1.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction1.disabled" class='' v-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.disabled" class='' v-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i>
<span class='caption'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="usr2dataviewdataview_batchtoolbarModels.deuiaction2.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction2.disabled" class='' v-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.disabled" class='' v-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i>
<span class='caption'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip>
</div>
</div>
......@@ -174,18 +174,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
public appEntityService: IBIZBOOKEntityService = new IBIZBOOKEntityService({ $store: this.$store });
/**
* dataview_batchtoolbar 部件 click 事件
* dataviewexpbar_dataview_batchtoolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof Usr2Base
*/
public dataview_batchtoolbar_click($event: any, $event2?: any) {
public dataviewexpbar_dataview_batchtoolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.dataview_batchtoolbar_deuiaction1_click(null, 'dataview_batchtoolbar', $event2);
this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2);
}
if (Object.is($event.tag, 'deuiaction2')) {
this.dataview_batchtoolbar_deuiaction2_click(null, 'dataview_batchtoolbar', $event2);
this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2);
}
}
......@@ -198,7 +198,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
public dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
public dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) {
public dataviewexpbar_dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
......@@ -281,7 +281,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) {
public dataviewexpbar_dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
......@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2DataViewBase
* @memberof IBIZBOOKDataViewExpViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -335,7 +335,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2DataViewBase
* @memberof IBIZBOOKDataViewExpViewBase
*/
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -629,9 +629,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKUsr2DataView
* @memberof IBIZBOOKDataViewExpView
*/
public usr2dataviewdataview_batchtoolbarModels: any = {
public dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
......@@ -956,7 +956,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
public load(opt: any = {}, isReset: boolean = false): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -1036,7 +1036,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1146,7 +1146,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -1154,7 +1154,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......@@ -1245,16 +1245,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
public uiAction(data: any, tag: any, $event: any) {
$event.stopPropagation();
if(Object.is('Edit', tag)) {
this.dataview_batchtoolbar_deuiaction1_click(data, tag, $event);
this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(data, tag, $event);
}
if(Object.is('Remove', tag)) {
this.dataview_batchtoolbar_deuiaction2_click(data, tag, $event);
this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(data, tag, $event);
}
if(Object.is('Edit', tag)) {
this.dataview_memo1_u37f11a8_click(data, tag, $event);
this.dataviewexpbar_dataview_memo1_u37f11a8_click(data, tag, $event);
}
if(Object.is('Remove', tag)) {
this.dataview_memo1_uc365542_click(data, tag, $event);
this.dataviewexpbar_dataview_memo1_uc365542_click(data, tag, $event);
}
}
......
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description>DemoSys</description>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.StringParameterDefinition>
<name>para1</name>
<description></description>
<defaultValue>para1</defaultValue>
<trim>false</trim>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>para2</name>
<description></description>
<defaultValue>para2</defaultValue>
<trim>false</trim>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>para3</name>
<description></description>
<defaultValue>para3</defaultValue>
<trim>false</trim>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>para4</name>
<description></description>
<defaultValue>para4</defaultValue>
<trim>false</trim>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>para5</name>
<description></description>
<defaultValue>para5</defaultValue>
<trim>false</trim>
</hudson.model.StringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</properties>
<scm class="hudson.scm.NullSCM"/>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers/>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>
BUILD_ID=DONTKILLME
source /etc/profile
rm -rf demosys
git clone -b master $para2 demosys/
export NODE_OPTIONS=--max-old-space-size=4096
cd demosys/
</command>
</hudson.tasks.Shell>
</builders>
<publishers>
<hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup@0.34">
<patterns class="empty-list"/>
<deleteDirs>false</deleteDirs>
<skipWhenFailed>false</skipWhenFailed>
<cleanWhenSuccess>true</cleanWhenSuccess>
<cleanWhenUnstable>true</cleanWhenUnstable>
<cleanWhenFailure>true</cleanWhenFailure>
<cleanWhenNotBuilt>true</cleanWhenNotBuilt>
<cleanWhenAborted>true</cleanWhenAborted>
<notFailBuild>false</notFailBuild>
<cleanupMatrixParent>false</cleanupMatrixParent>
<externalDelete></externalDelete>
</hudson.plugins.ws__cleanup.WsCleanup>
</publishers>
<buildWrappers/>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>demo</artifactId>
<groupId>cn.ibizlab</groupId>
<version>1.0.0.0</version>
</parent>
<artifactId>demo-boot</artifactId>
<name>后台服务 Boot</name>
<description>后台服务 Boot</description>
<dependencies>
<dependency>
<groupId>cn.ibizlab</groupId>
<artifactId>demo-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>boot</id>
<build>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
<includes>
<include>**/**</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<finalName>demo-boot</finalName>
<jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
<mainClass>cn.ibizlab.BootApplication</mainClass>
<outputDirectory>../</outputDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.4.13</version>
<configuration>
<serverId>ibiz-dev</serverId>
<imageName>dstimage</imageName>
<dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
<resources>
<resource>
<targetPath>/</targetPath>
<directory>../</directory>
<include>${project.artifactId}.jar</include>
</resource>
</resources>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>prepare</id>
<configuration>
<executable>cp</executable>
<arguments>
<argument>../${project.artifactId}.jar</argument>
<argument>${project.basedir}/src/main/docker/</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>buildpush</id>
<configuration>
<executable>docker</executable>
<arguments>
<argument>buildx</argument>
<argument>build</argument>
<argument>--platform</argument>
<argument>linux/amd64,linux/arm64</argument>
<argument>-t</argument>
<argument>dstimage</argument>
<argument>${project.basedir}/src/main/docker</argument>
<argument>--push</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>copy-model</id>
<phase>process-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<encoding>UTF-8</encoding>
<!-- 输出目录 -->
<outputDirectory>${project.build.outputDirectory}/model--5F541248-A9B7-4D3F-B5D8-76D69D13B5CB--1</outputDirectory>
<resources>
<resource>
<!-- 资源目录 -->
<directory>${project.basedir}/../model</directory>
<includes>
<include>**/**</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
<includes>
<include>**/**</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<finalName>demo-boot</finalName>
<jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
<mainClass>cn.ibizlab.BootApplication</mainClass>
<outputDirectory>../</outputDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-generator-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<configuration>
<output>
../
</output>
<inputSpec>
../demo-core/src/main/resources/static/model/cn/ibizlab
</inputSpec>
<templateDirs>
${basedir}/src/main/resources/templ
</templateDirs>
<packageName>
${project.groupId}
</packageName>
<name>
${parent.artifactId}
</name>
</configuration>
<dependencies>
<dependency>
<groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-template-ibizedge</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
FROM image.ibizlab.cn/library/openjdk:8-jre-alpine-fonts-v1
ENV TZ=Asia/Shanghai \
SPRING_OUTPUT_ANSI_ENABLED=ALWAYS \
IBIZ_SLEEP=0 \
JAVA_OPTS=""
CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /demo-boot.jar
EXPOSE 8081
ADD demo-boot.jar /demo-boot.jar
version: "3.2"
services:
DemoSys-mysql:
image: mysql:5.7.20
volumes:
- $PWD/../../../../volumes/mysql/:/var/lib/mysql/
networks:
- agent_network
environment:
- TZ=Asia/Shanghai
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=a_LAB01_df847bdfd
ports:
- 3306:3306
command: mysqld --lower_case_table_names=1 --skip-ssl --character_set_server=utf8 --explicit_defaults_for_timestamp
networks:
agent_network:
attachable: true
version: "3.2"
services:
DemoSys-nacos:
image: nacos/nacos-server:latest
container_name: nacos-standalone
environment:
- PREFER_HOST_MODE=hostname
- MODE=standalone
ports:
- "8848:8848"
networks:
- agent_network
networks:
agent_network:
attachable: true
version: "3.2"
services:
DemoSys-redis:
image: redis
ports:
- 6379:6379
environment:
- TZ=Asia/Shanghai
logging:
driver: "json-file"
command: redis-server
networks:
- agent_network
networks:
agent_network:
attachable: true
package cn.ibizlab;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import java.util.List;
import cn.ibizlab.util.web.SearchContextHandlerMethodArgumentResolver;
import org.springframework.beans.factory.annotation.Autowired;
@Slf4j
@EnableDiscoveryClient
@Configuration
@EnableTransactionManagement
@EnableFeignClients(basePackages = {"cn.ibizlab.util","cn.ibizlab"})
@SpringBootApplication(exclude = {
org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration.class,
com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure.class
})
@ComponentScan(basePackages = {"cn.ibizlab.util","cn.ibizlab"}
// ,excludeFilters = {
// @ComponentScan.Filter(type= org.springframework.context.annotation.FilterType.REGEX, pattern="cn.ibizlab.xxx.rest.xxx"),
// }
)
@Import({
org.springframework.cloud.openfeign.FeignClientsConfiguration.class
})
@EnableAsync
@EnableScheduling
public class BootApplication extends WebMvcConfigurerAdapter {
@Autowired
SearchContextHandlerMethodArgumentResolver resolver;
public static void main(String[] args) {
SpringApplication.run(BootApplication.class, args);
}
@Override
public void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) {
super.addArgumentResolvers(argumentResolvers);
argumentResolvers.add(resolver);
}
}
**.ibizlab-generator-ignore
**.DS_Store
**@macro/**
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>demo</artifactId>
<groupId>cn.ibizlab</groupId>
<version>1.0.0.0</version>
</parent>
<artifactId>demo-core</artifactId>
<name>后台服务 Core</name>
<description>后台服务 Core</description>
<dependencies>
<dependency>
<groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-boot-starter-data</artifactId>
<version>2.4.0-SNAPSHOT</version>
</dependency>
</dependencies>
<properties>
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
</properties>
<profiles>
<profile>
<id>diff</id>
<build>
<plugins>
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>${liquibase.version}</version>
<executions>
<execution>
<id>prepare-newdb</id>
<configuration>
<changeLogFile>${project.basedir}/src/main/resources/liquibase/h2_table.xml</changeLogFile>
<driver>org.h2.Driver</driver>
<url>jdbc:h2:file:${project.build.directory}/db/new;MODE=mysql</url>
<username>root</username>
<dropFirst>true</dropFirst>
</configuration>
<phase>process-resources</phase>
<goals>
<goal>update</goal>
</goals>
</execution>
<execution>
<id>prepare-olddb</id>
<configuration>
<changeLogFile>${project.basedir}/src/main/resources/liquibase/master_table.xml</changeLogFile>
<driver>org.h2.Driver</driver>
<url>jdbc:h2:file:${project.build.directory}/db/last;MODE=mysql</url>
<username>root</username>
<dropFirst>true</dropFirst>
</configuration>
<phase>process-resources</phase>
<goals>
<goal>update</goal>
</goals>
</execution>
<execution>
<id>make-diff</id>
<configuration>
<changeLogFile>${project.basedir}/src/main/resources/liquibase/empty.xml</changeLogFile>
<diffChangeLogFile>${project.basedir}/src/main/resources/liquibase/changelog/${maven.build.timestamp}_changelog.xml</diffChangeLogFile>
<driver>org.h2.Driver</driver>
<url>jdbc:h2:file:${project.build.directory}/db/last;MODE=mysql</url>
<username>root</username>
<password></password>
<referenceUrl>jdbc:h2:file:${project.build.directory}/db/new;MODE=mysql</referenceUrl>
<referenceDriver>org.h2.Driver</referenceDriver>
<referenceUsername>root</referenceUsername>
<verbose>true</verbose>
<logging>debug</logging>
<contexts>!test</contexts>
<diffExcludeObjects>Index:.*,table:ibzfile,ibzuser,ibzdataaudit,ibzcfg,IBZFILE,IBZUSER,IBZDATAAUDIT,IBZCFG</diffExcludeObjects>
</configuration>
<phase>process-resources</phase>
<goals>
<goal>diff</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
#eureka配置中心
spring:
cloud:
nacos:
discovery:
enabled: false
eureka:
client:
enabled: true
serviceUrl:
defaultZone: http://127.0.0.1:8762/eureka/
#nacos配置中心
spring:
cloud:
nacos:
discovery:
server-addr: 172.16.240.110:8848
enabled: true
eureka:
client:
enabled: false
#缓存、数据源
spring:
cache:
redis:
time-to-live: 3600
caffeine:
spec: initialCapacity=5,maximumSize=500,expireAfterWrite=3600s
redis:
host: 172.16.240.110
port: 6379
password:
database: 0
lettuce:
pool:
max-active: 32
max-wait: 300ms
max-idle: 16
min-idle: 8
servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB
datasource:
username: a_LAB01_df847bdfd
password: '3d6@460A'
url: jdbc:mysql://172.16.186.185:3306/a_LAB01_df847bdfd?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true&serverTimezone=GMT%2B8
driver-class-name: com.mysql.jdbc.Driver
isSyncDBSchema: false
defaultSchema: a_LAB01_df847bdfd
druid:
# 监控页面
web-stat-filter:
enabled: true
url-pattern: /*
profileEnable: true
exclusions: '*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*'
statViewServlet:
enabled: true
# 设置白名单,不填则允许所有访问
allow:
url-pattern: /druid/*
# 控制台管理用户名和密码
login-username: admin
login-password: admin
dynamic:
druid: #以下是全局默认值,可以全局更改
filters: stat,slf4j
useGlobalDataSourceStat: true
stat:
log-slow-sql: true
merge-sql: true
slow-sql-millis: 10000
#配置初始化大小/最小/最大
initial-size: 1
min-idle: 1
max-active: 20
#获取连接等待超时时间
max-wait: 60000
#间隔多久进行一次检测,检测需要关闭的空闲连接
time-between-eviction-runs-millis: 60000
#一个连接在池中最小生存的时间
min-evictable-idle-time-millis: 300000
validation-query: SELECT 1 FROM DUAL
test-while-idle: true
test-on-borrow: false
test-on-return: false
#打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
pool-prepared-statements: false
max-pool-prepared-statement-per-connection-size: 20
datasource:
master:
username: ${spring.datasource.username}
password: ${spring.datasource.password}
url: ${spring.datasource.url}
driver-class-name: ${spring.datasource.driver-class-name}
conf: classpath:liquibase/master.xml
isSyncDBSchema: ${spring.datasource.isSyncDBSchema}
defaultSchema: ${spring.datasource.defaultSchema}
#Mybatis-plus配置
mybatis-plus:
global-config:
refresh-mapper: true
db-config:
# 全局逻辑已删除默认值
logic-delete-value: 0
# 全局逻辑未删除默认值
logic-not-delete-value: 1
mapper-locations: classpath*:/mapper/*/*/*.xml
configuration:
jdbc-type-for-null: 'null'
map-underscore-to-camel-case: false
#阿里sentinel熔断器
feign:
httpclient:
enabled: true
sentinel:
enabled: true
compression:
request:
enabled: true
mime-types: application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain
min-response-size: 10240
response:
enabled: true
#Log配置
logging:
level:
cn.ibizlab: debug
org.springframework.boot.autoconfigure: ERROR
#zuul网关超时设置
ribbon:
ReadTimeout: 60000
ConnectTimeout: 60000
#系统是否开启权限验证、是否开启缓存
#缓存级别:无缓存(无配置项)、一级缓存(L1)、二级缓存(L2)
ibiz:
systemid: DemoSys
systemname: DemoSys
enablePermissionValid: true
cacheLevel: L1 #(L1)一级本地caffeine缓存;(L2)caffeine缓存+Redis缓存
### jobs
jobs:
#admin-address: http://127.0.0.1:40005
app-name: DemoSys
app-port: 9999
#app-ip: 127.0.0.1
server:
port: 51000
compression:
enabled: true
mime-types: application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain
min-response-size: 10240
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="Think (generated)" id="1561433044682-1">
<createTable remarks="文件" tableName="IBZFILE">
<column name="FILEID" type="VARCHAR2(100 BYTE)">
<constraints primaryKey="true" primaryKeyName="SYS_C00168533"/>
</column>
<column name="FILENAME" type="VARCHAR2(200 BYTE)"/>
<column name="FILEPATH" type="VARCHAR2(500 BYTE)"/>
<column name="FOLDER" type="VARCHAR2(20 BYTE)"/>
<column name="CREATEMAN" type="VARCHAR2(60 BYTE)"/>
<column name="CREATEDATE" type="date"/>
<column name="UPDATEMAN" type="VARCHAR2(60 BYTE)"/>
<column name="UPDATEDATE" type="date"/>
<column name="FILEEXT" type="VARCHAR2(10 BYTE)"/>
<column name="FILESIZE" type="INTEGER"/>
<column name="DIGESTCODE" type="VARCHAR2(64 BYTE)"/>
<column name="OWNERTYPE" type="VARCHAR2(100 BYTE)"/>
<column name="OWNERID" type="VARCHAR2(100 BYTE)"/>
<column name="MEMO" type="VARCHAR2(500 BYTE)"/>
<column name="RESERVER" type="VARCHAR2(100 BYTE)"/>
</createTable>
</changeSet>
<changeSet author="Think (generated)" id="1561433044682-2">
<createTable remarks="用户" tableName="IBZUSER">
<column name="USERID" type="VARCHAR2(100 BYTE)">
<constraints primaryKey="true" primaryKeyName="SYS_C00168531"/>
</column>
<column name="PERSONNAME" type="VARCHAR2(200 BYTE)"/>
<column name="USERNAME" type="VARCHAR2(200 BYTE)"/>
<column name="USERCODE" type="VARCHAR2(100 BYTE)"/>
<column name="LOGINNAME" type="VARCHAR2(100 BYTE)"/>
<column name="PASSWORD" type="VARCHAR2(100 BYTE)"/>
<column name="DOMAINS" type="VARCHAR2(100 BYTE)"/>
<column name="MDEPTID" type="VARCHAR2(100 BYTE)"/>
<column name="MDEPTCODE" type="VARCHAR2(100 BYTE)"/>
<column name="MDEPTNAME" type="VARCHAR2(200 BYTE)"/>
<column name="BCODE" type="VARCHAR2(100 BYTE)"/>
<column name="POSTID" type="VARCHAR2(100 BYTE)"/>
<column name="POSTCODE" type="VARCHAR2(100 BYTE)"/>
<column name="POSTNAME" type="VARCHAR2(200 BYTE)"/>
<column name="ORGID" type="VARCHAR2(100 BYTE)"/>
<column name="ORGCODE" type="VARCHAR2(100 BYTE)"/>
<column name="ORGNAME" type="VARCHAR2(200 BYTE)"/>
<column name="NICKNAME" type="VARCHAR2(36 BYTE)"/>
<column name="EMAIL" type="VARCHAR2(100 BYTE)"/>
<column name="AVATAR" type="VARCHAR2(100 BYTE)"/>
<column name="PHONE" type="VARCHAR2(100 BYTE)"/>
<column name="RESERVER" type="VARCHAR2(100 BYTE)"/>
<column name="USERICON" type="VARCHAR2(100 BYTE)"/>
<column name="SEX" type="VARCHAR2(10 BYTE)"/>
<column name="BIRTHDAY" type="date"/>
<column name="CERTCODE" type="VARCHAR2(36 BYTE)"/>
<column name="ADDR" type="VARCHAR2(200 BYTE)"/>
<column name="THEME" type="VARCHAR2(100 BYTE)"/>
<column name="FONTSIZE" type="VARCHAR2(10 BYTE)"/>
<column name="LANG" type="VARCHAR2(100 BYTE)"/>
<column name="MEMO" type="VARCHAR2(500 BYTE)"/>
<column name="SUPERUSER" type="INTEGER"/>
</createTable>
</changeSet>
<changeSet author="Think (generated)" id="1561433044682-3">
<insert tableName="IBZUSER">
<column name="USERID" value="0100"/>
<column name="PERSONNAME" value="管理员"/>
<column name="USERNAME" value="系统管理员"/>
<column name="USERCODE" value="0100"/>
<column name="LOGINNAME" value="ibzadmin"/>
<column name="SUPERUSER" value="1"/>
<column name="PASSWORD" value="123456"/>
<column name="DOMAINS" value="100000"/>
<column name="MDEPTID"/>
<column name="MDEPTCODE"/>
<column name="MDEPTNAME"/>
<column name="BCODE"/>
<column name="POSTID"/>
<column name="POSTCODE"/>
<column name="POSTNAME"/>
<column name="ORGID"/>
<column name="ORGCODE"/>
<column name="ORGNAME"/>
<column name="NICKNAME"/>
<column name="EMAIL"/>
<column name="AVATAR"/>
<column name="PHONE"/>
<column name="RESERVER"/>
<column name="USERICON"/>
<column name="SEX"/>
<column name="BIRTHDAY"/>
<column name="CERTCODE"/>
<column name="ADDR"/>
<column name="THEME"/>
<column name="FONTSIZE"/>
<column name="LANG"/>
<column name="MEMO"/>
</insert>
</changeSet>
</databaseChangeLog>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.9.xsd">
<changeSet author="Think (generated)" id="1592547336292-1">
<preConditions onFail="MARK_RAN" >
<not >
<tableExists tableName="IBZCFG" />
</not>
</preConditions>
<createTable remarks="配置" tableName="IBZCFG">
<column name="CFGID" remarks="配置标识" type="VARCHAR(100)">
<constraints primaryKey="true"/>
</column>
<column name="SYSTEMID" remarks="系统标识" type="VARCHAR(100)"/>
<column name="CFGTYPE" remarks="配置类型" type="VARCHAR(100)"/>
<column name="TARGETTYPE" remarks="引用对象" type="VARCHAR(100)"/>
<column name="USERID" remarks="用户标识" type="VARCHAR(100)"/>
<column name="CFG" remarks="配置" type="MEDIUMTEXT"/>
<column name="UPDATEDATE" remarks="更新时间" type="datetime"/>
</createTable>
</changeSet>
</databaseChangeLog>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="Think (generated)" id="1566027230162-1">
<preConditions onFail="MARK_RAN" >
<not>
<tableExists tableName="IBZDATAAUDIT" />
</not>
</preConditions>
<createTable remarks="数据审计" tableName="IBZDATAAUDIT">
<column name="DATAAUDITID" remarks="数据审计标识" type="VARCHAR2(100 BYTE)">
<constraints primaryKey="true" primaryKeyName="SYS_C00115093"/>
</column>
<column name="OPPERSONID" remarks="操作人标识" type="VARCHAR2(100 BYTE)"/>
<column name="OPPERSONNAME" remarks="操作人名称" type="VARCHAR2(100 BYTE)"/>
<column name="AUDITTYPE" remarks="审计行为类型" type="VARCHAR2(60 BYTE)"/>
<column name="OPTIME" remarks="操作时间" type="date"/>
<column name="IPADDRESS" remarks="访问地址" type="VARCHAR2(100 BYTE)"/>
<column name="AUDITOBJECTDATA" remarks="审计对象(表数据)" type="VARCHAR2(100 BYTE)"/>
<column name="AUDITOBJECT" remarks="审计对象(表)" type="VARCHAR2(100 BYTE)"/>
<column name="AUDITINFO" remarks="审计明细" type="CLOB"/>
<column name="ISDATACHANGED" remarks="审计数据是否发生变化" type="INTEGER"/>
</createTable>
</changeSet>
</databaseChangeLog>
create schema if not exists a_LAB01_df847bdfd;
set schema a_LAB01_df847bdfd;
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
<!--liquibase启动时需要指定chanlogxml,若无changelog,则使用此xml来初始化liquibase,使liquibase能正常启动 -->
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
<include file="changelog/20190625112530_init_ibizsys.xml" relativeToChangelogFile="true"/>
<include file="h2_table.xml" relativeToChangelogFile="true"/>
<include file="view.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<!--输出实体[DYNADASHBOARD]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-dynadashboard-1-1">
<createTable tableName="T_DYNADASHBOARD">
<column name="DYNADASHBOARDID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DYNADASHBOARD_DYNADASHBOARD"/>
</column>
<column name="DYNADASHBOARDNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="USERID" remarks="" type="VARCHAR(100)">
</column>
<column name="MODELID" remarks="" type="VARCHAR(100)">
</column>
<column name="APPID" remarks="" type="VARCHAR(100)">
</column>
<column name="MODEL" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZAPPCTRL]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizappctrl-1-2">
<createTable tableName="T_IBIZAPPCTRL">
<column name="IBIZAPPCTRLNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="IBIZAPPCTRLID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZAPPCTRL_IBIZAPPCTRLID"/>
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZAPPCTRLTYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="CTRLDESCRIPTION" remarks="" type="VARCHAR(100)">
</column>
<column name="DOCUMENTADDRESS" remarks="" type="VARCHAR(100)">
</column>
<column name="AMOUNT" remarks="" type="INT">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZAPPEDITOR]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizappeditor-1-3">
<createTable tableName="T_IBIZAPPEDITOR">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZAPPEDITORNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZAPPEDITORID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZAPPEDITOR_IBIZAPPEDITOR"/>
</column>
<column name="IBIZAPPEDITORTYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="RDITORDESCRIPTION" remarks="" type="VARCHAR(100)">
</column>
<column name="DOCUMENTADDRESS" remarks="" type="VARCHAR(100)">
</column>
<column name="AMOUNT" remarks="" type="INT">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZAPPEXTENDEDITOR]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizappextendeditor-1-4">
<createTable tableName="T_IBIZAPPEXTENDEDITOR">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZAPPEXTENDEDITORNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="IBIZAPPEXTENDEDITORID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZAPPEXTENDEDITOR_IBIZAPP"/>
</column>
<column name="EXTENSIONFLAG" remarks="" type="VARCHAR(100)">
</column>
<column name="DOCUMENTADDRESS" remarks="" type="VARCHAR(100)">
</column>
<column name="EXTENDEDITORDESCRIPTION" remarks="" type="VARCHAR(100)">
</column>
<column name="AMOUNT" remarks="" type="INT">
</column>
<column name="EXTENDEDITORTYPE" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZAPPVIEW]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizappview-2-5">
<createTable tableName="T_IBIZAPPVIEW">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZAPPVIEWNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="IBIZAPPVIEWID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZAPPVIEW_IBIZAPPVIEWID"/>
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZAPPVIEWTYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="DOCUMENTADDRESS" remarks="" type="VARCHAR(100)">
</column>
<column name="INSTANCEADDRESS" remarks="" type="VARCHAR(100)">
</column>
<column name="VIEWDESCRIPTION" remarks="" type="VARCHAR(100)">
</column>
<column name="AMOUNT" remarks="" type="INT">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZACCOUNT]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizaccount-1-6">
<createTable tableName="T_IBIZACCOUNT">
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="BANKNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZACCOUNTNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="BANKACCOUNTNUM" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZACCOUNTID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZACCOUNT_IBIZACCOUNTID"/>
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZBOOKNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="IBIZBOOKID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZBOOK_IBIZBOOKID"/>
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="AUTHOR" remarks="" type="VARCHAR(100)">
</column>
<column name="PRICE" remarks="" type="FLOAT">
</column>
<column name="PRESS" remarks="" type="VARCHAR(100)">
</column>
<column name="TYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="BOOKNUMBER" remarks="" type="INT">
</column>
<column name="SUBTEXT" remarks="" type="VARCHAR(100)">
</column>
<column name="LENDOUTTIME" remarks="" type="DATETIME">
</column>
<column name="RETURNTIME" remarks="" type="DATETIME">
</column>
<column name="ICON" remarks="" type="TEXT(1048576)">
</column>
<column name="SAILSTATE" remarks="" type="VARCHAR(100)">
</column>
<column name="BORROWSTATUS" remarks="" type="INT">
</column>
<column name="STEPSTATUS" remarks="" type="VARCHAR(100)">
</column>
<column name="BORROWER" remarks="" type="VARCHAR(100)">
</column>
<column name="BORROWWAY" remarks="" type="VARCHAR(60)">
</column>
<column name="RETURNLIB" remarks="" type="VARCHAR(60)">
</column>
<column name="BORROWERID" remarks="" type="VARCHAR(100)">
</column>
<column name="BORROWER1" remarks="" type="TEXT(1048576)">
</column>
<column name="BORROWER1_ID" remarks="" type="VARCHAR(100)">
</column>
<column name="BORROWER2" remarks="" type="VARCHAR(100)">
</column>
<column name="BORROWER2_ID" remarks="" type="VARCHAR(100)">
</column>
<column name="BORROWER3" remarks="" type="TEXT(1048576)">
</column>
<column name="BORROWER3_ID" remarks="" type="VARCHAR(100)">
</column>
<column name="TAG" remarks="" type="TEXT(1048576)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZCPU]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcpu-1-8">
<createTable tableName="T_IBIZCPU">
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZCPUID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZCPU_IBIZCPUID"/>
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZCPUNAME" remarks="" type="VARCHAR(200)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZCUSTOM]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustom-1-9">
<createTable tableName="T_IBIZCUSTOM">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZCUSTOMNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZCUSTOMID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZCUSTOM_IBIZCUSTOMID"/>
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-51-10">
<createTable tableName="T_IBIZCUSTOMER">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="SN" remarks="" type="VARCHAR(100)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="CUSTOMERUID" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZCUSTOMERID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZCUSTOMER_IBIZCUSTOMERID"/>
</column>
<column name="ADDRESS" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZCUSTOMERNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZCUSTOMERMG]数据结构 -->
<!--输出实体[IBIZCUSTOMER_INTF]数据结构 -->
<!--输出实体[IBIZHARDWARE]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizhardware-1-13">
<createTable tableName="T_IBIZHARDWARE">
<column name="UNIT" remarks="" type="VARCHAR(100)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZHARDWARETYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="PRODUCTUID" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZHARDWAREID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZHARDWARE_IBIZHARDWAREID"/>
</column>
<column name="IBIZHARDWARENAME" remarks="" type="VARCHAR(200)">
</column>
<column name="UNITPRICE" remarks="" type="FLOAT">
</column>
<column name="PRODUCER" remarks="" type="VARCHAR(2000)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZORDER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-25-14">
<createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)">
</column>
<column name="ENDTIME" remarks="" type="DATETIME">
</column>
<column name="WFSTATE" remarks="" type="INT">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="OPINION" remarks="" type="TEXT(1048576)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="ORDERTYPE" remarks="" type="VARCHAR(60)">
</column>
<column name="DETAILNUM" remarks="" type="INT">
</column>
<column name="WFINSTANCEID" remarks="" type="VARCHAR(100)">
</column>
<column name="AMOUNT" remarks="" type="FLOAT">
</column>
<column name="ORDERUID" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZORDERID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZORDER_IBIZORDERID"/>
</column>
<column name="ORDERSTATE" remarks="" type="VARCHAR(60)">
</column>
<column name="STARTTIME" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="WFSTEP" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZORDERNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="ORDERTIME" remarks="" type="DATETIME">
</column>
<column name="MEMO" remarks="" type="VARCHAR(2000)">
</column>
<column name="IBIZCUSTOMERID" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZORDERDETAIL]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-1-15">
<createTable tableName="T_IBIZORDERDETAIL">
<column name="IBIZORDERDETAILNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZORDERDETAILA" remarks="" type="VARCHAR(100)">
</column>
<column name="QUANTITY" remarks="" type="INT">
</column>
<column name="IBIZORDERDETAILID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZORDERDETAIL_IBIZORDERDE"/>
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UNITPRICE" remarks="" type="FLOAT">
</column>
<column name="IBIZORDERID" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZUNIPRODUCTID" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZORDERTYPE]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizordertype-1-16">
<createTable tableName="T_IBIZORDERTYPE">
<column name="ENABLE" remarks="" type="INT">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZORDERTYPENAME" remarks="" type="VARCHAR(200)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZORDERTYPEID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZORDERTYPE_IBIZORDERTYPE"/>
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZQJ]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizqj-1-17">
<createTable tableName="T_IBIZQJ">
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZQJNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="IBIZQJID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZQJ_IBIZQJID"/>
</column>
<column name="QJTS" remarks="" type="INT">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="SYQJTS" remarks="" type="INT">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample-1-18">
<createTable tableName="T_IBIZSAMPLE">
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="OSLINK4" remarks="" type="VARCHAR(1000)">
</column>
<column name="TITLE1" remarks="" type="VARCHAR(200)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLENAME" remarks="" type="VARCHAR(200)">
</column>
<column name="OSLINK3" remarks="" type="VARCHAR(1000)">
</column>
<column name="LINK1" remarks="" type="VARCHAR(400)">
</column>
<column name="IBIZSAMPLEID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE_IBIZSAMPLEID"/>
</column>
<column name="TITLE6" remarks="" type="VARCHAR(200)">
</column>
<column name="LINK6" remarks="" type="VARCHAR(400)">
</column>
<column name="TITLE5" remarks="" type="VARCHAR(200)">
</column>
<column name="TITLE4" remarks="" type="VARCHAR(200)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="OSLINK1" remarks="" type="VARCHAR(1000)">
</column>
<column name="OSLINK5" remarks="" type="VARCHAR(1000)">
</column>
<column name="OSLINK6" remarks="" type="VARCHAR(1000)">
</column>
<column name="LINK5" remarks="" type="VARCHAR(400)">
</column>
<column name="LINK3" remarks="" type="VARCHAR(400)">
</column>
<column name="TITLE2" remarks="" type="VARCHAR(200)">
</column>
<column name="OSLINK2" remarks="" type="VARCHAR(1000)">
</column>
<column name="TITLE3" remarks="" type="VARCHAR(200)">
</column>
<column name="LINK4" remarks="" type="VARCHAR(400)">
</column>
<column name="LINK2" remarks="" type="VARCHAR(400)">
</column>
<column name="SAMPLETYPE" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0001]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0001-1-19">
<createTable tableName="T_IBIZSAMPLE0001">
<column name="FIELD01" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD02" remarks="" type="VARCHAR(1000)">
</column>
<column name="FIELD03" remarks="" type="TEXT(1048576)">
</column>
<column name="FIELD04" remarks="" type="TEXT(1048576)">
</column>
<column name="FIELD05" remarks="" type="INT">
</column>
<column name="FIELD06" remarks="" type="FLOAT">
</column>
<column name="FIELD07" remarks="" type="DECIMAL(38,2)">
</column>
<column name="FIELD08" remarks="" type="DATETIME">
</column>
<column name="FIELD09" remarks="" type="DATETIME">
</column>
<column name="FIELD10" remarks="" type="DATETIME">
</column>
<column name="FIELD11" remarks="" type="INT">
</column>
<column name="FIELD12" remarks="" type="INT">
</column>
<column name="FIELD13" remarks="" type="INT">
</column>
<column name="FIELD14" remarks="" type="VARCHAR(60)">
</column>
<column name="FIELD15" remarks="" type="INT">
</column>
<column name="FIELD16" remarks="" type="VARCHAR(60)">
</column>
<column name="FIELD24" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD17" remarks="" type="INT">
</column>
<column name="FIELD18" remarks="" type="VARCHAR(60)">
</column>
<column name="FIELD19" remarks="" type="VARCHAR(60)">
</column>
<column name="FIELD20" remarks="" type="VARCHAR(60)">
</column>
<column name="FIELD21" remarks="" type="DATETIME">
</column>
<column name="FIELD22" remarks="" type="VARCHAR(60)">
</column>
<column name="FIELD27" remarks="" type="INT">
</column>
<column name="IBIZSAMPLE0001NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0001ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0001_IBIZSAMPLE00"/>
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="FIELD" remarks="" type="BIGINT">
</column>
<column name="FIELD2" remarks="" type="DECIMAL(38,2)">
</column>
<column name="IBIZSAMPLE0002ID" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZSAMPLE0002NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="COLOR" remarks="" type="VARCHAR(100)">
</column>
<column name="IP" remarks="" type="VARCHAR(100)">
</column>
<column name="ADDRESS" remarks="" type="VARCHAR(100)">
</column>
<column name="LONGITUDE" remarks="" type="VARCHAR(100)">
</column>
<column name="LATITUDE" remarks="" type="VARCHAR(100)">
</column>
<column name="PICTURE" remarks="" type="VARCHAR(100)">
</column>
<column name="CITY" remarks="" type="VARCHAR(100)">
</column>
<column name="DISKIMG" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0002]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0002-1-20">
<createTable tableName="T_IBIZSAMPLE0002">
<column name="DE" remarks="" type="VARCHAR(100)">
</column>
<column name="DENUM" remarks="" type="INT">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0002NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0002ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0002_IBIZSAMPLE00"/>
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0003]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0003-1-21">
<createTable tableName="T_IBIZSAMPLE0003">
<column name="IBIZSAMPLE0003NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="MEMO" remarks="" type="VARCHAR(2000)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="FIELD01" remarks="" type="VARCHAR(4000)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0003ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0003_IBIZSAMPLE00"/>
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="PIBIZSAMPLE0003ID" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0004]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0004-1-22">
<createTable tableName="T_IBIZSAMPLE0004">
<column name="MEMO" remarks="" type="VARCHAR(2000)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="WFMVSTATE" remarks="" type="VARCHAR(60)">
</column>
<column name="WFMVTYPE" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="MVDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="WFMVSTEP" remarks="" type="VARCHAR(60)">
</column>
<column name="WFVERSION" remarks="" type="VARCHAR(100)">
</column>
<column name="WFSTATE" remarks="" type="INT">
</column>
<column name="IBIZSAMPLE0004NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="WFINSTANCEID" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZSAMPLE0004ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0004_IBIZSAMPLE00"/>
</column>
<column name="JE" remarks="" type="DECIMAL(38,2)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0005]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0005-1-23">
<createTable tableName="T_IBIZSAMPLE0005">
<column name="JE" remarks="" type="DECIMAL(38,2)">
</column>
<column name="WFINSTANCEID" remarks="" type="VARCHAR(100)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="MMDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZSAMPLE0005ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0005_IBIZSAMPLE00"/>
</column>
<column name="WFVERSION" remarks="" type="VARCHAR(100)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="WFMMSTEP" remarks="" type="VARCHAR(60)">
</column>
<column name="WFMMTYPE" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="WFSTATE" remarks="" type="INT">
</column>
<column name="IBIZSAMPLE0005NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="MEMO" remarks="" type="VARCHAR(2000)">
</column>
<column name="WFMMSTATE" remarks="" type="VARCHAR(60)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0006]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0006-1-24">
<createTable tableName="T_IBIZSAMPLE0006">
<column name="YWSTATE" remarks="" type="VARCHAR(60)">
</column>
<column name="DNUM" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZSAMPLE0006ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0006_IBIZSAMPLE00"/>
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="MEMO" remarks="" type="VARCHAR(2000)">
</column>
<column name="WFINSTANCEID" remarks="" type="VARCHAR(100)">
</column>
<column name="HQDEPT" remarks="" type="VARCHAR(4000)">
</column>
<column name="DDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZSAMPLE0006NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="WFSTATE" remarks="" type="INT">
</column>
<column name="WFVERSION" remarks="" type="VARCHAR(100)">
</column>
<column name="WFSTEP" remarks="" type="VARCHAR(60)">
</column>
<column name="DTEXT" remarks="" type="TEXT(1048576)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0007]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0007-1-25">
<createTable tableName="T_IBIZSAMPLE0007">
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZSAMPLE0007ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0007_IBIZSAMPLE00"/>
</column>
<column name="WFVERSION" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZSAMPLE0007NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="WFSTATE" remarks="" type="INT">
</column>
<column name="YWSTATE" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="WFINSTANCEID" remarks="" type="VARCHAR(100)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="WFSTEP" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0006ID" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0008]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0008-1-26">
<createTable tableName="T_IBIZSAMPLE0008">
<column name="WFSTEP" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="YWSTATE" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0008ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0008_IBIZSAMPLE00"/>
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="WFVERSION" remarks="" type="VARCHAR(100)">
</column>
<column name="WFSTATE" remarks="" type="INT">
</column>
<column name="NEXTPERSON" remarks="" type="TEXT(1048576)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="WFINSTANCEID" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZSAMPLE0008NAME" remarks="" type="VARCHAR(200)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0009]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0009-1-27">
<createTable tableName="T_IBIZSAMPLE0009">
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="DATE" remarks="" type="DATETIME">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="SP" remarks="" type="DECIMAL(38,2)">
</column>
<column name="IBIZSAMPLE0009NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="IBIZSAMPLE0009ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0009_IBIZSAMPLE00"/>
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="SPMC" remarks="" type="VARCHAR(100)">
</column>
<column name="PD" remarks="" type="DECIMAL(38,2)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="PG" remarks="" type="DECIMAL(38,2)">
</column>
<column name="KP" remarks="" type="DECIMAL(38,2)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0010]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0010-1-28">
<createTable tableName="T_IBIZSAMPLE0010">
<column name="ORDERTYPE" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="MEMO" remarks="" type="VARCHAR(2000)">
</column>
<column name="IBIZSAMPLE0010NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="ORDERUID" remarks="" type="VARCHAR(100)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="ORDERTIME" remarks="" type="DATETIME">
</column>
<column name="IBIZSAMPLE0010ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0010_IBIZSAMPLE00"/>
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0011]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0011-1-29">
<createTable tableName="T_IBIZSAMPLE0011">
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="QUANTITY" remarks="" type="INT">
</column>
<column name="IBIZSAMPLE0011ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0011_IBIZSAMPLE00"/>
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZSAMPLE0011NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="IBIZSAMPLE0010ID" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZUNIPRODUCTID" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0012]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0012-1-30">
<createTable tableName="T_IBIZSAMPLE0012">
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZSAMPLE0012ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0012_IBIZSAMPLE00"/>
</column>
<column name="ORDERUID" remarks="" type="VARCHAR(100)">
</column>
<column name="ORDERTIME" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="MEMO" remarks="" type="VARCHAR(2000)">
</column>
<column name="IBIZSAMPLE0012NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="ORDERTYPE" remarks="" type="VARCHAR(60)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0013]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0013-1-31">
<createTable tableName="T_IBIZSAMPLE0013">
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0013NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="QUANTITY" remarks="" type="INT">
</column>
<column name="IBIZSAMPLE0013ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0013_IBIZSAMPLE00"/>
</column>
<column name="IBIZUNIPRODUCTID" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZSAMPLE0012ID" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0014]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0014-1-32">
<createTable tableName="T_IBIZSAMPLE0014">
<column name="IBIZSAMPLE0014NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="IBIZSAMPLE0014ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0014_IBIZSAMPLE00"/>
</column>
<column name="SN" remarks="" type="VARCHAR(100)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0003ID" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0015]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0015-1-33">
<createTable tableName="T_IBIZSAMPLE0015">
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="CONTENT" remarks="" type="VARCHAR(2000)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0015NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="SN" remarks="" type="VARCHAR(100)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0015ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0015_IBIZSAMPLE00"/>
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0016]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0016-1-34">
<createTable tableName="T_IBIZSAMPLE0016">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0016ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0016_IBIZSAMPLE00"/>
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZSAMPLE0016NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="IBIZSAMPLE0015ID" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZSAMPLE0014ID" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0017]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0017-1-35">
<createTable tableName="T_IBIZSAMPLE0017">
<column name="ORDERUID" remarks="" type="VARCHAR(100)">
</column>
<column name="MEMO" remarks="" type="VARCHAR(2000)">
</column>
<column name="DETAILNUM" remarks="" type="INT">
</column>
<column name="AMOUNT" remarks="" type="FLOAT">
</column>
<column name="ORDERTIME" remarks="" type="DATETIME">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0017NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="ORDERTYPE" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0017ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0017_IBIZSAMPLE00"/>
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0018]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0018-1-36">
<createTable tableName="T_IBIZSAMPLE0018">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0018ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0018_IBIZSAMPLE00"/>
</column>
<column name="SN" remarks="" type="INT">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZSAMPLE0018NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="IMAGE" remarks="" type="VARCHAR(100)">
</column>
<column name="DESCRIPTION" remarks="" type="VARCHAR(2000)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0019]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0019-3-37">
<createTable tableName="T_IBIZSAMPLE0019">
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0019ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0019_IBIZSAMPLE00"/>
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZSAMPLE0019NAME" remarks="" type="VARCHAR(200)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0020]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0020-1-38">
<createTable tableName="T_IBIZSAMPLE0020">
<column name="IBIZSAMPLE0020NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZSAMPLE0020ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0020_IBIZSAMPLE00"/>
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSAMPLE0019NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="IBIZSAMPLE0019ID" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSAMPLE0021]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0021-1-39">
<createTable tableName="T_IBIZSAMPLE0021">
<column name="IBIZSAMPLE0021ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0021_IBIZSAMPLE00"/>
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZSAMPLE0021NAME" remarks="" type="VARCHAR(200)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="ORDERSTATE" remarks="" type="VARCHAR(60)">
</column>
<column name="ORDERTIME" remarks="" type="DATETIME">
</column>
<column name="MEMO" remarks="" type="VARCHAR(2000)">
</column>
<column name="CURORGID" remarks="" type="VARCHAR(100)">
</column>
<column name="CURDEPTID" remarks="" type="VARCHAR(100)">
</column>
<column name="AMOUNT" remarks="" type="FLOAT">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSOFTWARESUIT]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsoftwaresuit-1-40">
<createTable tableName="T_IBIZSOFTWARESUIT">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZSOFTWARESUITID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSOFTWARESUIT_IBIZSOFTWA"/>
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZSOFTWARESUITNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSTORAGE]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizstorage-1-41">
<createTable tableName="T_IBIZSTORAGE">
<column name="IBIZSTORAGEID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSTORAGE_IBIZSTORAGEID"/>
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZSTORAGENAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZSUPPLIER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsupplier-1-42">
<createTable tableName="t_supplier">
<column name="DELETEFLAG" remarks="" type="VARCHAR(100)">
</column>
<column name="CREATEBY" remarks="" type="VARCHAR(100)">
</column>
<column name="UPDATEBY" remarks="" type="VARCHAR(100)">
</column>
<column name="UPDATETIME" remarks="" type="DATETIME">
</column>
<column name="EMAIL" remarks="" type="VARCHAR(100)">
</column>
<column name="SUPPLIERNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATETIME" remarks="" type="DATETIME">
</column>
<column name="ADDRESS" remarks="" type="VARCHAR(100)">
</column>
<column name="SUPPLIERID" remarks="" type="VARCHAR(60)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSUPPLIER_SUPPLIERID"/>
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZTASK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibiztask-1-43">
<createTable tableName="T_IBIZTASK">
<column name="IBIZTASKID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZTASK_IBIZTASKID"/>
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="IBIZTASKNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="TASKTEAM" remarks="" type="TEXT(1048576)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZTASKTEAM]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibiztaskteam-1-44">
<createTable tableName="T_IBIZTASKTEAM">
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZTASKTEAMNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="IBIZTASKTEAMID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZTASKTEAM_IBIZTASKTEAMID"/>
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="ROOT" remarks="" type="VARCHAR(100)">
</column>
<column name="ACCOUNT" remarks="" type="VARCHAR(100)">
</column>
<column name="ROLE" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZUNIPRODUCT]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizuniproduct-11-45">
<createTable tableName="T_IBIZUNIPRODUCT">
<column name="UNITPRICE" remarks="" type="FLOAT">
</column>
<column name="IBIZUNIPRODUCTNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="UNIT" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZUNIPRODUCTTYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZUNIPRODUCTID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZUNIPRODUCT_IBIZUNIPRODU"/>
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZVIEWMSG]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizviewmsg-1-46">
<createTable tableName="T_IBIZVIEWMSG">
<column name="IBIZVIEWMSGID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZVIEWMSG_IBIZVIEWMSGID"/>
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="IBIZVIEWMSGNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
</createTable>
</changeSet>
<!--输出实体[MICROCOMPONENT]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-microcomponent-1-47">
<createTable tableName="T_MICROCOMPONENT">
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="MICROCOMPONENTNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="MICROCOMPONENTID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_MICROCOMPONENT_MICROCOMPONE"/>
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="FIELD" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD2" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD3" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD4" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD5" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD6" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD7" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD8" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD9" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD10" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD11" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD12" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD13" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD14" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD15" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD16" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD17" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD18" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD19" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD20" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD21" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD22" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD23" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD24" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD25" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD26" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD27" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD28" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD29" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD30" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD31" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD32" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD33" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD34" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD35" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD36" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD37" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD38" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD39" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELD40" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[DYNADASHBOARD]外键关系 -->
<!--输出实体[IBIZAPPCTRL]外键关系 -->
<!--输出实体[IBIZAPPEDITOR]外键关系 -->
<!--输出实体[IBIZAPPEXTENDEDITOR]外键关系 -->
<!--输出实体[IBIZAPPVIEW]外键关系 -->
<!--输出实体[IBIZACCOUNT]外键关系 -->
<!--输出实体[IBIZBOOK]外键关系 -->
<!--输出实体[IBIZCPU]外键关系 -->
<!--输出实体[IBIZCUSTOM]外键关系 -->
<!--输出实体[IBIZCUSTOMER]外键关系 -->
<!--输出实体[IBIZCUSTOMERMG]外键关系 -->
<!--输出实体[IBIZCUSTOMER_INTF]外键关系 -->
<!--输出实体[IBIZHARDWARE]外键关系 -->
<!--输出实体[IBIZORDER]外键关系 -->
<!--输出实体[IBIZORDERDETAIL]外键关系 -->
<!--输出实体[IBIZORDERTYPE]外键关系 -->
<!--输出实体[IBIZQJ]外键关系 -->
<!--输出实体[IBIZSAMPLE]外键关系 -->
<!--输出实体[IBIZSAMPLE0001]外键关系 -->
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0001-1-48">
<addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0002ID" baseTableName="T_IBIZSAMPLE0001" constraintName="DER1N_IBIZSAMPLE0001_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0002ID" referencedTableName="T_IBIZSAMPLE0002" validate="true"/>
</changeSet>
<!--输出实体[IBIZSAMPLE0002]外键关系 -->
<!--输出实体[IBIZSAMPLE0003]外键关系 -->
<!--输出实体[IBIZSAMPLE0004]外键关系 -->
<!--输出实体[IBIZSAMPLE0005]外键关系 -->
<!--输出实体[IBIZSAMPLE0006]外键关系 -->
<!--输出实体[IBIZSAMPLE0007]外键关系 -->
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0007-1-49">
<addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0006ID" baseTableName="T_IBIZSAMPLE0007" constraintName="DER1N_IBIZSAMPLE0007_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0006ID" referencedTableName="T_IBIZSAMPLE0006" validate="true"/>
</changeSet>
<!--输出实体[IBIZSAMPLE0008]外键关系 -->
<!--输出实体[IBIZSAMPLE0009]外键关系 -->
<!--输出实体[IBIZSAMPLE0010]外键关系 -->
<!--输出实体[IBIZSAMPLE0011]外键关系 -->
<!--输出实体[IBIZSAMPLE0012]外键关系 -->
<!--输出实体[IBIZSAMPLE0013]外键关系 -->
<!--输出实体[IBIZSAMPLE0014]外键关系 -->
<!--输出实体[IBIZSAMPLE0015]外键关系 -->
<!--输出实体[IBIZSAMPLE0016]外键关系 -->
<!--输出实体[IBIZSAMPLE0017]外键关系 -->
<!--输出实体[IBIZSAMPLE0018]外键关系 -->
<!--输出实体[IBIZSAMPLE0019]外键关系 -->
<!--输出实体[IBIZSAMPLE0020]外键关系 -->
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0020-1-50">
<addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0019ID" baseTableName="T_IBIZSAMPLE0020" constraintName="DER1N_IBIZSAMPLE0020_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0019ID" referencedTableName="T_IBIZSAMPLE0019" validate="true"/>
</changeSet>
<!--输出实体[IBIZSAMPLE0021]外键关系 -->
<!--输出实体[IBIZSOFTWARESUIT]外键关系 -->
<!--输出实体[IBIZSTORAGE]外键关系 -->
<!--输出实体[IBIZSUPPLIER]外键关系 -->
<!--输出实体[IBIZTASK]外键关系 -->
<!--输出实体[IBIZTASKTEAM]外键关系 -->
<changeSet author="a_LAB01_df847bdfd" id="fk-ibiztaskteam-1-51">
<addForeignKeyConstraint baseColumnNames="ROOT" baseTableName="T_IBIZTASKTEAM" constraintName="DER1N_IBIZTASKTEAM_IBIZTASK_RO" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZTASKID" referencedTableName="T_IBIZTASK" validate="true"/>
</changeSet>
<!--输出实体[IBIZUNIPRODUCT]外键关系 -->
<!--输出实体[IBIZVIEWMSG]外键关系 -->
<!--输出实体[MICROCOMPONENT]外键关系 -->
</databaseChangeLog>
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
<includeAll path="liquibase/changelog/"/>
<include file="view.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
<includeAll path="liquibase/changelog/"/>
</databaseChangeLog>
\ No newline at end of file
此文件只用于让模板能发出[rollback]文件夹,无实际用途
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<!--输出实体[IBIZACCOUNT]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizaccount-1-1" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZACCOUNT">
<![CDATA[ SELECT t1.[BANKACCOUNTNUM], t1.[BANKNAME], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZACCOUNTID], t1.[IBIZACCOUNTNAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZACCOUNT] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZCPU]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcpu-1-2" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCPU">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZCPUID], t1.[IBIZCPUNAME], t11.[IBIZHARDWARETYPE], t11.[PRODUCER], t11.[PRODUCTUID], t11.[UNIT], t11.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCPU] t1 LEFT JOIN T_IBIZHARDWARE t11 ON t1.IBIZCPUID = t11.IBIZHARDWAREID ]]>
</createView>
</changeSet>
<!--输出实体[IBIZCUSTOM]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustom-1-3" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOM">
<![CDATA[ SELECT t1.CREATEDATE, t1.CREATEMAN, t1.IBIZCUSTOMID, t1.IBIZCUSTOMNAME, t1.UPDATEDATE, t1.UPDATEMAN FROM T_IBIZCUSTOM t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-51-4" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOMER">
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZCUSTOMERMG]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomermg-1-5" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOMERMG">
<![CDATA[ SELECT t1.[ADDRESS], t11.[BANKACCOUNTNUM], t11.[BANKNAME], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME] FROM [T_IBIZCUSTOMER] t1 LEFT JOIN T_IBIZACCOUNT t11 ON t1.IBIZCUSTOMERID = t11.IBIZACCOUNTID ]]>
</createView>
</changeSet>
<!--输出实体[IBIZHARDWARE]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizhardware-1-7" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZHARDWARE">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZHARDWAREID], t1.[IBIZHARDWARENAME], t1.[IBIZHARDWARETYPE], t1.[PRODUCER], t1.[PRODUCTUID], t1.[UNIT], t1.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZHARDWARE] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-25-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER">
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView>
</changeSet>
<!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-1-9" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDERDETAIL">
<![CDATA[ SELECT t1.[QUANTITY]*t11.[UNITPRICE] AS [AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZORDERDETAILA], t1.[IBIZORDERDETAILID], t1.[IBIZORDERDETAILNAME], t1.[IBIZORDERID], t21.[IBIZORDERNAME], t1.[IBIZUNIPRODUCTID], t11.[IBIZUNIPRODUCTNAME], t21.[ORDERUID], t1.[QUANTITY], t11.[UNIT], t11.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZORDERDETAIL] t1 LEFT JOIN T_IBIZUNIPRODUCT t11 ON t1.IBIZUNIPRODUCTID = t11.IBIZUNIPRODUCTID LEFT JOIN T_IBIZORDER t21 ON t1.IBIZORDERID = t21.IBIZORDERID ]]>
</createView>
</changeSet>
<!--输出实体[IBIZORDERTYPE]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizordertype-1-10" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDERTYPE">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[ENABLE], t1.[IBIZORDERTYPEID], t1.[IBIZORDERTYPENAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZORDERTYPE] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZQJ]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizqj-1-11" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZQJ">
<![CDATA[ SELECT t1.CREATEDATE, t1.CREATEMAN, t1.IBIZQJID, t1.IBIZQJNAME, t1.QJTS, t1.SYQJTS, t1.UPDATEDATE, t1.UPDATEMAN FROM T_IBIZQJ t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample-1-12" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLEID], t1.[IBIZSAMPLENAME], t1.[LINK1], t1.[LINK2], t1.[LINK3], t1.[LINK4], t1.[LINK5], t1.[LINK6], t1.[OSLINK1], t1.[OSLINK2], t1.[OSLINK3], t1.[OSLINK4], t1.[OSLINK5], t1.[OSLINK6], t1.[SAMPLETYPE], t1.[TITLE1], t1.[TITLE2], t1.[TITLE3], t1.[TITLE4], t1.[TITLE5], t1.[TITLE6], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0001]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0001-1-13" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0001">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[FIELD02], t1.[FIELD05], t1.[FIELD06], t1.[FIELD07], t1.[FIELD08], t1.[FIELD09], t1.[FIELD10], t1.[FIELD11], t1.[FIELD12], t1.[FIELD13], t1.[FIELD14], t1.[FIELD15], t1.[FIELD16], t1.[FIELD17], t1.[FIELD18], t1.[FIELD19], t1.[FIELD20], t1.[FIELD21], t1.[FIELD22], t1.[FIELD23], t1.[FIELD24], t1.[FIELD25], t1.[FIELD26], t1.[FIELD27], t1.[IBIZSAMPLE0001ID], t1.[IBIZSAMPLE0001NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0001] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0002]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0002-1-14" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0002">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[DE], t1.[DENUM], t1.[IBIZSAMPLE0002ID], t1.[IBIZSAMPLE0002NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0002] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0003]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0003-1-15" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0003">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[IBIZSAMPLE0003ID], t1.[IBIZSAMPLE0003NAME], t1.[MEMO], t1.[PIBIZSAMPLE0003ID], t11.[IBIZSAMPLE0003NAME] AS [PIBIZSAMPLE0003NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0003] t1 LEFT JOIN T_IBIZSAMPLE0003 t11 ON t1.PIBIZSAMPLE0003ID = t11.IBIZSAMPLE0003ID ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0004]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0004-1-16" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0004">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0004ID], t1.[IBIZSAMPLE0004NAME], t1.[JE], t1.[MEMO], t1.[MVDATE], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFMVSTATE], t1.[WFMVSTEP], t1.[WFMVTYPE], t1.[WFSTATE], t1.[WFVERSION] FROM [T_IBIZSAMPLE0004] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0005]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0005-1-17" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0005">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0005ID], t1.[IBIZSAMPLE0005NAME], t1.[JE], t1.[MEMO], t1.[MMDATE], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFMMSTATE], t1.[WFMMSTEP], t1.[WFMMTYPE], t1.[WFSTATE], t1.[WFVERSION] FROM [T_IBIZSAMPLE0005] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0006]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0006-1-18" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0006">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[DDATE], t1.[DNUM], t1.[HQDEPT], t1.[IBIZSAMPLE0006ID], t1.[IBIZSAMPLE0006NAME], t1.[MEMO], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP], t1.[WFVERSION], t1.[YWSTATE] FROM [T_IBIZSAMPLE0006] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0007]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0007-1-19" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0007">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t11.[DDATE], t11.[DNUM], t1.[IBIZSAMPLE0006ID], t11.[IBIZSAMPLE0006NAME], t1.[IBIZSAMPLE0007ID], t1.[IBIZSAMPLE0007NAME], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP], t1.[WFVERSION], t1.[YWSTATE] FROM [T_IBIZSAMPLE0007] t1 LEFT JOIN T_IBIZSAMPLE0006 t11 ON t1.IBIZSAMPLE0006ID = t11.IBIZSAMPLE0006ID ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0008]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0008-1-20" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0008">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0008ID], t1.[IBIZSAMPLE0008NAME], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP], t1.[WFVERSION], t1.[YWSTATE] FROM [T_IBIZSAMPLE0008] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0009]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0009-1-21" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0009">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[DATE], t1.[IBIZSAMPLE0009ID], t1.[IBIZSAMPLE0009NAME], t1.[KP], t1.[PD], t1.[PG], t1.[SP], t1.[SPMC], convert(varchar(50),t1.[KP])+';'+convert(varchar(50),t1.[PG])+';'+convert(varchar(50),t1.[PD])+';'+convert(varchar(50),t1.[SP])+';' AS [TJ], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0009] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0010]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0010-1-22" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0010">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0010ID], t1.[IBIZSAMPLE0010NAME], t1.[MEMO], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0010] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0011]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0011-1-23" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0011">
<![CDATA[ SELECT t1.[QUANTITY]*t21.[UNITPRICE] AS [AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0010ID], t11.[IBIZSAMPLE0010NAME], t1.[IBIZSAMPLE0011ID], t1.[IBIZSAMPLE0011NAME], t1.[IBIZUNIPRODUCTID], t21.[IBIZUNIPRODUCTNAME], t1.[QUANTITY], t21.[UNIT], t21.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0011] t1 LEFT JOIN T_IBIZSAMPLE0010 t11 ON t1.IBIZSAMPLE0010ID = t11.IBIZSAMPLE0010ID LEFT JOIN T_IBIZUNIPRODUCT t21 ON t1.IBIZUNIPRODUCTID = t21.IBIZUNIPRODUCTID ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0012]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0012-1-24" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0012">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0012ID], t1.[IBIZSAMPLE0012NAME], t1.[MEMO], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0012] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0013]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0013-1-25" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0013">
<![CDATA[ SELECT t1.[QUANTITY]*t21.[UNITPRICE] AS [AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0012ID], t11.[IBIZSAMPLE0012NAME], t1.[IBIZSAMPLE0013ID], t1.[IBIZSAMPLE0013NAME], t1.[IBIZUNIPRODUCTID], t21.[IBIZUNIPRODUCTNAME], t1.[QUANTITY], t21.[UNIT], t21.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0013] t1 LEFT JOIN T_IBIZSAMPLE0012 t11 ON t1.IBIZSAMPLE0012ID = t11.IBIZSAMPLE0012ID LEFT JOIN T_IBIZUNIPRODUCT t21 ON t1.IBIZUNIPRODUCTID = t21.IBIZUNIPRODUCTID ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0014]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0014-1-26" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0014">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0014ID], t1.[IBIZSAMPLE0014NAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0014] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0015]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0015-1-27" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0015">
<![CDATA[ SELECT t1.[CONTENT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0015ID], t1.[IBIZSAMPLE0015NAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0015] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0016]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0016-1-28" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0016">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0014ID], t21.[IBIZSAMPLE0014NAME], t1.[IBIZSAMPLE0015ID], t11.[IBIZSAMPLE0015NAME], t1.[IBIZSAMPLE0016ID], t1.[IBIZSAMPLE0016NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0016] t1 LEFT JOIN T_IBIZSAMPLE0015 t11 ON t1.IBIZSAMPLE0015ID = t11.IBIZSAMPLE0015ID LEFT JOIN T_IBIZSAMPLE0014 t21 ON t1.IBIZSAMPLE0014ID = t21.IBIZSAMPLE0014ID ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0017]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0017-1-29" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0017">
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZSAMPLE0017ID], t1.[IBIZSAMPLE0017NAME], t1.[MEMO], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0017] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0018]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0018-1-30" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0018">
<![CDATA[ SELECT t1.CREATEDATE, t1.CREATEMAN, t1.DESCRIPTION, t1.IBIZSAMPLE0018ID, t1.IBIZSAMPLE0018NAME, t1.IMAGE, t1.SN, t1.UPDATEDATE, t1.UPDATEMAN FROM T_IBIZSAMPLE0018 t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0019]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0019-3-31" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0019">
<![CDATA[ SELECT t1.CREATEDATE, t1.CREATEMAN, t1.IBIZSAMPLE0019ID, t1.IBIZSAMPLE0019NAME, t1.UPDATEDATE, t1.UPDATEMAN FROM T_IBIZSAMPLE0019 t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0020]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0020-1-32" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0020">
<![CDATA[ SELECT t1.CREATEDATE, t1.CREATEMAN, t1.IBIZSAMPLE0019ID, t1.IBIZSAMPLE0019NAME, t1.IBIZSAMPLE0020ID, t1.IBIZSAMPLE0020NAME, t1.UPDATEDATE, t1.UPDATEMAN FROM T_IBIZSAMPLE0020 t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSOFTWARESUIT]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsoftwaresuit-1-33" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSOFTWARESUIT">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSOFTWARESUITID], t1.[IBIZSOFTWARESUITNAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSOFTWARESUIT] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSTORAGE]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizstorage-1-34" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSTORAGE">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t11.[IBIZHARDWARETYPE], t1.[IBIZSTORAGEID], t1.[IBIZSTORAGENAME], t11.[PRODUCER], t11.[PRODUCTUID], t11.[UNIT], t11.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSTORAGE] t1 LEFT JOIN T_IBIZHARDWARE t11 ON t1.IBIZSTORAGEID = t11.IBIZHARDWAREID ]]>
</createView>
</changeSet>
<!--输出实体[IBIZUNIPRODUCT]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizuniproduct-11-35" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZUNIPRODUCT">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZUNIPRODUCTID], t1.[IBIZUNIPRODUCTNAME], t1.[IBIZUNIPRODUCTTYPE], t1.[UNIT], t1.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZUNIPRODUCT] t1 ]]>
</createView>
</changeSet>
</databaseChangeLog>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:g="http://www.jboss.org/drools/flow/gpd" xmlns:tns="http://www.jboss.org/drools" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" expressionLanguage="http://www.mvel.org/2.0" id="Definition" name="" targetNamespace="http://www.jboss.org/drools" typeLanguage="http://www.java.com/javaTypes">
<process id="cn.ibizlab.core.extensions.service.logic.execute" isClosed="false" isExecutable="true" name="sample_ibizorderdetail_countmoney.execLogic" processType="Private" tns:packageName="cn.ibizlab.core.extensions.service.logic.execute">
<extensionElements>
<tns:import name="java.util.Map"/>
<tns:import name="org.springframework.util.StringUtils"/>
<tns:import name="cn.ibizlab.util.helper.RuleUtils"/>
</extensionElements>
<startEvent id="begin" isInterrupting="true"/>
<endEvent id="prepareparam1_end" name="end"/>
<callActivity activiti:exclusive="true" calledElement="cn.ibizlab.core.sample.service.logic.ibizorderdetailcountmoney" id="CountMoney" name="IBIZOrderDetailCountMoneyRuleFlow.bpmn"/>
<sequenceFlow id="begin_CountMoney" sourceRef="begin" targetRef="CountMoney"/>
<sequenceFlow id="CountMoney_CountMoney" sourceRef="CountMoney" targetRef="prepareparam1_end"/>
</process>
</definitions>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:g="http://www.jboss.org/drools/flow/gpd" xmlns:tns="http://www.jboss.org/drools" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" expressionLanguage="http://www.mvel.org/2.0" id="Definition" name="" targetNamespace="http://www.jboss.org/drools" typeLanguage="http://www.java.com/javaTypes">
<process id="cn.ibizlab.core.extensions.service.logic.execute" isClosed="false" isExecutable="true" name="sample_ibizorderdetail_getunitandprice.execLogic" processType="Private" tns:packageName="cn.ibizlab.core.extensions.service.logic.execute">
<extensionElements>
<tns:import name="java.util.Map"/>
<tns:import name="org.springframework.util.StringUtils"/>
<tns:import name="cn.ibizlab.util.helper.RuleUtils"/>
</extensionElements>
<startEvent id="begin" isInterrupting="true"/>
<endEvent id="prepareparam1_end" name="end"/>
<callActivity activiti:exclusive="true" calledElement="cn.ibizlab.core.sample.service.logic.ibizorderdetailgetunitandprice" id="GetUnitAndPrice" name="IBIZOrderDetailGetUnitAndPriceRuleFlow.bpmn"/>
<sequenceFlow id="begin_GetUnitAndPrice" sourceRef="begin" targetRef="GetUnitAndPrice"/>
<sequenceFlow id="GetUnitAndPrice_GetUnitAndPrice" sourceRef="GetUnitAndPrice" targetRef="prepareparam1_end"/>
</process>
</definitions>
package cn.ibizlab.sample.logic.ibizorderdetaillogic.countmoney;
import java.util.Map;
import java.util.HashMap;
import com.alibaba.fastjson.JSONObject;
import org.springframework.util.StringUtils;
import org.springframework.util.ObjectUtils;
import cn.ibizlab.util.errors.BadRequestAlertException;
global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailcountmoneydefault;
global cn.ibizlab.core.sample.service.IIBIZOrderDetailService iBzSysIbizorderdetailDefaultService;
global cn.ibizlab.util.security.AuthenticationUser curuser;
no-loop
//逻辑处理节点[开始]
rule "begin"
ruleflow-group "ibizorderdetailcountmoneybegin"
when
then
end
//逻辑处理节点[统计金额]
rule "rawsqlcall1"
ruleflow-group "ibizorderdetailcountmoneyrawsqlcall1"
when
then
Map param =new HashMap();
param.put("param0",ibizorderdetailcountmoneydefault.get("quantity"));
param.put("param1",ibizorderdetailcountmoneydefault.get("unitprice"));
String strSql="select (#{et.param0}*#{et.param1}) as AMOUNT from dual";
java.util.List<JSONObject> entities=iBzSysIbizorderdetailDefaultService.select(strSql,param);//SQL调用
if(entities.size()>0 && !ObjectUtils.isEmpty(entities.get(0))){
JSONObject entity=entities.get(0);
for (Map.Entry entry : entity.entrySet()) {
ibizorderdetailcountmoneydefault.set(String.valueOf(entry.getKey()),entry.getValue());
}
}
update(ibizorderdetailcountmoneydefault);//更新fact中变量值
end
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:g="http://www.jboss.org/drools/flow/gpd" xmlns:tns="http://www.jboss.org/drools" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" expressionLanguage="http://www.mvel.org/2.0" id="Definition" name="" targetNamespace="http://www.jboss.org/drools" typeLanguage="http://www.java.com/javaTypes">
<process id="cn.ibizlab.core.sample.service.logic.ibizorderdetailcountmoney" isClosed="false" isExecutable="true" name="sample_ibizorderdetail_countmoney_RuleFlow" processType="Private" tns:packageName="cn.ibizlab.core.sample.service.logic.ibizorderdetailcountmoney">
<extensionElements>
<tns:import name="java.util.Map" />
<tns:import name="org.springframework.util.StringUtils"/>
<tns:import name="cn.ibizlab.util.helper.RuleUtils"/>
<tns:metaData express="" name="ibizorderdetailcountmoneydefault" type="entity"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))" name="iBzSysIbizorderdetailDefaultService" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/>
<tns:global identifier="ibizorderdetailcountmoneydefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" />
</extensionElements>
<startEvent id="begin" isInterrupting="true"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailcountmoneyrawsqlcall1" id="rawsqlcall1" implementation="http://www.jboss.org/drools/rule" name="统计金额"/>
<endEvent id="rawsqlcall1_end" name="end"/>
<sequenceFlow id="rawsqlcall1_end_line" sourceRef="rawsqlcall1" targetRef="rawsqlcall1_end"/>
<sequenceFlow id="begin_rawsqlcall1" sourceRef="begin" targetRef="rawsqlcall1">
</sequenceFlow>
</process>
</definitions>
package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
import java.util.Map;
import java.util.HashMap;
import com.alibaba.fastjson.JSONObject;
import org.springframework.util.StringUtils;
import org.springframework.util.ObjectUtils;
import cn.ibizlab.util.errors.BadRequestAlertException;
global cn.ibizlab.core.sample.domain.IBIZUNIProduct ibizorderdetailgetunitandpriceproduct;
global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailgetunitandpricedefault;
global cn.ibizlab.core.sample.service.IIBIZUNIProductService ibizuniproductservice;
global cn.ibizlab.core.sample.service.IIBIZOrderDetailService iBzSysIbizorderdetailDefaultService;
global cn.ibizlab.util.security.AuthenticationUser curuser;
no-loop
//逻辑处理节点[开始]
rule "begin"
ruleflow-group "ibizorderdetailgetunitandpricebegin"
when
then
end
//逻辑处理节点[填充单位和单价]
rule "prepareparam2"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam2"
when
then
ibizorderdetailgetunitandpricedefault.set("unitprice",ibizorderdetailgetunitandpriceproduct.get("unitprice"));
ibizorderdetailgetunitandpricedefault.set("unit",ibizorderdetailgetunitandpriceproduct.get("unit"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[获取商品信息]
rule "deaction1"
ruleflow-group "ibizorderdetailgetunitandpricedeaction1"
when
then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizuniproductservice.get(ibizorderdetailgetunitandpriceproduct.getIbizuniproductid()),ibizorderdetailgetunitandpriceproduct);
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[获取商品id]
rule "prepareparam1"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam1"
when
then
ibizorderdetailgetunitandpriceproduct.set("ibizuniproductid",ibizorderdetailgetunitandpricedefault.get("ibizuniproductid"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:g="http://www.jboss.org/drools/flow/gpd" xmlns:tns="http://www.jboss.org/drools" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" expressionLanguage="http://www.mvel.org/2.0" id="Definition" name="" targetNamespace="http://www.jboss.org/drools" typeLanguage="http://www.java.com/javaTypes">
<process id="cn.ibizlab.core.sample.service.logic.ibizorderdetailgetunitandprice" isClosed="false" isExecutable="true" name="sample_ibizorderdetail_getunitandprice_RuleFlow" processType="Private" tns:packageName="cn.ibizlab.core.sample.service.logic.ibizorderdetailgetunitandprice">
<extensionElements>
<tns:import name="java.util.Map" />
<tns:import name="org.springframework.util.StringUtils"/>
<tns:import name="cn.ibizlab.util.helper.RuleUtils"/>
<tns:metaData express="new cn.ibizlab.core.sample.domain.IBIZUNIProduct()" name="ibizorderdetailgetunitandpriceproduct" type="refentity"/>
<tns:metaData express="" name="ibizorderdetailgetunitandpricedefault" type="entity"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZUNIProductService))" name="ibizuniproductservice" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))" name="iBzSysIbizorderdetailDefaultService" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/>
<tns:global identifier="ibizorderdetailgetunitandpriceproduct" type="cn.ibizlab.core.sample.domain.IBIZUNIProduct" />
<tns:global identifier="ibizorderdetailgetunitandpricedefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" />
</extensionElements>
<startEvent id="begin" isInterrupting="true"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam2" id="prepareparam2" implementation="http://www.jboss.org/drools/rule" name="填充单位和单价"/>
<endEvent id="prepareparam2_end" name="end"/>
<sequenceFlow id="prepareparam2_end_line" sourceRef="prepareparam2" targetRef="prepareparam2_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedeaction1" id="deaction1" implementation="http://www.jboss.org/drools/rule" name="获取商品信息"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="获取商品ID"/>
<sequenceFlow id="begin_prepareparam1" sourceRef="begin" targetRef="prepareparam1">
</sequenceFlow>
<sequenceFlow id="deaction1_prepareparam2" sourceRef="deaction1" targetRef="prepareparam2">
</sequenceFlow>
<sequenceFlow id="prepareparam1_deaction1" sourceRef="prepareparam1" targetRef="deaction1">
</sequenceFlow>
</process>
</definitions>
因为 它太大了无法显示 源差异 。您可以改为 查看blob
[
{
"name":"年度",
"code":"Years",
"group":"",
"memo":"",
"enable":"",
}
]
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>demo</artifactId>
<groupId>cn.ibizlab</groupId>
<version>1.0.0.0</version>
<name>后台服务</name>
<description></description>
<packaging>pom</packaging>
<parent>
<groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-boot-starter-parent</artifactId>
<version>2.4.0-SNAPSHOT</version>
</parent>
<modules>
<!-- cores -->
<module>demo-core</module>
<!-- boot -->
<module>demo-boot</module>
</modules>
<dependencies>
<dependency>
<groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-template-ibizedge</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>ibizmvnrepository</id>
<name>ibizmvnrepository</name>
<url>http://172.16.240.220:8081/repository/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<repository>
<id>aliyunmaven</id>
<name>阿里云公共仓库</name>
<url>https://maven.aliyun.com/repository/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>ibizmvnrepository-plugin</id>
<url>http://172.16.240.220:8081/repository/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>aliyun-plugin</id>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<configuration>
<generateBackupPoms>false</generateBackupPoms>
</configuration>
</plugin>
<plugin>
<groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-generator-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<configuration>
<output>
${basedir}/
</output>
<inputSpec>
${basedir}/demo-core/src/main/resources/static/model/cn/ibizlab
</inputSpec>
<templateDirs>
${basedir}/demo-boot/src/main/resources/templ
</templateDirs>
<packageName>
${project.groupId}
</packageName>
<name>
${project.artifactId}
</name>
</configuration>
<dependencies>
<dependency>
<groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-template-ibizedge</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册