|
@@ -150,7 +150,7 @@
|
|
|
<select id="findWaybillOrderCount" resultType="com.sckw.transport.model.vo.WaybillCountVo"
|
|
<select id="findWaybillOrderCount" resultType="com.sckw.transport.model.vo.WaybillCountVo"
|
|
|
parameterType="java.util.Map">
|
|
parameterType="java.util.Map">
|
|
|
SELECT
|
|
SELECT
|
|
|
- count(case when wo.status not in (1, 9, 11) then 1 end) totalComplete,
|
|
|
|
|
|
|
+ count(case when wo.status = 8 then 1 end) totalComplete,
|
|
|
count(case when wo.status not in (1, 9, 10, 11) then 1 end) totalTake,
|
|
count(case when wo.status not in (1, 9, 10, 11) then 1 end) totalTake,
|
|
|
count(case when wo.status not in (3, 4, 5, 6) then 1 end) totalExecute,
|
|
count(case when wo.status not in (3, 4, 5, 6) then 1 end) totalExecute,
|
|
|
count(DISTINCT case when lo.status not in (0, 1, 2, 3) then lo.id end) totalUnfinished,
|
|
count(DISTINCT case when lo.status not in (0, 1, 2, 3) then lo.id end) totalUnfinished,
|