08331463 康伟

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

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