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
d643d0f1
Commit
d643d0f1
authored
Jan 14, 2020
by
雍欢
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into workflow
parents
97ef469a
c049c68c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20146 additions
and
9151 deletions
+20146
-9151
uasp.mysql.sql
db/uasp.mysql.sql
+8159
-9146
uasp.postgresql.sql
db/uasp.postgresql.sql
+13
-0
uasp.sqlserver.sql
db/uasp.sqlserver.sql
+11965
-0
ActApplicationImpl.java
.../uasp/bpm/engine/application/impl/ActApplicationImpl.java
+4
-1
ProcUnitHandlerApplicationImpl.java
...gine/application/impl/ProcUnitHandlerApplicationImpl.java
+1
-0
bpm.xml
huigou-uasp/src/main/resources/config/uasp/query/bmp/bpm.xml
+4
-4
No files found.
db/uasp.mysql.sql
View file @
d643d0f1
This diff is collapsed.
Click to expand it.
db/uasp.postgresql.sql
View file @
d643d0f1
...
@@ -91,6 +91,19 @@ SET default_tablespace = '';
...
@@ -91,6 +91,19 @@ SET default_tablespace = '';
SET default_with_oids = false;
SET default_with_oids = false;
create table tmp_sa_i18nproperties
( tmp_id varchar(32 ) not null,
batch_number varchar(64 ),
status varchar(64 ),
message varchar(512 ),
code varchar(128 ),
value1 varchar(512 ),
value2 varchar(512 ),
value3 varchar(512 ),
value4 varchar(512 ),
value5 varchar(512 )
)
--
--
-- Name: act_ge_bytearray; Type: TABLE; Schema: public; Owner: postgres
-- Name: act_ge_bytearray; Type: TABLE; Schema: public; Owner: postgres
--
--
db/uasp.sqlserver.sql
0 → 100644
View file @
d643d0f1
This diff is collapsed.
Click to expand it.
huigou-uasp/src/main/java/com/huigou/uasp/bpm/engine/application/impl/ActApplicationImpl.java
View file @
d643d0f1
...
@@ -378,6 +378,7 @@ public class ActApplicationImpl extends BaseApplication implements ActApplicatio
...
@@ -378,6 +378,7 @@ public class ActApplicationImpl extends BaseApplication implements ActApplicatio
QueryModel
queryModel
=
new
QueryModel
();
QueryModel
queryModel
=
new
QueryModel
();
queryModel
.
setSql
(
this
.
getQuerySqlByName
(
"queryProcUnitHandlersByBizId"
));
queryModel
.
setSql
(
this
.
getQuerySqlByName
(
"queryProcUnitHandlersByBizId"
));
queryModel
.
putParam
(
"businessKey"
,
bizId
);
queryModel
.
putParam
(
"businessKey"
,
bizId
);
queryModel
.
setDefaultOrderBy
(
"startTime"
);
Map
<
String
,
Object
>
result
=
this
.
sqlExecutorDao
.
executeQuery
(
queryModel
);
Map
<
String
,
Object
>
result
=
this
.
sqlExecutorDao
.
executeQuery
(
queryModel
);
boolean
supportManuscript
=
Boolean
.
valueOf
(
SystemCache
.
getParameter
(
"wf.approval.supportManuscript"
,
String
.
class
));
boolean
supportManuscript
=
Boolean
.
valueOf
(
SystemCache
.
getParameter
(
"wf.approval.supportManuscript"
,
String
.
class
));
List
<
ProcUnitHandlerManuscript
>
procUnitHandlerManuscripts
=
null
;
List
<
ProcUnitHandlerManuscript
>
procUnitHandlerManuscripts
=
null
;
...
@@ -416,6 +417,7 @@ public class ActApplicationImpl extends BaseApplication implements ActApplicatio
...
@@ -416,6 +417,7 @@ public class ActApplicationImpl extends BaseApplication implements ActApplicatio
QueryModel
queryModel
=
new
QueryModel
();
QueryModel
queryModel
=
new
QueryModel
();
queryModel
.
setSql
(
this
.
getQuerySqlByName
(
"queryApprovalHistoryByProcInstId"
));
queryModel
.
setSql
(
this
.
getQuerySqlByName
(
"queryApprovalHistoryByProcInstId"
));
queryModel
.
putParam
(
"procInstId"
,
processInstanceId
);
queryModel
.
putParam
(
"procInstId"
,
processInstanceId
);
queryModel
.
setDefaultOrderBy
(
"id"
);
return
this
.
sqlExecutorDao
.
executeQuery
(
queryModel
);
return
this
.
sqlExecutorDao
.
executeQuery
(
queryModel
);
}
}
...
@@ -542,6 +544,7 @@ public class ActApplicationImpl extends BaseApplication implements ActApplicatio
...
@@ -542,6 +544,7 @@ public class ActApplicationImpl extends BaseApplication implements ActApplicatio
QueryModel
queryModel
=
new
QueryModel
();
QueryModel
queryModel
=
new
QueryModel
();
queryModel
.
setSql
(
this
.
getQuerySqlByName
(
"queryHiTaskInstByBizCode"
));
queryModel
.
setSql
(
this
.
getQuerySqlByName
(
"queryHiTaskInstByBizCode"
));
queryModel
.
putParam
(
"bizCode"
,
bizCode
);
queryModel
.
putParam
(
"bizCode"
,
bizCode
);
queryModel
.
setDefaultOrderBy
(
"startTime"
);
return
this
.
sqlExecutorDao
.
executeQuery
(
queryModel
);
return
this
.
sqlExecutorDao
.
executeQuery
(
queryModel
);
}
}
...
@@ -554,7 +557,7 @@ public class ActApplicationImpl extends BaseApplication implements ActApplicatio
...
@@ -554,7 +557,7 @@ public class ActApplicationImpl extends BaseApplication implements ActApplicatio
queryModel
.
setSql
(
this
.
getQuerySqlByName
(
"queryHiTaskInstByBizCodeAndKindId"
));
queryModel
.
setSql
(
this
.
getQuerySqlByName
(
"queryHiTaskInstByBizCodeAndKindId"
));
queryModel
.
putParam
(
"bizCode"
,
bizCode
);
queryModel
.
putParam
(
"bizCode"
,
bizCode
);
queryModel
.
putParam
(
"kindId"
,
kindId
);
queryModel
.
putParam
(
"kindId"
,
kindId
);
queryModel
.
setDefaultOrderBy
(
"startTime"
);
return
this
.
sqlExecutorDao
.
executeQuery
(
queryModel
);
return
this
.
sqlExecutorDao
.
executeQuery
(
queryModel
);
}
}
...
...
huigou-uasp/src/main/java/com/huigou/uasp/bpm/engine/application/impl/ProcUnitHandlerApplicationImpl.java
View file @
d643d0f1
...
@@ -296,6 +296,7 @@ public class ProcUnitHandlerApplicationImpl extends BaseApplication implements P
...
@@ -296,6 +296,7 @@ public class ProcUnitHandlerApplicationImpl extends BaseApplication implements P
QueryModel
queryModel
=
new
QueryModel
();
QueryModel
queryModel
=
new
QueryModel
();
queryModel
.
setSql
(
this
.
getQuerySqlByName
(
"queryProcunitHandlersByBizCode"
));
queryModel
.
setSql
(
this
.
getQuerySqlByName
(
"queryProcunitHandlersByBizCode"
));
queryModel
.
putParam
(
"bizCode"
,
bizCode
);
queryModel
.
putParam
(
"bizCode"
,
bizCode
);
queryModel
.
setDefaultOrderBy
(
"procUnitId,groupId"
);
return
this
.
sqlExecutorDao
.
executeQuery
(
queryModel
);
return
this
.
sqlExecutorDao
.
executeQuery
(
queryModel
);
}
}
...
...
huigou-uasp/src/main/resources/config/uasp/query/bmp/bpm.xml
View file @
d643d0f1
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
from act_hi_taskinst_extension te
from act_hi_taskinst_extension te
left join wf_procunithandler uh on te.proc_unit_handler_id_ = uh.id
left join wf_procunithandler uh on te.proc_unit_handler_id_ = uh.id
where te.proc_inst_id_ = :procInstId
where te.proc_inst_id_ = :procInstId
order by te.id_
<!-- order by te.id_ -->
</sql>
</sql>
<sql
name=
"queryBackTasksByBizCode"
>
<sql
name=
"queryBackTasksByBizCode"
>
select te.id_ id, te.task_def_key_ task_def_key, te.name_ as name, p.sub_proc_unit_name,
select te.id_ id, te.task_def_key_ task_def_key, te.name_ as name, p.sub_proc_unit_name,
...
@@ -317,7 +317,7 @@
...
@@ -317,7 +317,7 @@
te.need_timing_ need_timing
te.need_timing_ need_timing
from act_hi_taskinst_extension te
from act_hi_taskinst_extension te
where te.business_code_ = :bizCode
where te.business_code_ = :bizCode
order by te.start_time_
<!-- order by te.start_time_-->
</sql>
</sql>
<sql
name=
"queryHiTaskInstByBizCodeAndKindId"
>
<sql
name=
"queryHiTaskInstByBizCodeAndKindId"
>
select te.id_ id, te.proc_def_id_ proc_def_id, te.task_def_key_ task_def_key,
select te.id_ id, te.proc_def_id_ proc_def_id, te.task_def_key_ task_def_key,
...
@@ -346,7 +346,7 @@
...
@@ -346,7 +346,7 @@
from act_hi_taskinst_extension te
from act_hi_taskinst_extension te
where te.business_code_ = :bizCode
where te.business_code_ = :bizCode
and te.kind_id_ = :kindId
and te.kind_id_ = :kindId
order by te.start_time_
<!-- order by te.start_time_-->
</sql>
</sql>
<sql
name=
"taskInstRelationQuery"
>
<sql
name=
"taskInstRelationQuery"
>
select r.task_id, r.related_task_id, te.proc_inst_id_ proc_inst_id,
select r.task_id, r.related_task_id, te.proc_inst_id_ proc_inst_id,
...
@@ -479,7 +479,7 @@
...
@@ -479,7 +479,7 @@
left join wf_approvalrule r
left join wf_approvalrule r
on h.approval_rule_id = r.id
on h.approval_rule_id = r.id
where biz_code = :bizCode
where biz_code = :bizCode
order by h.proc_unit_id, group_id
<!-- order by h.proc_unit_id, group_id -->
</sql>
</sql>
<sql
name=
"queryOneTaskByBizIdAndProcUnitHandlerId"
>
<sql
name=
"queryOneTaskByBizIdAndProcUnitHandlerId"
>
select e.id_ as task_id, e.status_id_ as status_id
select e.id_ as task_id, e.status_id_ as status_id
...
...
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