This commit is contained in:
@jyuhsin
2026-01-28 09:35:57 +08:00
parent 863a634225
commit 0a5c890fc2
2 changed files with 3 additions and 1 deletions
@@ -80,7 +80,8 @@ public class ProposalCommitteeFilingController {
t.taskParentId,
t.variable taskVariable,
IFNULL(GROUP_CONCAT(DISTINCT nt.displayName),'结束') curTaskName,
IF(rt.id IS NOT NULL OR (ins.state = 20 AND info.caseFilingResult = 'NOT'), 1, 0) AS canRevoke
IF(rt.id IS NOT NULL OR (ins.state = 20 AND info.caseFilingResult = 'NOT'), 1, 0) AS canRevoke,
(select count(DISTINCT seconderId) from proposal_second where proposalId = info.id and isAgree = true) as agreeCount
FROM
wf_process_task t
LEFT JOIN wf_process_instance ins ON ins.id = t.processInstanceId