Commit 377c2e67 authored by 麻笑宇's avatar 麻笑宇

气瓶 / 区域气站对接率排名下钻

代码提交
parent 12431837
...@@ -131,6 +131,13 @@ ...@@ -131,6 +131,13 @@
<select id="getNormalPage" resultType="java.util.Map"> <select id="getNormalPage" resultType="java.util.Map">
SELECT SELECT
tbei.use_unit_code AS useUnitCode, tbei.use_unit_code AS useUnitCode,
tbei.unit_type AS unitType,
tbei.use_unit AS useUnit,
concat(tbei.province,tbei.city,tbei.district) AS region,
tbei.address AS address,
tbei.legal_person AS legalPerson,
tbei.use_unit_certificate AS useUnitCertificate,
tbei.supervise_org_name AS superviseOrgName,
l.expiry_date AS expiryDate, l.expiry_date AS expiryDate,
IFNULL ( u."userCount", '0' ) AS userCount, IFNULL ( u."userCount", '0' ) AS userCount,
IFNULL ( e."equipCount", '0' ) AS equipCount, IFNULL ( e."equipCount", '0' ) AS equipCount,
...@@ -224,5 +231,8 @@ ...@@ -224,5 +231,8 @@
<if test="dpFilterParamForDetailDto.isDock == 1"> <if test="dpFilterParamForDetailDto.isDock == 1">
AND ( fillingCount is not null OR offloadingVolume is not null ) AND ( fillingCount is not null OR offloadingVolume is not null )
</if> </if>
<if test="dpFilterParamForDetailDto.companyName != null and dpFilterParamForDetailDto.companyName != '' ">
AND tbei.use_unit LIKE concat ( '%', #{dpFilterParamForDetailDto.companyName}, '%' )
</if>
</select> </select>
</mapper> </mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment