|
|
@@ -5,6 +5,7 @@ import java.text.ParseException;
|
|
|
import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
+import cn.hutool.core.collection.CollectionUtil;
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.fs.common.core.domain.R;
|
|
|
@@ -140,9 +141,21 @@ public class FsStoreOrderController extends BaseController
|
|
|
list = fsStoreOrderService.selectFsStoreOrderListVOByErpAccount(fsStoreOrder);
|
|
|
} else {
|
|
|
list = fsStoreOrderService.selectFsStoreOrderListVO(fsStoreOrder);
|
|
|
+ if (CollectionUtil.isNotEmpty(list)){
|
|
|
+ for(FsStoreOrderListVO vo : list){
|
|
|
+ if (StringUtils.isNotEmpty(vo.getTagNames())) {
|
|
|
+ vo.setTags(JSON.parseArray(vo.getTagNames(), String.class));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
//金牛需求 区别其他项目 status = 6 (金牛代服管家) ,其他项目请避免使用订单状态status = 6
|
|
|
TableDataInfo dataTable = getDataTable(list);
|
|
|
+
|
|
|
+ //处理档期标签数据总数问题
|
|
|
+ if (StringUtils.isNotEmpty(fsStoreOrder.getTag())) {
|
|
|
+ dataTable.setTotal(list.size());
|
|
|
+ }
|
|
|
if ("金牛明医".equals(cloudHostProper.getCompanyName())){
|
|
|
if (fsStoreOrder.getStatus() !=null && fsStoreOrder.getStatus() != 1){
|
|
|
list.forEach(vo->{
|