|
|
@@ -60,7 +60,6 @@ public class RabbitSnapshotMessageQueueConsumer {
|
|
|
public void popup(Message<String> message) throws Exception {
|
|
|
String instId = message.getVariables().get("instId").toString();
|
|
|
String userId = message.getVariables().get("userId").toString();
|
|
|
- LOGGER.warn("processing snapshot with instId= " + instId);
|
|
|
Thread.sleep(10000);
|
|
|
|
|
|
/*
|
|
|
@@ -90,11 +89,12 @@ public class RabbitSnapshotMessageQueueConsumer {
|
|
|
if (BeanUtils.isNotEmpty(hisMap)){
|
|
|
|
|
|
Map<String, Object> kzMap = commonDao.queryOne(" SELECT ti_jiao_kuai_zhao,bao_biao_lu_jing_,tablekey_ FROM t_lcidglbdbb " +
|
|
|
- "where liu_cheng_xuan_ze = '" + hisMap.get("PROC_DEF_KEY_") + "' AND gui_dang_lei_xing = 'process'");
|
|
|
+ "where liu_cheng_xuan_ze = '" + hisMap.get("PROC_DEF_KEY_") + "' AND gui_dang_lei_xing = 'process' limit 1");
|
|
|
APIResult<AttachmentPo> result = new APIResult<>();
|
|
|
|
|
|
if (BeanUtils.isNotEmpty(kzMap) && kzMap.containsKey("ti_jiao_kuai_zhao") &&
|
|
|
BeanUtils.isNotEmpty(kzMap.get("ti_jiao_kuai_zhao")) && "是".equals(kzMap.get("ti_jiao_kuai_zhao")) ) {
|
|
|
+ LOGGER.warn("processing snapshot with instId= " + instId);
|
|
|
PartyEmployeePo employeePo = partyEmployeeRepository.get(userId);
|
|
|
String position = employeePo.getPositions().split(",")[0];
|
|
|
PartyEntityPo entityPo = partyEntityRepository.get(position);
|