Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
邬友楠
test
Commits
c418e98d
Commit
c418e98d
authored
Jan 19, 2020
by
xin.lu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pg数据库字段类型修改
parent
c049c68c
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
17 deletions
+26
-17
uasp.postgresql.sql
db/uasp.postgresql.sql
+8
-8
easy-search-bpm.xml
...n/resources/config/content/easysearch/easy-search-bpm.xml
+3
-2
easy-search-sys.xml
...n/resources/config/content/easysearch/easy-search-sys.xml
+2
-1
tree-view-sys.xml
.../main/resources/config/content/treeview/tree-view-sys.xml
+4
-4
configuration.xml
...rc/main/resources/config/uasp/query/bmp/configuration.xml
+1
-1
pom.xml
huigou-xt/pom.xml
+6
-0
spring-jpa.xml
huigou-xt/src/main/resources/config/spring/spring-jpa.xml
+2
-1
No files found.
db/uasp.postgresql.sql
View file @
c418e98d
...
@@ -94,7 +94,7 @@ SET default_with_oids = false;
...
@@ -94,7 +94,7 @@ SET default_with_oids = false;
create table tmp_sa_i18nproperties
create table tmp_sa_i18nproperties
( tmp_id varchar(32 ) not null,
( tmp_id varchar(32 ) not null,
batch_number varchar(64 ),
batch_number varchar(64 ),
status
varchar(64 )
,
status
integer
,
message varchar(512 ),
message varchar(512 ),
code varchar(128 ),
code varchar(128 ),
value1 varchar(512 ),
value1 varchar(512 ),
...
@@ -4696,7 +4696,7 @@ CREATE TABLE public.sa_opbizmanagementtype (
...
@@ -4696,7 +4696,7 @@ CREATE TABLE public.sa_opbizmanagementtype (
node_kind_id numeric,
node_kind_id numeric,
remark character varying(256),
remark character varying(256),
full_name character varying(2048),
full_name character varying(2048),
status
numeric
status
integer
);
);
...
@@ -5901,14 +5901,14 @@ CREATE TABLE public.sa_oporg (
...
@@ -5901,14 +5901,14 @@ CREATE TABLE public.sa_oporg (
person_id character varying(32),
person_id character varying(32),
node_kind_id character varying(6),
node_kind_id character varying(6),
description character varying(512),
description character varying(512),
status
numeric
,
status
integer
,
sequence
numeric
,
sequence
character varying(32),
,
version
numeric
,
version
character varying(32),
,
org_code character varying(360),
org_code character varying(360),
dept_code character varying(360),
dept_code character varying(360),
position_code character varying(360),
position_code character varying(360),
person_member_code character varying(360),
person_member_code character varying(360),
is_center
numeric
,
is_center
character varying(32),
,
center_code character varying(64),
center_code character varying(64),
org_id character varying(32),
org_id character varying(32),
dept_id character varying(32),
dept_id character varying(32),
...
@@ -5922,7 +5922,7 @@ CREATE TABLE public.sa_oporg (
...
@@ -5922,7 +5922,7 @@ CREATE TABLE public.sa_oporg (
center_name character varying(128),
center_name character varying(128),
full_sequence character varying(256),
full_sequence character varying(256),
full_org_kind_id character varying(128),
full_org_kind_id character varying(128),
is_virtual
numeric
,
is_virtual
character varying(32),
,
dept_level character varying(64),
dept_level character varying(64),
tenant_id character varying(32)
tenant_id character varying(32)
);
);
...
@@ -6388,7 +6388,7 @@ CREATE TABLE public.sa_oporgtype (
...
@@ -6388,7 +6388,7 @@ CREATE TABLE public.sa_oporgtype (
code character varying(128),
code character varying(128),
name character varying(256),
name character varying(256),
org_kind_id character varying(5),
org_kind_id character varying(5),
status
numeric
,
status
integer
,
sequence numeric,
sequence numeric,
version numeric
version numeric
);
);
huigou-uasp/src/main/resources/config/content/easysearch/easy-search-bpm.xml
View file @
c418e98d
...
@@ -2,8 +2,9 @@
...
@@ -2,8 +2,9 @@
<easy-search-mappings>
<easy-search-mappings>
<easy-search
name=
"approvalBizElement"
desc=
"选择业务审批要素"
>
<easy-search
name=
"approvalBizElement"
desc=
"选择业务审批要素"
>
<sql>
<sql>
select id, code, name, kind_id, data_source_config, sequence from wf_approvalelement where kind_id = 2
order by sequence
select id, code, name, kind_id, data_source_config, sequence from wf_approvalelement where kind_id = 2
</sql>
</sql>
<orderby>
sequence desc
</orderby>
<field
name=
"id"
code=
"id"
type=
'hidden'
/>
<field
name=
"id"
code=
"id"
type=
'hidden'
/>
<field
name=
"kindId"
code=
"kindId"
type=
'hidden'
/>
<field
name=
"kindId"
code=
"kindId"
type=
'hidden'
/>
<field
name=
"编码"
code=
"code"
width=
"160"
/>
<field
name=
"编码"
code=
"code"
width=
"160"
/>
...
@@ -22,8 +23,8 @@
...
@@ -22,8 +23,8 @@
and d.proc_id = :procKey
and d.proc_id = :procKey
and d.code = :procUnitId
and d.code = :procUnitId
)
)
order by sequence
</sql>
</sql>
<orderby>
sequence desc
</orderby>
<field
name=
"id"
code=
"id"
type=
'hidden'
/>
<field
name=
"id"
code=
"id"
type=
'hidden'
/>
<field
name=
"编码"
code=
"code"
width=
"160"
/>
<field
name=
"编码"
code=
"code"
width=
"160"
/>
<field
name=
"名称"
code=
"name"
width=
"200"
/>
<field
name=
"名称"
code=
"name"
width=
"200"
/>
...
...
huigou-uasp/src/main/resources/config/content/easysearch/easy-search-sys.xml
View file @
c418e98d
...
@@ -83,8 +83,9 @@
...
@@ -83,8 +83,9 @@
select s.id, s.code, s.name, s.table_name, s.folder_id
select s.id, s.code, s.name, s.table_name, s.folder_id
from SA_ExcelImportTemplate s
from SA_ExcelImportTemplate s
where s.status = 1
where s.status = 1
order by s.id asc
<!--order by s.id asc-->
</sql>
</sql>
<orderby>
id asc
</orderby>
<field
name=
"id"
code=
"id"
type=
'hidden'
/>
<field
name=
"id"
code=
"id"
type=
'hidden'
/>
<field
name=
"编码"
code=
"code"
width=
"100"
/>
<field
name=
"编码"
code=
"code"
width=
"100"
/>
<field
name=
"名称"
code=
"name"
width=
"180"
/>
<field
name=
"名称"
code=
"name"
width=
"180"
/>
...
...
huigou-uasp/src/main/resources/config/content/treeview/tree-view-sys.xml
View file @
c418e98d
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<hiddenCol>
ORG_KIND_ID,FULL_ID,FULL_NAME,ORG_ID,ORG_NAME,CENTER_ID,CENTER_NAME,DEPT_ID,DEPT_NAME,POSITION_ID,POSITION_NAME,PERSON_ID
<hiddenCol>
ORG_KIND_ID,FULL_ID,FULL_NAME,ORG_ID,ORG_NAME,CENTER_ID,CENTER_NAME,DEPT_ID,DEPT_NAME,POSITION_ID,POSITION_NAME,PERSON_ID
</hiddenCol>
</hiddenCol>
<root>
parent_id = :orgRoot or id = :orgRoot
</root>
<root>
parent_id = :orgRoot or id = :orgRoot
</root>
<
orderby>
FULL_SEQUENCE
</orderby
>
<
!--<orderby>FULL_SEQUENCE</orderby>--
>
<condition
column=
"org_kind_id"
name=
"orgKindId"
symbol=
"in"
/>
<condition
column=
"org_kind_id"
name=
"orgKindId"
symbol=
"in"
/>
<condition
column=
"status"
name=
"status"
symbol=
"in"
/>
<condition
column=
"status"
name=
"status"
symbol=
"in"
/>
<condition
column=
"is_virtual"
name=
"isVirtual"
symbol=
"in"
/>
<condition
column=
"is_virtual"
name=
"isVirtual"
symbol=
"in"
/>
...
@@ -41,10 +41,10 @@
...
@@ -41,10 +41,10 @@
<hiddenCol>
CODE,ORG_KIND_ID,FULL_ID,FULL_NAME,ORG_ID,ORG_NAME,CENTER_ID,CENTER_NAME,DEPT_ID,DEPT_NAME,POSITION_ID,POSITION_NAME,PERSON_ID
<hiddenCol>
CODE,ORG_KIND_ID,FULL_ID,FULL_NAME,ORG_ID,ORG_NAME,CENTER_ID,CENTER_NAME,DEPT_ID,DEPT_NAME,POSITION_ID,POSITION_NAME,PERSON_ID
</hiddenCol>
</hiddenCol>
<root>
parent_id =:orgRoot or id = :orgRoot
</root>
<root>
parent_id =:orgRoot or id = :orgRoot
</root>
<
orderby>
FULL_SEQUENCE
</orderby
>
<
!--<orderby>FULL_SEQUENCE</orderby>--
>
<condition
column=
"org_kind_id"
name=
"orgKindId"
symbol=
"in"
/>
<condition
column=
"org_kind_id"
name=
"orgKindId"
symbol=
"in"
/>
<condition
column=
"status"
name=
"status"
symbol=
"in"
/>
<condition
column=
"status"
name=
"status"
type=
"java.lang.Integer"
symbol=
"in"
/>
<condition
column=
"is_virtual"
name=
"isVirtual"
symbol=
"in"
/>
<condition
column=
"is_virtual"
name=
"isVirtual"
type=
"java.lang.Integer"
symbol=
"in"
/>
</dataModel>
</dataModel>
</tree>
</tree>
<!-- 功能菜单 -->
<!-- 功能菜单 -->
...
...
huigou-uasp/src/main/resources/config/uasp/query/bmp/configuration.xml
View file @
c418e98d
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
select t.* from tmp_sa_i18nproperties t where t.batch_number=?
select t.* from tmp_sa_i18nproperties t where t.batch_number=?
</sql>
</sql>
<sql
name=
"deleteTempData"
>
<sql
name=
"deleteTempData"
>
delete from tmp_sa_i18nproperties
t where t.
batch_number=?
delete from tmp_sa_i18nproperties
where
batch_number=?
</sql>
</sql>
<sql
name=
"updataByCode"
>
<sql
name=
"updataByCode"
>
update sa_i18nproperties
update sa_i18nproperties
...
...
huigou-xt/pom.xml
View file @
c418e98d
...
@@ -454,6 +454,12 @@
...
@@ -454,6 +454,12 @@
<artifactId>
postgresql
</artifactId>
<artifactId>
postgresql
</artifactId>
<version>
42.2.9
</version>
<version>
42.2.9
</version>
</dependency>
</dependency>
<dependency>
<groupId>
com.microsoft.sqlserver
</groupId>
<artifactId>
mssql-jdbc
</artifactId>
<version>
7.4.1.jre8
</version>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
<finalName>
huigou-xt
</finalName>
<finalName>
huigou-xt
</finalName>
...
...
huigou-xt/src/main/resources/config/spring/spring-jpa.xml
View file @
c418e98d
...
@@ -35,7 +35,8 @@
...
@@ -35,7 +35,8 @@
<prop
key=
"hibernate.format_sql"
>
true
</prop>
<prop
key=
"hibernate.format_sql"
>
true
</prop>
<prop
key=
"hibernate.dialect"
>
${system.hibernate.dialect}
</prop>
<prop
key=
"hibernate.dialect"
>
${system.hibernate.dialect}
</prop>
<prop
key=
"hibernate.enable_lazy_load_no_trans"
>
true
</prop>
<prop
key=
"hibernate.enable_lazy_load_no_trans"
>
true
</prop>
<prop
key=
"hibernate.globally_quoted_identifiers"
>
true
</prop>
<!--postgresql数据库globally_quoted_identifiers的值为false,其他是true-->
<prop
key=
"hibernate.globally_quoted_identifiers"
>
false
</prop>
</props>
</props>
</property>
</property>
</bean>
</bean>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment