Commit 5e7005c0 by jinxin

判空处理

parent 17eda465
...@@ -108,6 +108,9 @@ public class WxEnterpriseActiveDataServiceImpl implements WxEnterpriseActiveData ...@@ -108,6 +108,9 @@ public class WxEnterpriseActiveDataServiceImpl implements WxEnterpriseActiveData
if (StrUtil.isBlank(wxEnterpriseId)) if (StrUtil.isBlank(wxEnterpriseId))
return null; return null;
StaffActiveDataDTO staffActiveDataDTO = EntityUtil.changeEntityByJSON(StaffActiveDataDTO.class, tabHaobanWxEnterpriseActiveDataMapper.getWxEnterpriseActiveDataByWxEnterpriseId(wxEnterpriseId)); StaffActiveDataDTO staffActiveDataDTO = EntityUtil.changeEntityByJSON(StaffActiveDataDTO.class, tabHaobanWxEnterpriseActiveDataMapper.getWxEnterpriseActiveDataByWxEnterpriseId(wxEnterpriseId));
if (ObjectUtil.isNull(staffActiveDataDTO)){
return null;
}
//查询其他占用许可总数 //查询其他占用许可总数
Integer occupy=0; Integer occupy=0;
occupy=staffService.getOccupyNum(wxEnterpriseId); occupy=staffService.getOccupyNum(wxEnterpriseId);
......
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