Commit e17d2186 authored by 李松's avatar 李松

修改bug

parent 626b60b7
...@@ -2047,10 +2047,10 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste ...@@ -2047,10 +2047,10 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
// bug-21203 // bug-21203
if (equipmentInfoForm.containsKey("DATA_SOURCE")){ if (equipmentInfoForm.containsKey("DATA_SOURCE")){
String dataSourceCopy = equipmentInfoForm.get("DATA_SOURCE").toString(); String dataSourceCopy = equipmentInfoForm.get("DATA_SOURCE").toString();
if (dataSourceCopy.startsWith("jg")){ if (dataSourceCopy.startsWith("jg_his_")){
dataSource = "jg_" + sourceRecord;
}else {
dataSource = "jg_his_" + sourceRecord; dataSource = "jg_his_" + sourceRecord;
}else {
dataSource = "jg_" + sourceRecord;
} }
}else { }else {
throw new BadRequest("数据异常,请联系管理员"); throw new BadRequest("数据异常,请联系管理员");
......
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