Commit 0ec38bc0 authored by tianbo's avatar tianbo

fix(common): 更新缓存键值并修正设备接收公司代码设置

- 将缓存键从 REGULATOR_UNIT_TREE 更改为 ADMINISTRATION_UNIT_TREE - 修正 SingleEquipChangeProcess 中使用旧对象设置接收公司代码的问题
parent 05dabb81
...@@ -73,7 +73,7 @@ public class CommonCustomConverter { ...@@ -73,7 +73,7 @@ public class CommonCustomConverter {
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public static void refreshCache() { public static void refreshCache() {
cacheResult = (List<LinkedHashMap<String, Object>>) redisUtils.get("REGULATOR_UNIT_TREE"); cacheResult = (List<LinkedHashMap<String, Object>>) redisUtils.get("ADMINISTRATION_UNIT_TREE");
} }
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
......
...@@ -82,7 +82,7 @@ public class SingleEquipChangeProcess implements IEquipChangeDataProcessStrategy ...@@ -82,7 +82,7 @@ public class SingleEquipChangeProcess implements IEquipChangeDataProcessStrategy
.eq(JgUseRegistrationManage::getIsDelete,0) .eq(JgUseRegistrationManage::getIsDelete,0)
.eq(JgUseRegistrationManage::getCertificateStatus,YIDENGJI.getName()) .eq(JgUseRegistrationManage::getCertificateStatus,YIDENGJI.getName())
.select(JgUseRegistrationManage::getSequenceNbr, JgUseRegistrationManage::getReceiveCompanyCode).one(); .select(JgUseRegistrationManage::getSequenceNbr, JgUseRegistrationManage::getReceiveCompanyCode).one();
useInfoNew.setReceiveCompanyCode(jgUseRegistrationManage.getReceiveCompanyCode()); useInfoOld.setReceiveCompanyCode(jgUseRegistrationManage.getReceiveCompanyCode());
} }
// 历史有证设备检验(台套类设备+气瓶) // 历史有证设备检验(台套类设备+气瓶)
......
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