Commit 214ec2d9 authored by zhangsen's avatar zhangsen

改bug

parent 131be008
......@@ -154,6 +154,9 @@ public class EquipmentSpecificSerivceImpl extends ServiceImpl<EquipmentSpecificM
@Autowired
WarehouseStructureMapper warehouseStructureMapper;
@Autowired
FormInstanceMapper formInstanceMapper;
@Value("${systemctl.sync.switch}")
private Boolean syncSwitch;
......@@ -1499,6 +1502,11 @@ public class EquipmentSpecificSerivceImpl extends ServiceImpl<EquipmentSpecificM
finalVo.setInstanceId(String.valueOf(warehouseStructure.getSourceId()));
finalVo.setBizOrgCode(warehouseStructure.getBizOrgCode());
}
QueryWrapper<FormInstance> qw = new QueryWrapper<>();
qw.lambda().eq(FormInstance::getInstanceId, sourceId)
.eq(FormInstance::getFieldName, "bizOrgCode");
FormInstance formInstance = formInstanceMapper.selectOne(qw);
finalVo.setBizOrgCode(formInstance.getFieldValue());
return finalVo;
}
......
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