|
@@ -3,6 +3,7 @@ package com.rongwei.bscommon.sys.service.impl;
|
|
import cn.hutool.core.date.DateUtil;
|
|
import cn.hutool.core.date.DateUtil;
|
|
import com.rongwei.bscommon.sys.dao.*;
|
|
import com.rongwei.bscommon.sys.dao.*;
|
|
import com.rongwei.bscommon.sys.service.ZhcxPMQMService;
|
|
import com.rongwei.bscommon.sys.service.ZhcxPMQMService;
|
|
|
|
+import com.rongwei.bscommon.sys.service.ZhcxPmqManagementDistributionDetailService;
|
|
import com.rongwei.bscommon.sys.utils.ZhcxCommon;
|
|
import com.rongwei.bscommon.sys.utils.ZhcxCommon;
|
|
import com.rongwei.bsentity.domain.ZhcxPmqManagementDo;
|
|
import com.rongwei.bsentity.domain.ZhcxPmqManagementDo;
|
|
import com.rongwei.bsentity.domain.ZhcxPmqManagementMapDo;
|
|
import com.rongwei.bsentity.domain.ZhcxPmqManagementMapDo;
|
|
@@ -60,6 +61,9 @@ public class ZhcxPMQMServiceImpl implements ZhcxPMQMService {
|
|
@Autowired
|
|
@Autowired
|
|
private ZhcxPMQMDao zhcxPMQMDao;
|
|
private ZhcxPMQMDao zhcxPMQMDao;
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private ZhcxPmqManagementDistributionDetailService zhcxPmqManagementDistributionDetailService;
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
public List<Map<String, Object>> getPMQMData(Map<String, String> map) {
|
|
public List<Map<String, Object>> getPMQMData(Map<String, String> map) {
|
|
List<Map<String, Object>> res = new ArrayList<>();
|
|
List<Map<String, Object>> res = new ArrayList<>();
|
|
@@ -184,7 +188,9 @@ public class ZhcxPMQMServiceImpl implements ZhcxPMQMService {
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void updateCloseStatusSimple(String id) {
|
|
public void updateCloseStatusSimple(String id) {
|
|
- ZhcxPmqManagementDo row = managementDao.selectById(id);
|
|
|
|
|
|
+ // 更新第一层的状态
|
|
|
|
+ zhcxPmqManagementDistributionDetailService.updateClosedStateInFirstFloor(id);
|
|
|
|
+ /*ZhcxPmqManagementDo row = managementDao.selectById(id);
|
|
Map<String, String> queryMap = new HashMap<>();
|
|
Map<String, String> queryMap = new HashMap<>();
|
|
queryMap.put("pid", id);
|
|
queryMap.put("pid", id);
|
|
List<ZhcxPmqManagementRecoredDo> list = recoredDao.getByPid(queryMap);
|
|
List<ZhcxPmqManagementRecoredDo> list = recoredDao.getByPid(queryMap);
|
|
@@ -198,7 +204,7 @@ public class ZhcxPMQMServiceImpl implements ZhcxPMQMService {
|
|
row.setClosestatus("未关闭");
|
|
row.setClosestatus("未关闭");
|
|
}
|
|
}
|
|
managementDao.updateById(row);
|
|
managementDao.updateById(row);
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|