Commit 0f18777f authored by jiawei's avatar jiawei

/tBoardStatistic/getBoardDistrictPageList=======》》》获取地区展板播统计 Mapper文件 SQL语句错误修改

parent 39f6986d
...@@ -119,13 +119,13 @@ ...@@ -119,13 +119,13 @@
left join t_organ o on o.id = s.organ_id left join t_organ o on o.id = s.organ_id
<where> <where>
<if test="district.playDate != null and district.playDate.length() == 4"> <if test="district.playDate != null and district.playDate.length() == 4">
left(s.play_date,4) = ${district.playDate} and left(s.play_date,4) = ${district.playDate}
</if> </if>
<if test="district.playDate != null and district.playDate.length() == 6"> <if test="district.playDate != null and district.playDate.length() == 6">
left(s.play_date,6) = ${district.playDate} and left(s.play_date,6) = ${district.playDate}
</if> </if>
<if test="district.playDate != null and district.playDate.length() == 6"> <if test="district.playDate != null and district.playDate.length() == 8">
s.play_date = ${district.playDate} and s.play_date = ${district.playDate}
</if> </if>
<if test="district.organCode != null"> <if test="district.organCode != null">
and o.code LIKE concat(#{district.organCode}, '%') and o.code LIKE concat(#{district.organCode}, '%')
......
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