Commit b324584b5ef66fa9975c8a72ab41811ec11c9423

Authored by wangqian
1 parent bf21758e

首页统计接口修改

urbanops-module-garden/src/main/resources/mapper/homepage/HomepageSummaryMapper.xml
... ... @@ -239,6 +239,9 @@
239 239 from view_statics_times v
240 240 left join workorder_main_info t
241 241 on v.date_value = DATE_FORMAT(t.create_time , '%Y-%m-%d') and deleted =0
  242 + <if test="companyId != null">
  243 + and t.worker_company_id = #{companyId}
  244 + </if>
242 245 <where>
243 246 <if test="beginTime != null and beginTime != ''">
244 247 AND v.date_value >= #{beginTime}
... ...