08331463 康伟

kangwei:设备分析补充:故障补充设备id

1 个父辈 4f6f728c
......@@ -30,6 +30,10 @@ public class EquipmentFailurelVO {
private String createCmpy;
@ApiModelProperty(value = "设备编号")
private String infoId;
@ApiModelProperty(value = "设备名称")
private String equipmentName;
......
......@@ -104,7 +104,7 @@
</if>
</select>
<select id="getMaintainCostByMaintenanceType" parameterType="java.lang.String" resultType="java.lang.Double">
select round(ifnull(sum(maintenance_cost)/10000,0),2) maintenance_cost
select round(ifnull(sum(emt.maintenance_cost)/10000,0),2) maintenance_cost
from equipment_maintain_task emt , equipment_maintain_plan emp
WHERE emt.plan_id = emp.id and emt.del_flag = 0
<if test="maintenanceType !=null and maintenanceType !=''">
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!