|
@@ -87,14 +87,14 @@ public class SupermarketServiceImpl implements SupermarketService {
|
|
|
String endStr = iocParam.getTimeRange().getEndDate();
|
|
|
List<String> list = DateUtil.getBetweenDays(startStr, endStr);
|
|
|
String[] labKey = list.toArray(new String[0]);
|
|
|
- // String[] labKey = {"1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"};
|
|
|
- // List<Label> labels1 = GeneralMethod.getInstance().dataGeneration(param, labKey);
|
|
|
List<Label> labels1 = new ArrayList<>();
|
|
|
DecimalFormat decimalFormat = new DecimalFormat("#.0");
|
|
|
for (int i = 0; i < labKey.length; i++) {
|
|
|
Label label = new Label();
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
IocParam iocParam1 = new IocParam();
|
|
|
+ iocParam1.setCompanyId(iocParam.getCompanyId());
|
|
|
+ iocParam1.setDeptId(iocParam.getDeptId());
|
|
|
IocTimeRange iocTimeRange = new IocTimeRange();
|
|
|
iocTimeRange.setStartDate(labKey[i]+" 00:00:00");
|
|
|
iocTimeRange.setEndDate(labKey[i]+" 12:00:00");
|
|
@@ -150,6 +150,8 @@ public class SupermarketServiceImpl implements SupermarketService {
|
|
|
Label label = new Label();
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
IocParam iocParam1 = new IocParam();
|
|
|
+ iocParam1.setCompanyId(iocParam.getCompanyId());
|
|
|
+ iocParam1.setDeptId(iocParam.getDeptId());
|
|
|
IocTimeRange iocTimeRange = new IocTimeRange();
|
|
|
iocTimeRange.setStartDate(labKey[i]+" 00:00:00");
|
|
|
iocTimeRange.setEndDate(labKey[i]+" 23:59:59");
|