大屏装备利用率计算
This commit is contained in:
parent
921dc6d9b9
commit
2b548896f0
|
|
@ -523,7 +523,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="brand != null and brand != ''"> and d.brand = #{brand}</if>
|
||||
<if test="modelName != null and modelName != ''"> and d.model_name like concat('%', #{modelName}, '%')</if>
|
||||
<if test="companyId != null and companyId !=''"> and d.own_co = #{companyId}</if>
|
||||
<if test="startTime != null and endTime != null">
|
||||
<if test="startTime != null and endTime !='' and endTime != null and endTime !=''">
|
||||
and d.update_time between #{startTime} and #{endTime}
|
||||
</if>
|
||||
<if test="keyWord != null and keyWord != ''">
|
||||
|
|
@ -960,9 +960,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
sum(total_up_day) as totalUpDay,
|
||||
sum(total_lease_day) as totalLeaseDay
|
||||
FROM
|
||||
bm_message
|
||||
ma_dev_info
|
||||
WHERE
|
||||
message_type = '3'
|
||||
ma_status = '3'
|
||||
</select>
|
||||
|
||||
<update id="updateTotalDevUpDay">
|
||||
|
|
|
|||
Loading…
Reference in New Issue