zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
commit | author | age
a18bfa 1 package com.changhong.autoform.service.define;
Z 2
3 import java.util.List;
4
5 import com.changhong.autoform.entity.CodeAndValueBean;
6 import com.changhong.autoform.entity.MasterData;
7 import com.changhong.autoform.entity.MasterDefineEntity;
8 import com.changhong.autoform.entity.MasterElementEntity;
9 import com.changhong.autoform.entity.MasterValue;
10 import com.changhong.autoform.entity.MasterValueEntity;
11
12 public interface DefineService {
13
14     CodeAndValueBean masterValueCodeToName(MasterValue masterValue);
15     
16     /**
17      * 在创建表单数据时查询主数据定义
18      */
19     List<MasterDefineEntity> selectAllMainDef(MasterData materData);
20     
21     /**
22      * 在创建表单数据时搜索框中查询主数据元素
23      */
24     List<MasterElementEntity> searchMainElement(MasterData materData);
25     
26     /**
27      * 在新建数据时查询主数据元素
28      */
29 //    List<MasterValueEntity> selectCreateMainValue(MasterValue masterValue);
30     List<CodeAndValueBean> selectCreateMainValue(MasterValue masterValue);
31 }