Subversion Repositories SmartDukaan

Rev

Rev 34149 | Rev 34813 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34149 Rev 34619
Line 1184... Line 1184...
1184
        List<Integer> storeIds = storeStream.map(x -> x.getId()).collect(Collectors.toList());
1184
        List<Integer> storeIds = storeStream.map(x -> x.getId()).collect(Collectors.toList());
1185
        return this.getFofoRetailers(storeIds);
1185
        return this.getFofoRetailers(storeIds);
1186
    }
1186
    }
1187
 
1187
 
1188
    @Override
1188
    @Override
-
 
1189
    @Cacheable(value = "allFofoRetailersInternalFalse", cacheManager = "thirtyMinsTimeOutCacheManager")
-
 
1190
    public Map<Integer, CustomRetailer> getAllFofoRetailersInternalFalse() throws ProfitMandiBusinessException {
-
 
1191
        // TODO Auto-generated method stub
-
 
1192
        Stream<FofoStore> storeStream = fofoStoreRepository.selectAll().stream().filter(x-> !x.isInternal());
-
 
1193
 
-
 
1194
        List<Integer> storeIds = storeStream.map(x -> x.getId()).collect(Collectors.toList());
-
 
1195
        return this.getFofoRetailers(storeIds);
-
 
1196
    }
-
 
1197
 
-
 
1198
    @Override
1189
    public LoginRequestResponseModel registerWebUser(LoginRequestResponseModel loginRequestModel) throws
1199
    public LoginRequestResponseModel registerWebUser(LoginRequestResponseModel loginRequestModel) throws
1190
            ProfitMandiBusinessException {
1200
            ProfitMandiBusinessException {
1191
 
1201
 
1192
        com.spice.profitmandi.dao.entity.user.User saholicUser = this.createSaholicUser(loginRequestModel);
1202
        com.spice.profitmandi.dao.entity.user.User saholicUser = this.createSaholicUser(loginRequestModel);
1193
        loginRequestModel.setUserId(saholicUser.getId());
1203
        loginRequestModel.setUserId(saholicUser.getId());