This commit is contained in:
parent
9f95d18be1
commit
52b9340440
|
@ -53,8 +53,9 @@
|
|||
UNION
|
||||
SELECT br.noice,br.push_time,br.project_name,bs.jd,bs.wd,bs.channel_name,bs.sgwz,bs.ssdq,bs.channel_code FROM
|
||||
t_building_records br JOIN t_building_site bs ON br.project_name = bs.gdmc
|
||||
WHERE DATE_FORMAT(br.push_time,'%H')>=6 AND DATE_FORMAT(br.push_time,'%H') < 22 AND br.noice > 70) a ORDER BY a.push_time DESC) b
|
||||
WHERE DATE_FORMAT(br.push_time,'%H')>=6 AND DATE_FORMAT(br.push_time,'%H') < 22 AND br.noice > 70) a ) b
|
||||
LEFT JOIN t_channel_picture cp ON b.channel_code = cp.channel_code
|
||||
ORDER BY b.push_time DESC
|
||||
<if test="page!=null and '' != page and pageSize != null and '' != pageSize">
|
||||
<bind name="page" value="(page-1)*pageSize"/>
|
||||
limit #{page},#{pageSize}
|
||||
|
|
Loading…
Reference in New Issue