Commit a93aab47 by bilingfeng

fix : 增加非空判断

parent 09b858ab
......@@ -169,6 +169,10 @@ public class ClerkController extends WebBaseController{
AuditSettingVO auditSettingVO = new AuditSettingVO();
ClerkMainStoreRelatedDTO mainStore = clerkMainStoreRelatedApiService.getWxEnterpriseIdAndStaffId(wxEnterpriseId, staffId);
if (mainStore == null){
logger.info("该门店不存在");
return resultResponse(HaoBanErrCode.ERR_5);
}
String mainStoreId = mainStore.getStoreId();
StoreDTO storeDTO = storeService.getStore(mainStoreId);
if (null == storeDTO) {
......
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