|
@@ -21,6 +21,7 @@ import com.platform.dao.vo.query.qykh.InformationVO;
|
|
|
import com.platform.dao.vo.query.qykh.PlanVO;
|
|
|
import com.platform.dao.vo.query.qykh.ProductVO;
|
|
|
import com.platform.dao.vo.query.store.StoreVO;
|
|
|
+import com.platform.dao.vo.sb.SbPositionVO;
|
|
|
import com.platform.dao.vo.sb.SbTypeVO;
|
|
|
import lombok.experimental.UtilityClass;
|
|
|
|
|
@@ -337,7 +338,7 @@ public class TreeUtil {
|
|
|
* @param root
|
|
|
* @return
|
|
|
*/
|
|
|
- public List<CommonTree> buildSbPositionTree(List<SbPosition> types, String root) {
|
|
|
+ public List<CommonTree> buildSbPositionTree(List<SbPositionVO> types, String root) {
|
|
|
List<CommonTree> trees = new LinkedList<>();
|
|
|
types.forEach(type -> {
|
|
|
CommonTree node = new CommonTree();
|
|
@@ -345,6 +346,7 @@ public class TreeUtil {
|
|
|
node.setKey(type.getId());
|
|
|
node.setParentId(type.getParentId());
|
|
|
node.setTitle(type.getName());
|
|
|
+ node.setImg(type.getOpcImg());
|
|
|
node.setValue(type.getId());
|
|
|
trees.add(node);
|
|
|
});
|