<div class="item-title">当月停机次数Top5</div>
<div id="stopTimes" style="height: 400px;width: 580px;"></div>
<img id="stopTimesImage" src="../../3rdTools/images/cheer.png">
public Map queryStopTimesData(Map params) throws Exception{
int factoryId = Integer.parseInt(String.valueOf(params.get("factoryid")));
Map shiftMap = shiftClassService.getShiftDate(new Date(),factoryId);
params.put("shiftdate",shiftMap.get("shiftdate"));
List<Map> list = ToLowerCaseForList(iPlanCompleteReportDao.queryStopTimesData(params));
List nameList = new ArrayList();
List rateList = new ArrayList();
List dataList = new ArrayList();
for(Map itemMap:list){
Map map = new HashMap();
map.put("value", itemMap.get("value"));
map.put("name", itemMap.