fix 商户分类统计

master
luoyang 5 years ago
parent de0215b823
commit b17d6cb8ab

@ -89,10 +89,13 @@
<if test="business_structure!=null">
AND c.business_structure=#{business_structure}
</if>
<if test="industry!=null and industry != 0 and industry">
<if test="industry!=null and industry != 0 and industry and industry!=1">
<bind name="industry" value="industry+'%'"/>
AND c.royalpayindustry like #{industry}
</if>
<if test="industry != null and industry==1">
AND (c.royalpayindustry =1 or c.royalpayindustry like '100%')
</if>
<if test="create_start_time!=null">
AND c.create_time >= #{create_start_time}
</if>

Loading…
Cancel
Save