修复特种作业bug
parent
5c48a7f55b
commit
8b88ae3f62
|
@ -272,7 +272,7 @@
|
||||||
cuser.USERNAME as cuserName ,
|
cuser.USERNAME as cuserName ,
|
||||||
ccorp.CORP_NAME as corpName ,
|
ccorp.CORP_NAME as corpName ,
|
||||||
poDic.NAME as operationName ,
|
poDic.NAME as operationName ,
|
||||||
count(distinct poDic.NAME) OPERATE_COUNT
|
count(1) OPERATE_COUNT
|
||||||
from
|
from
|
||||||
<include refid="tableName"></include> f
|
<include refid="tableName"></include> f
|
||||||
left join bus_relevantunit unit on unit.RELEVANTUNIT_ID = f.UNIT_ID<!-- 相关单位 -->
|
left join bus_relevantunit unit on unit.RELEVANTUNIT_ID = f.UNIT_ID<!-- 相关单位 -->
|
||||||
|
@ -287,7 +287,7 @@
|
||||||
<if test="pd.operationName != null and pd.operationName != ''"><!-- 单位名称 -->
|
<if test="pd.operationName != null and pd.operationName != ''"><!-- 单位名称 -->
|
||||||
and poDic.NAME LIKE CONCAT(CONCAT('%', #{pd.operationName}),'%') )
|
and poDic.NAME LIKE CONCAT(CONCAT('%', #{pd.operationName}),'%') )
|
||||||
</if>
|
</if>
|
||||||
GROUP BY operationName
|
GROUP BY SPECIAL_TYPE
|
||||||
order by f.CREATTIME desc
|
order by f.CREATTIME desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue