ludc
2025-01-15 d42f321ca241ab7f8bb3cdc71f11fe5ec4ebc48d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.vci.web.service;
 
import com.vci.corba.omd.stm.StatePool;
import com.vci.pagemodel.OsStatusVO;
 
import java.util.Collection;
import java.util.List;
import java.util.Map;
 
/**
 * @Description 状态池服务接口
 * @Author dangsn
 * @Date 2024/11/28 10:51
 */
public interface WebStatusServiceI {
 
    /**
     * 查询所有的状态
     * @return 状态的显示对象
     */
    List<OsStatusVO> selectAllStatus();
 
    /**
     * 查询全部的状态映射
     * @return key是状态的英文名称
     */
    Map<String, OsStatusVO> selectAllStatusMap();
 
    /**
     * 数据对象转换为显示对象
     * @param statePool 状态池的数据对象
     * @return 显示对象
     */
    OsStatusVO statusDO2VO(StatePool statePool);
 
    /**
     * 数据对象转换为显示对象
     * @param statePools 状态池的数据对象 集合
     * @return 显示对象
     */
    List<OsStatusVO> statusDO2VOs(Collection<StatePool> statePools);
}