Commit f5d58cba by 徐高华

test

parent 726171a0
......@@ -60,7 +60,7 @@ public class GicDepartmentController extends WebBaseController{
String clerkId = loginUser.getClerkId() ;
ClerkDTO clerk = this.clerkService.getclerkById(clerkId) ;
String storeWidgetId = clerk.getStoreWidgetId() ;
int selectType = 0 ;
int selectType = 3 ;
if(StringUtils.isNotBlank(storeWidgetId)) {
StoreWidgetDTO storeWidgetDTO = this.storeWidgetService.getStoreWidgetBykey(storeWidgetId);
if(null != storeWidgetDTO) {
......@@ -86,6 +86,10 @@ public class GicDepartmentController extends WebBaseController{
List<PowerStoreGroupDTO> retList = new ArrayList<>();
List<String> idList = list.stream().map(dto->dto.getId()).collect(Collectors.toList()) ;
for(PowerStoreGroupDTO item : departmentList) {
if("0".equals(item.getParentGroupId())) {
retList.add(item) ;
continue ;
}
if(idList.contains(item.getStoreGroupId())) {
retList.add(item) ;
}else {
......
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