修改sql语句报错的问题
This commit is contained in:
parent
f83a274716
commit
063bb7607b
|
@ -17,6 +17,8 @@ import org.jeecg.modules.zh.view.hy.entity.Hy;
|
||||||
*/
|
*/
|
||||||
public interface BlHousingestateInfoMapper extends BaseMapper<BlHousingestateInfo> {
|
public interface BlHousingestateInfoMapper extends BaseMapper<BlHousingestateInfo> {
|
||||||
|
|
||||||
|
IPage<BlHousingestateInfo> findPage(Page<BlHousingestateInfo> page, @Param("params")BlHousingestateInfo blHousingestateInfo);
|
||||||
|
|
||||||
IPage<Hy> queryXqHyTdzlList(Page<Hy> page, @Param("hy")Hy hy);
|
IPage<Hy> queryXqHyTdzlList(Page<Hy> page, @Param("hy")Hy hy);
|
||||||
|
|
||||||
IPage<Hy> queryXqHyXzList(Page<Hy> page, @Param("hy")Hy hy);
|
IPage<Hy> queryXqHyXzList(Page<Hy> page, @Param("hy")Hy hy);
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
round(sum(a.weight),2) as weight
|
round(sum(a.weight),2) as weight
|
||||||
from bl_order_info a
|
from bl_order_info a
|
||||||
inner join bl_housingestate_info b on a.housingestate_id = b.housingestate_id
|
inner join bl_housingestate_info b on a.housingestate_id = b.housingestate_id
|
||||||
and a.add_time >= #{beginTime}
|
and a.add_time >= #{hy.beginTime}
|
||||||
and a.add_time <= #{endTime}
|
and a.add_time <= #{hy.endTime}
|
||||||
group by a.housingestate_id,b.name
|
group by a.housingestate_id,b.name
|
||||||
ORDER BY weight desc
|
ORDER BY weight desc
|
||||||
</select>
|
</select>
|
||||||
|
@ -38,8 +38,8 @@
|
||||||
count(a.phone) as cn
|
count(a.phone) as cn
|
||||||
from bl_user_info a
|
from bl_user_info a
|
||||||
inner join bl_housingestate_info b on a.housingestate_id = b.housingestate_id
|
inner join bl_housingestate_info b on a.housingestate_id = b.housingestate_id
|
||||||
where a.register_date >= #{beginTime}
|
where a.register_date >= #{hy.beginTime}
|
||||||
and a.register_date <= #{endTime}
|
and a.register_date <= #{hy.endTime}
|
||||||
group by a.housingestate_id,b.name
|
group by a.housingestate_id,b.name
|
||||||
ORDER BY cn desc
|
ORDER BY cn desc
|
||||||
</select>
|
</select>
|
||||||
|
@ -51,8 +51,8 @@
|
||||||
count(a.id) as cn
|
count(a.id) as cn
|
||||||
from bl_order_info a
|
from bl_order_info a
|
||||||
inner join bl_housingestate_info b on a.housingestate_id = b.housingestate_id
|
inner join bl_housingestate_info b on a.housingestate_id = b.housingestate_id
|
||||||
where a.add_time >= #{beginTime}
|
where a.add_time >= #{hy.beginTime}
|
||||||
and a.add_time <= #{endTime}
|
and a.add_time <= #{hy.endTime}
|
||||||
group by a.housingestate_id,b.name
|
group by a.housingestate_id,b.name
|
||||||
order by cn desc
|
order by cn desc
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue