kangwei:设备分析补充:故障补充设备id
正在显示
2 个修改的文件
包含
5 行增加
和
1 行删除
... | @@ -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 !=''"> | ... | ... |
-
请 注册 或 登录 后发表评论