Commit c2f5e02f authored by zhengjiawei's avatar zhengjiawei

sql修改

parent 6943a580
......@@ -173,7 +173,7 @@
WHERE
efe.fire_equipment_id = ind.equipment_specific_id
) equipmentName,
ind.update_date
ind.update_date as create_date
FROM
wl_equipment_specific_index as ind
left join wl_equipment_specific as spe on spe.id = ind.equipment_specific_id
......@@ -189,9 +189,9 @@
AND d.equipmentName LIKE '%${equipmentName}%'
</if>
<if test="startTime!=null">
AND d.update_date BETWEEN '${startTime}' AND '${endTime}'
AND d.create_date BETWEEN '${startTime}' AND '${endTime}'
</if>
ORDER BY d.update_date desc
ORDER BY d.create_date desc
LIMIT ${start},${length}
</select>
......
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