Commit 446a72fc by 111-PC\111

[+]mybatis逆向工程添加

1 parent c925e458
...@@ -116,14 +116,14 @@ ...@@ -116,14 +116,14 @@
<if test="shopName !=null and shopName !=''"> <if test="shopName !=null and shopName !=''">
and labels like CONCAT('%',#{shopName},'%') and labels like CONCAT('%',#{shopName},'%')
</if> </if>
group by labels group by labels order by orderCount desc
</select> </select>
<select id="findOutletsDataDetail" resultMap="BaseResultMap"> <select id="findOutletsDataDetail" resultMap="BaseResultMap">
select active_date,owner_name,vin,sn,address,lng,t2.adcode, select active_date,owner_name,vin,sn,address,lng,t2.adcode,
lat lat
from t_channel_risk_data t1 left join base_provinces t2 on t1.prov=t2.name from t_channel_risk_data t1 left join base_provinces t2 on t1.prov=t2.name
where type=1 and labels!=-1 where type=1 and labels=-1
<if test="item.provinceName !=null and item.provinceName !=''"> <if test="item.provinceName !=null and item.provinceName !=''">
and prov=#{item.provinceName} and prov=#{item.provinceName}
</if> </if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!