Commit a2028649 authored by chenzhao's avatar chenzhao

统计状态细分

parent cae63b23
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
and hph.regional_companies_name like concat(concat('%',#{map.regionalCompaniesName}),'%') and hph.regional_companies_name like concat(concat('%',#{map.regionalCompaniesName}),'%')
</if> </if>
<if test="map.processStatus != null and map.processStatus == '进行中'"> <if test="map.processStatus != null and map.processStatus == '进行中'">
and hps.process_status not in ('不通过','完成'); and hps.process_status not in ('不通过','完成')
</if> </if>
<if test="map.processStatus != null and map.processStatus != '进行中'"> <if test="map.processStatus != null and map.processStatus != '进行中'">
and hps.process_status = #{map.processStatus} and hps.process_status = #{map.processStatus}
......
...@@ -77,7 +77,10 @@ ...@@ -77,7 +77,10 @@
<if test="regionalCompaniesName != null and regionalCompaniesName != ''"> <if test="regionalCompaniesName != null and regionalCompaniesName != ''">
AND ph.regional_companies_name LIKE CONCAT('%', #{regionalCompaniesName}, '%') AND ph.regional_companies_name LIKE CONCAT('%', #{regionalCompaniesName}, '%')
</if> </if>
<if test="processStatus != null and processStatus != ''"> <if test="processStatus != null and processStatus == '进行中'">
AND ps.process_status not in ('不通过','完成')
</if>
<if test="processStatus != null and processStatus != '进行中'">
AND ps.process_status = #{processStatus} AND ps.process_status = #{processStatus}
</if> </if>
<if test="province != null and province != ''"> <if test="province != null and province != ''">
......
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