commit
This commit is contained in:
+36
-2
@@ -378,8 +378,42 @@ public class TeacherCongressDelegatePushController {
|
|||||||
if (allocation == null) {
|
if (allocation == null) {
|
||||||
return Result.success();
|
return Result.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
Sql sql = Sqls.create("""
|
Sql sql = Sqls.create("""
|
||||||
|
SELECT
|
||||||
|
info.*,
|
||||||
|
ins.id AS instanceId,
|
||||||
|
ins.businessNo,
|
||||||
|
ins.state instanceState,
|
||||||
|
ins.variable instanceVariable,
|
||||||
|
ins.processDefineId instanceProcessDefineId,
|
||||||
|
t.id taskId,
|
||||||
|
t.taskName AS taskKey,
|
||||||
|
t.displayName taskName,
|
||||||
|
t.taskType,
|
||||||
|
t.performType taskPerformType,
|
||||||
|
t.taskState,
|
||||||
|
t.finishTime,
|
||||||
|
t.taskParentId,
|
||||||
|
t.variable taskVariable,
|
||||||
|
IFNULL(GROUP_CONCAT(DISTINCT nt.displayName),'结束') curTaskName,
|
||||||
|
IF(rt.id IS NOT NULL, 1, 0) AS canRevoke
|
||||||
|
FROM
|
||||||
|
wf_process_task t
|
||||||
|
LEFT JOIN wf_process_instance ins ON ins.id = t.processInstanceId
|
||||||
|
LEFT JOIN teacher_congress_delegate_push info ON info.id = ins.businessNo
|
||||||
|
LEFT JOIN wf_process_task_actor ta ON ta.processTaskId = t.id
|
||||||
|
LEFT JOIN wf_process_task nt ON nt.processInstanceId = ins.id AND nt.taskState = 10
|
||||||
|
LEFT JOIN wf_process_task rt ON rt.processInstanceId = ins.id AND rt.taskParentId = t.id AND rt.taskState = 10
|
||||||
|
$condition
|
||||||
|
""");
|
||||||
|
Cnd cnd = Cnd.NEW();
|
||||||
|
cnd.and("t.taskName", "=", "0cacd1e7-7bb2-47dd-818b-6a73062e0c62");
|
||||||
|
cnd.and("t.taskState", "=", ProcessTaskStateEnum.DOING.getCode());
|
||||||
|
cnd.andEX("info.sessionId", "=", sessionId);
|
||||||
|
cnd.andEX("info.unionId", "=", unionId);
|
||||||
|
cnd.andEX("info.representativeType", "=", "正式代表");
|
||||||
|
cnd.groupBy("t.id");
|
||||||
|
/* Sql sql = Sqls.create("""
|
||||||
SELECT
|
SELECT
|
||||||
info.*,
|
info.*,
|
||||||
ins.id AS instanceId,
|
ins.id AS instanceId,
|
||||||
@@ -409,7 +443,7 @@ public class TeacherCongressDelegatePushController {
|
|||||||
cnd.andEX("info.sessionId", "=", sessionId);
|
cnd.andEX("info.sessionId", "=", sessionId);
|
||||||
cnd.andEX("info.unionId", "=", unionId);
|
cnd.andEX("info.unionId", "=", unionId);
|
||||||
cnd.andEX("info.representativeType", "=", "正式代表");
|
cnd.andEX("info.representativeType", "=", "正式代表");
|
||||||
cnd.and("ins.state", "=", ProcessTaskStateEnum.FINISHED.getCode());
|
cnd.and("ins.state", "=", ProcessTaskStateEnum.FINISHED.getCode());*/
|
||||||
sql.setCondition(cnd);
|
sql.setCondition(cnd);
|
||||||
List<NutMap> writeList = baseService.listMap(sql);
|
List<NutMap> writeList = baseService.listMap(sql);
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ layout("/layouts/v4/baseLayout.html"){
|
|||||||
#-->
|
#-->
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
.section-banner {
|
.section-banner {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -23,7 +23,7 @@ layout("/layouts/v4/baseLayout.html"){
|
|||||||
.section-wrapper {
|
.section-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-grid {
|
.home-grid {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
margin: 20px auto;
|
margin: 20px auto;
|
||||||
@@ -44,12 +44,12 @@ layout("/layouts/v4/baseLayout.html"){
|
|||||||
padding: 16px;
|
padding: 16px;
|
||||||
transition: transform 0.2s, box-shadow 0.2s;
|
transition: transform 0.2s, box-shadow 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-card:hover {
|
.entry-card:hover {
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
box-shadow: 0 6px 16px rgba(0,0,0,0.12);
|
box-shadow: 0 6px 16px rgba(0,0,0,0.12);
|
||||||
}
|
}
|
||||||
|
|
||||||
.act-card {
|
.act-card {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -60,7 +60,7 @@ layout("/layouts/v4/baseLayout.html"){
|
|||||||
padding: 16px;
|
padding: 16px;
|
||||||
transition: transform 0.2s, box-shadow 0.2s;
|
transition: transform 0.2s, box-shadow 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="v4-container" id="v4-home-app">
|
<div class="v4-container" id="v4-home-app">
|
||||||
@@ -71,20 +71,20 @@ layout("/layouts/v4/baseLayout.html"){
|
|||||||
<stats></stats>
|
<stats></stats>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="">
|
<div class="">
|
||||||
<user></user>
|
<user></user>
|
||||||
|
|
||||||
<div class="home-grid">
|
<div class="home-grid">
|
||||||
<div class="act-card">
|
<div class="act-card">
|
||||||
<act></act>
|
<act></act>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="entry-card">
|
<div class="entry-card">
|
||||||
<entry></entry>
|
<entry></entry>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<jcdt :list="websiteNews.grassroots"></jcdt>
|
<jcdt :list="websiteNews.grassroots"></jcdt>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user