Sfoglia il codice sorgente

抄送我 人数

master
PoffyZhang 1 anno fa
parent
commit
379e13fe13
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +3
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/mapper/StatisticsMapper.xml

+ 3
- 1
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/mapper/StatisticsMapper.xml Vedi File

@@ -13,11 +13,13 @@
sum(CASE WHEN ht.assignee_ = #{userId} AND ht.end_time_ is NULL THEN 1 end) todoNum,
sum(CASE WHEN ht.assignee_ = #{userId} AND ht.end_time_ IS not NULL THEN 1 end) idoNum,
sum(CASE WHEN hp.start_user_id_ = #{userId} THEN 1 end) mysubmitNum,
0 ccmeNum
sum(CASE WHEN cc.user_id = #{userId} THEN 1 end) ccmeNum
FROM
act_hi_procinst hp
LEFT JOIN
act_hi_taskinst ht ON hp.proc_inst_id_ = ht.proc_inst_id_
LEFT JOIN
wflow_cc_tasks cc ON cc.instance_id = hp.proc_inst_id_
GROUP BY hp.id_
) tol
</select>


Loading…
Annulla
Salva