bug修复
This commit is contained in:
parent
90a2adfa4f
commit
603b368a04
@ -135,7 +135,7 @@ public class SmartGroutDataServiceImpl extends ServiceImpl<SmartGroutDataMapper,
|
|||||||
List<String> dateTimeStrList;
|
List<String> dateTimeStrList;
|
||||||
String format;
|
String format;
|
||||||
if (Objects.equals(type, 1)) {
|
if (Objects.equals(type, 1)) {
|
||||||
dateTimeStrList = DateUtils.getDateTimeStrList(100, "HH:00");
|
dateTimeStrList = DateUtils.getDateTimeStrList(100, "yyyy-MM-dd HH:00");
|
||||||
format = "HH:00";
|
format = "HH:00";
|
||||||
} else if (Objects.equals(type, 2)) {
|
} else if (Objects.equals(type, 2)) {
|
||||||
dateTimeStrList = DateUtils.getDateTimeStrList(60, "yyyy-MM-dd");
|
dateTimeStrList = DateUtils.getDateTimeStrList(60, "yyyy-MM-dd");
|
||||||
|
|||||||
@ -140,7 +140,7 @@ public class SmartTensionDataServiceImpl extends ServiceImpl<SmartTensionDataMap
|
|||||||
trendVos.add(new TrendVo("合格率", "2"));
|
trendVos.add(new TrendVo("合格率", "2"));
|
||||||
List<TrendOneVo> list = baseMapper.countQualifiedTrend(paramMap);
|
List<TrendOneVo> list = baseMapper.countQualifiedTrend(paramMap);
|
||||||
if (Objects.equals(type, 1)) {
|
if (Objects.equals(type, 1)) {
|
||||||
List<String> dateTimeStrList = DateUtils.getDateTimeStrList(100, "HH:00");
|
List<String> dateTimeStrList = DateUtils.getDateTimeStrList(100, "yyyy-MM-dd HH:00");
|
||||||
String format = "HH:00";
|
String format = "HH:00";
|
||||||
return TrendVo.getTrendVos(trendVos, list, dateTimeStrList, format);
|
return TrendVo.getTrendVos(trendVos, list, dateTimeStrList, format);
|
||||||
} else if (Objects.equals(type, 2)) {
|
} else if (Objects.equals(type, 2)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user