Commit 75cc2dcf authored by tianbo's avatar tianbo

fix(jg):修复设备注册信息查询逻辑

- 在查询使用登记管理信息时增加 isDelete 条件过滤。确保只查询未删除的记录以避免数据异常
parent 1d2d5773
......@@ -826,6 +826,7 @@ public class CommonEquipDataProcessService {
if (!ValidationUtil.isEmpty(registerInfo.getUseOrgCode())) {
JgUseRegistrationManage jgUseRegistrationManage = jgUseRegistrationManageService.lambdaQuery()
.eq(JgUseRegistrationManage::getUseRegistrationCode, registerInfo.getUseOrgCode())
.eq(JgUseRegistrationManage::getIsDelete, 0)
.select(JgUseRegistrationManage::getSequenceNbr, JgUseRegistrationManage::getReceiveCompanyCode).one();
result.put("receiveCompanyCode", 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