@@ -123,7 +123,7 @@ public class EquipmentInfoMonthReportController {
Map<String,Object>dataMap=newHashMap<>();
Stringsql="";
//月度计划维修费合计XX万元
sql="select sum(ifnull(plan_cost,0)) 'plan_cost' from equipment_maintain_plan where release_status = '1' and start_time >= '"+startDate+" 00:00:00' and end_time <='"+endDate+" 23:59:59'";
sql="select round(sum(ifnull(plan_cost,0))/10000,2) 'plan_cost' from equipment_maintain_plan where release_status = '1' and start_time >= '"+startDate+" 00:00:00' and end_time <='"+endDate+" 23:59:59'";
@@ -452,15 +452,27 @@ public class ProductionEquipmentServiceImpl implements IProductionEquipmentServi
topTenVO1.setNum(equipmentStatus1.toString());
list.add(topTenVO1);*/
Stringsql="select count(1) from equipment_repair where del_flag = 1 AND finish_flag = 'djx' AND create_time >='"+reportStatisticsDTO.getStartTime()+"' AND create_time >='"+reportStatisticsDTO.getEndTime()+"'";
Stringsql="select count(1) from equipment_repair where del_flag = 1 AND finish_flag = 'djx' ";
sql="select count(1) from equipment_repair where del_flag = 1 AND finish_flag in ('sbzx','wwwx') AND create_time >='"+reportStatisticsDTO.getStartTime()+"' AND create_time >='"+reportStatisticsDTO.getEndTime()+"'";
sql="select count(1) from equipment_repair where del_flag = 1 AND finish_flag in ('sbzx','wwwx') ";