Commit 6573c3ad by 墨竹

feat:空指针

parent 0acccdb1
...@@ -265,7 +265,7 @@ public class StaffController extends WebBaseController { ...@@ -265,7 +265,7 @@ public class StaffController extends WebBaseController {
dto.setMainStoreFlag(0); dto.setMainStoreFlag(0);
} }
} }
if (dto.getManageFlag() == 1) { if (dto.getManageFlag() != null && dto.getManageFlag() == 1) {
dto.setManageStoreCount(storeWidgetService.getClerkWidgetStore(dto.getClerkId())); dto.setManageStoreCount(storeWidgetService.getClerkWidgetStore(dto.getClerkId()));
} }
} }
......
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