Quellcode durchsuchen

抄送我 人数

tags/24082201
PoffyZhang vor 2 Jahren
Ursprung
Commit
379e13fe13
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  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 Datei anzeigen

@@ -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>


Laden…
Abbrechen
Speichern