|
@@ -37,6 +37,8 @@ public class FbsDispatchListsServiceImpl extends ServiceImpl<FbsDispatchListsMap
|
|
if(StringUtils.isBlank(fbsDispatchLists.getCitemname())){
|
|
if(StringUtils.isBlank(fbsDispatchLists.getCitemname())){
|
|
fbsDispatchLists.setCitemname("空");
|
|
fbsDispatchLists.setCitemname("空");
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+
|
|
map.put(fbsDispatchLists.getCitemname(),fbsDispatchLists.getIquantity());
|
|
map.put(fbsDispatchLists.getCitemname(),fbsDispatchLists.getIquantity());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -52,13 +54,18 @@ public class FbsDispatchListsServiceImpl extends ServiceImpl<FbsDispatchListsMap
|
|
|
|
|
|
if(fbsDispatchListsList!=null){
|
|
if(fbsDispatchListsList!=null){
|
|
for(String month:moths){
|
|
for(String month:moths){
|
|
|
|
+ boolean ismonth=false;
|
|
for(FbsDispatchLists fbsDispatchLists:fbsDispatchListsList){
|
|
for(FbsDispatchLists fbsDispatchLists:fbsDispatchListsList){
|
|
if(StringUtils.isNotBlank(fbsDispatchLists.getMonths())){
|
|
if(StringUtils.isNotBlank(fbsDispatchLists.getMonths())){
|
|
if(month.equals(fbsDispatchLists.getMonths())){
|
|
if(month.equals(fbsDispatchLists.getMonths())){
|
|
- map.put(month,fbsDispatchLists.getItemCount());
|
|
+ map.put(month+"月",fbsDispatchLists.getItemCount());
|
|
|
|
+ ismonth=true;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if(ismonth==false){
|
|
|
|
+ map.put(month+"月","0");
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|