|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
<select id="filterList" resultType="com.glxp.api.res.basic.SysWorkplaceFreightResponse">
|
|
|
|
|
select swf.*,
|
|
|
|
|
sw.workplaceName workPlaceName,
|
|
|
|
|
COUNT(swl.freightCode) as layerCount,ccc.reCount
|
|
|
|
|
COUNT(swl.freightCode) as layerCount,ifnull(ccc.reCount,0) as reCount
|
|
|
|
|
from sys_workplace_freight swf
|
|
|
|
|
left join (
|
|
|
|
|
select freightCode,count(freightCode), min(reCount) as reCount from
|
|
|
|
|