Commit 5b161654 authored by zhangsen's avatar zhangsen

3小bug修改

parent 3bd74a59
......@@ -1318,8 +1318,14 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
@Override
public Page<Map<String, Object>> getSmallWaterInfo(Page page, HashMap<String, Object> hashMap) {
String bizOrgCode = hashMap.get("bizOrgCode").toString();
String systemCode = hashMap.get("systemCode").toString();
String bizOrgCode = null;
String systemCode = null;
if (hashMap.containsKey("bizOrgCode")) {
bizOrgCode = hashMap.get("bizOrgCode").toString();
}
if (hashMap.containsKey("systemCode")) {
systemCode = hashMap.get("systemCode").toString();
}
return fireFightingSystemMapper.getWaterInfo(page, bizOrgCode, systemCode);
}
......
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