Commit 3246afa9 authored by 刘林's avatar 刘林 Committed by tianbo

fix(大屏):大屏接口修改

parent 71e7481c
...@@ -1549,7 +1549,7 @@ public class JGDPStatisticsServiceImpl { ...@@ -1549,7 +1549,7 @@ public class JGDPStatisticsServiceImpl {
public Map<String, Object> getRegEquCount(DPFilterParamDto dpFilterParamDto) { public Map<String, Object> getRegEquCount(DPFilterParamDto dpFilterParamDto) {
String orgCodeP = stCommonService.getAndSetOrgCode(dpFilterParamDto); String orgCodeP = stCommonService.getAndSetOrgCode(dpFilterParamDto);
Map<String, Object> resultMap = new HashMap<>(); Map<String, Object> resultMap = new HashMap<>();
String startTime = LocalDate.now().minusDays(29).format(DateTimeFormatter.ofPattern("yyyy-MM-dd")); String startTime = LocalDate.now().minusDays(30).format(DateTimeFormatter.ofPattern("yyyy-MM-dd"));
//使用登记 //使用登记
List<Map<String, Object>> uselist = jgStatisticsMapper.useEquCount(orgCodeP, startTime); List<Map<String, Object>> uselist = jgStatisticsMapper.useEquCount(orgCodeP, startTime);
Map<String, Integer> useCountMap = new HashMap<>(); Map<String, Integer> useCountMap = new HashMap<>();
...@@ -3074,8 +3074,8 @@ public class JGDPStatisticsServiceImpl { ...@@ -3074,8 +3074,8 @@ public class JGDPStatisticsServiceImpl {
objMap.put("completedBusinessTypes", judgeTheBusinessAccordingByRecord(record, objMap)); objMap.put("completedBusinessTypes", judgeTheBusinessAccordingByRecord(record, objMap));
// 账号类型(用于车用气瓶流程页面-》监管审核-》打开设备详情 时隐藏保存按钮) // 账号类型(用于车用气瓶流程页面-》监管审核-》打开设备详情 时隐藏保存按钮)
ReginParams reginParams = JSON.parseObject(redisUtils.get(RedisKey.buildReginKey(RequestContext.getExeUserId(), RequestContext.getToken())).toString(), ReginParams.class); //ReginParams reginParams = JSON.parseObject(redisUtils.get(RedisKey.buildReginKey(RequestContext.getExeUserId(), RequestContext.getToken())).toString(), ReginParams.class);
objMap.put("accountType", reginParams.getCompany().getCompanyType()); //objMap.put("accountType", reginParams.getCompany().getCompanyType());
// 登记日期 // 登记日期
if (!ValidationUtil.isEmpty(registerInfo.getUseOrgCode())) { if (!ValidationUtil.isEmpty(registerInfo.getUseOrgCode())) {
Optional<JgUseRegistrationManage> firstRecord = jgUseRegistrationManageMapper.selectList(new QueryWrapper<JgUseRegistrationManage>().lambda() Optional<JgUseRegistrationManage> firstRecord = jgUseRegistrationManageMapper.selectList(new QueryWrapper<JgUseRegistrationManage>().lambda()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment