提交 c161a96b 编写于 作者: ibizdev's avatar ibizdev

ShineKOT 发布系统代码 [后台服务,演示应用]

上级 face6aa9
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.enums.DupCheck;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[视图数据信息实体]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_IBIZVIEWMESS", resultMap = "IBIZVIEWMESSResultMap")
public class IBIZVIEWMESS extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 视图数据信息实体名称
*/
@TableField(value = "ibizviewmessname")
@JSONField(name = "ibizviewmessname")
@JsonProperty("ibizviewmessname")
private String ibizviewmessname;
/**
* 视图数据信息实体标识
*/
@DEField(isKeyField = true)
@TableId(value = "ibizviewmessid", type = IdType.ASSIGN_UUID)
@JSONField(name = "ibizviewmessid")
@JsonProperty("ibizviewmessid")
private String ibizviewmessid;
/**
* 建立人
*/
@DEField(preType = DEPredefinedFieldType.CREATEMAN)
@TableField(value = "createman", fill = FieldFill.INSERT)
@JSONField(name = "createman")
@JsonProperty("createman")
private String createman;
/**
* 建立时间
*/
@DEField(preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "createdate", fill = FieldFill.INSERT)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate", format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate")
private Timestamp createdate;
/**
* 更新人
*/
@DEField(preType = DEPredefinedFieldType.UPDATEMAN)
@TableField(value = "updateman")
@JSONField(name = "updateman")
@JsonProperty("updateman")
private String updateman;
/**
* 更新时间
*/
@DEField(preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate", format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/**
* 设置 [视图数据信息实体名称]
*/
public void setIbizviewmessname(String ibizviewmessname) {
this.ibizviewmessname = ibizviewmessname;
this.modify("ibizviewmessname", ibizviewmessname);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizviewmessid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
package cn.ibizlab.core.sample.filter;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import lombok.*;
import lombok.extern.slf4j.Slf4j;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.util.ObjectUtils;
import org.springframework.util.StringUtils;
import cn.ibizlab.util.filter.QueryWrapperContext;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import cn.ibizlab.core.sample.domain.IBIZVIEWMESS;
/**
* 关系型数据实体[IBIZVIEWMESS] 查询条件对象
*/
@Slf4j
@Data
public class IBIZVIEWMESSSearchContext extends QueryWrapperContext<IBIZVIEWMESS> {
private String n_ibizviewmessname_like;//[视图数据信息实体名称]
public void setN_ibizviewmessname_like(String n_ibizviewmessname_like) {
this.n_ibizviewmessname_like = n_ibizviewmessname_like;
if(!ObjectUtils.isEmpty(this.n_ibizviewmessname_like)){
this.getSearchCond().like("ibizviewmessname", n_ibizviewmessname_like);
}
}
/**
* 启用快速搜索
*/
@Override
public void setQuery(String query)
{
this.query=query;
if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper ->
wrapper.like("ibizviewmessname", query)
);
}
}
}
package cn.ibizlab.core.sample.mapper;
import java.util.List;
import org.apache.ibatis.annotations.*;
import java.util.Map;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import java.util.HashMap;
import org.apache.ibatis.annotations.Select;
import cn.ibizlab.core.sample.domain.IBIZVIEWMESS;
import cn.ibizlab.core.sample.filter.IBIZVIEWMESSSearchContext;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
import java.io.Serializable;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.alibaba.fastjson.JSONObject;
public interface IBIZVIEWMESSMapper extends BaseMapper<IBIZVIEWMESS> {
Page<IBIZVIEWMESS> searchDefault(IPage page, @Param("srf") IBIZVIEWMESSSearchContext context, @Param("ew") Wrapper<IBIZVIEWMESS> wrapper);
@Override
IBIZVIEWMESS selectById(Serializable id);
@Override
int insert(IBIZVIEWMESS entity);
@Override
int updateById(@Param(Constants.ENTITY) IBIZVIEWMESS entity);
@Override
int update(@Param(Constants.ENTITY) IBIZVIEWMESS entity, @Param("ew") Wrapper<IBIZVIEWMESS> updateWrapper);
@Override
int deleteById(Serializable id);
/**
* 自定义查询SQL
* @param sql
* @return
*/
@Select("${sql}")
List<JSONObject> selectBySQL(@Param("sql") String sql, @Param("et")Map param);
/**
* 自定义更新SQL
* @param sql
* @return
*/
@Update("${sql}")
boolean updateBySQL(@Param("sql") String sql, @Param("et")Map param);
/**
* 自定义插入SQL
* @param sql
* @return
*/
@Insert("${sql}")
boolean insertBySQL(@Param("sql") String sql, @Param("et")Map param);
/**
* 自定义删除SQL
* @param sql
* @return
*/
@Delete("${sql}")
boolean deleteBySQL(@Param("sql") String sql, @Param("et")Map param);
}
package cn.ibizlab.core.sample.service;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.scheduling.annotation.Async;
import com.alibaba.fastjson.JSONObject;
import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.sample.domain.IBIZVIEWMESS;
import cn.ibizlab.core.sample.filter.IBIZVIEWMESSSearchContext;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* 实体[IBIZVIEWMESS] 服务对象接口
*/
public interface IIBIZVIEWMESSService extends IService<IBIZVIEWMESS> {
boolean create(IBIZVIEWMESS et);
void createBatch(List<IBIZVIEWMESS> list);
boolean update(IBIZVIEWMESS et);
void updateBatch(List<IBIZVIEWMESS> list);
boolean remove(String key);
void removeBatch(Collection<String> idList);
IBIZVIEWMESS get(String key);
IBIZVIEWMESS getDraft(IBIZVIEWMESS et);
boolean checkKey(IBIZVIEWMESS et);
boolean save(IBIZVIEWMESS et);
void saveBatch(List<IBIZVIEWMESS> list);
Page<IBIZVIEWMESS> searchDefault(IBIZVIEWMESSSearchContext context);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
* @param param 参数列表 param.put("param","1");
* @return select * from table where id = '1'
*/
List<JSONObject> select(String sql, Map param);
/**
*自定义SQL
* @param sql update table set name ='test' where id =#{et.param}
* @param param 参数列表 param.put("param","1");
* @return update table set name ='test' where id = '1'
*/
boolean execute(String sql, Map param);
List<IBIZVIEWMESS> getIbizviewmessByIds(List<String> ids);
List<IBIZVIEWMESS> getIbizviewmessByEntities(List<IBIZVIEWMESS> entities);
}
package cn.ibizlab.core.sample.service.impl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.Map;
import java.util.HashSet;
import java.util.HashMap;
import java.util.Collection;
import java.util.Objects;
import java.util.Optional;
import java.math.BigInteger;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cglib.beans.BeanCopier;
import org.springframework.stereotype.Service;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.Pageable;
import org.springframework.util.ObjectUtils;
import org.springframework.beans.factory.annotation.Value;
import cn.ibizlab.util.errors.BadRequestAlertException;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.context.annotation.Lazy;
import cn.ibizlab.core.sample.domain.IBIZVIEWMESS;
import cn.ibizlab.core.sample.filter.IBIZVIEWMESSSearchContext;
import cn.ibizlab.core.sample.service.IIBIZVIEWMESSService;
import cn.ibizlab.util.helper.CachedBeanCopier;
import cn.ibizlab.util.helper.DEFieldCacheMap;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.ibizlab.core.sample.mapper.IBIZVIEWMESSMapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.alibaba.fastjson.JSONObject;
import org.springframework.util.StringUtils;
/**
* 实体[视图数据信息实体] 服务对象接口实现
*/
@Slf4j
@Service("IBIZVIEWMESSServiceImpl")
public class IBIZVIEWMESSServiceImpl extends ServiceImpl<IBIZVIEWMESSMapper, IBIZVIEWMESS> implements IIBIZVIEWMESSService {
protected int batchSize = 500;
@Override
@Transactional
public boolean create(IBIZVIEWMESS et) {
if(!this.retBool(this.baseMapper.insert(et))) {
return false;
}
CachedBeanCopier.copy(get(et.getIbizviewmessid()), et);
return true;
}
@Override
@Transactional
public void createBatch(List<IBIZVIEWMESS> list) {
this.saveBatch(list, batchSize);
}
@Override
@Transactional
public boolean update(IBIZVIEWMESS et) {
if(!update(et, (Wrapper) et.getUpdateWrapper(true).eq("ibizviewmessid", et.getIbizviewmessid()))) {
return false;
}
CachedBeanCopier.copy(get(et.getIbizviewmessid()), et);
return true;
}
@Override
@Transactional
public void updateBatch(List<IBIZVIEWMESS> list) {
updateBatchById(list, batchSize);
}
@Override
@Transactional
public boolean remove(String key) {
boolean result = removeById(key);
return result ;
}
@Override
@Transactional
public void removeBatch(Collection<String> idList) {
removeByIds(idList);
}
@Override
@Transactional
public IBIZVIEWMESS get(String key) {
IBIZVIEWMESS et = getById(key);
if(et == null){
et = new IBIZVIEWMESS();
et.setIbizviewmessid(key);
}
else {
}
return et;
}
@Override
public IBIZVIEWMESS getDraft(IBIZVIEWMESS et) {
return et;
}
@Override
public boolean checkKey(IBIZVIEWMESS et) {
return (!ObjectUtils.isEmpty(et.getIbizviewmessid())) && (!Objects.isNull(this.getById(et.getIbizviewmessid())));
}
@Override
@Transactional
public boolean save(IBIZVIEWMESS et) {
if(!saveOrUpdate(et)) {
return false;
}
return true;
}
@Override
@Transactional
public boolean saveOrUpdate(IBIZVIEWMESS et) {
if (null == et) {
return false;
} else {
return checkKey(et) ? this.update(et) : this.create(et);
}
}
@Override
@Transactional
public boolean saveBatch(Collection<IBIZVIEWMESS> list) {
saveOrUpdateBatch(list,batchSize);
return true;
}
@Override
@Transactional
public void saveBatch(List<IBIZVIEWMESS> list) {
saveOrUpdateBatch(list,batchSize);
}
/**
* 查询集合 数据集
*/
@Override
public Page<IBIZVIEWMESS> searchDefault(IBIZVIEWMESSSearchContext context) {
com.baomidou.mybatisplus.extension.plugins.pagination.Page<IBIZVIEWMESS> pages=baseMapper.searchDefault(context.getPages(),context,context.getSelectCond());
return new PageImpl<IBIZVIEWMESS>(pages.getRecords(), context.getPageable(), pages.getTotal());
}
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
@Override
public List<IBIZVIEWMESS> getIbizviewmessByIds(List<String> ids) {
return this.listByIds(ids);
}
@Override
public List<IBIZVIEWMESS> getIbizviewmessByEntities(List<IBIZVIEWMESS> entities) {
List ids =new ArrayList();
for(IBIZVIEWMESS entity : entities){
Serializable id=entity.getIbizviewmessid();
if(!ObjectUtils.isEmpty(id)){
ids.add(id);
}
}
if(ids.size()>0) {
return this.listByIds(ids);
}
else {
return entities;
}
}
}
......@@ -24,7 +24,7 @@
<!--输出实体[IBIZAPPVIEW]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizappview-27-2">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizappview-28-2">
<createTable tableName="T_IBIZAPPVIEW">
<column name="IBIZAPPVIEWNAME" remarks="" type="VARCHAR(200)">
</column>
......@@ -74,7 +74,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-778-4">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-780-4">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......@@ -1155,8 +1155,28 @@
</changeSet>
<!--输出实体[IBIZVIEWMESS]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizviewmess-3-40">
<createTable tableName="T_IBIZVIEWMESS">
<column name="IBIZVIEWMESSNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="IBIZVIEWMESSID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZVIEWMESS_IBIZVIEWMESSID"/>
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
</createTable>
</changeSet>
<!--输出实体[IBIZVIEWMSG]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizviewmsg-3-40">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizviewmsg-3-41">
<createTable tableName="T_IBIZVIEWMSG">
<column name="IBIZVIEWMSGID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZVIEWMSG_IBIZVIEWMSGID"/>
......@@ -1190,7 +1210,7 @@
<!--输出实体[IBIZQJ]外键关系 -->
<!--输出实体[IBIZSAMPLE]外键关系 -->
<!--输出实体[IBIZSAMPLE0001]外键关系 -->
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0001-387-41">
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0001-387-42">
<addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0002ID" baseTableName="T_IBIZSAMPLE0001" constraintName="DER1N_IBIZSAMPLE0001_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0002ID" referencedTableName="T_IBIZSAMPLE0002" validate="true"/>
</changeSet>
<!--输出实体[IBIZSAMPLE0002]外键关系 -->
......@@ -1199,7 +1219,7 @@
<!--输出实体[IBIZSAMPLE0005]外键关系 -->
<!--输出实体[IBIZSAMPLE0006]外键关系 -->
<!--输出实体[IBIZSAMPLE0007]外键关系 -->
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0007-4-42">
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0007-4-43">
<addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0006ID" baseTableName="T_IBIZSAMPLE0007" constraintName="DER1N_IBIZSAMPLE0007_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0006ID" referencedTableName="T_IBIZSAMPLE0006" validate="true"/>
</changeSet>
<!--输出实体[IBIZSAMPLE0008]外键关系 -->
......@@ -1215,13 +1235,14 @@
<!--输出实体[IBIZSAMPLE0018]外键关系 -->
<!--输出实体[IBIZSAMPLE0019]外键关系 -->
<!--输出实体[IBIZSAMPLE0020]外键关系 -->
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0020-4-43">
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0020-4-44">
<addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0019ID" baseTableName="T_IBIZSAMPLE0020" constraintName="DER1N_IBIZSAMPLE0020_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0019ID" referencedTableName="T_IBIZSAMPLE0019" validate="true"/>
</changeSet>
<!--输出实体[IBIZSOFTWARESUIT]外键关系 -->
<!--输出实体[IBIZSTORAGE]外键关系 -->
<!--输出实体[IBIZSUPPLIER]外键关系 -->
<!--输出实体[IBIZUNIPRODUCT]外键关系 -->
<!--输出实体[IBIZVIEWMESS]外键关系 -->
<!--输出实体[IBIZVIEWMSG]外键关系 -->
</databaseChangeLog>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cn.ibizlab.core.sample.mapper.IBIZVIEWMESSMapper">
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="IBIZVIEWMESSResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZVIEWMESSID`, t1.`IBIZVIEWMESSNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZVIEWMESS` t1 ) t1 where ibizviewmessid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
<resultMap id="IBIZVIEWMESSResultMap" type="cn.ibizlab.core.sample.domain.IBIZVIEWMESS" autoMapping="true">
<id property="ibizviewmessid" column="ibizviewmessid" /><!--主键字段映射-->
</resultMap>
<!--数据集合[Default]-->
<select id="searchDefault" parameterType="cn.ibizlab.core.sample.filter.IBIZVIEWMESSSearchContext" resultMap="IBIZVIEWMESSResultMap">
select t1.* from (
<include refid="Default" />
)t1
<where><if test="ew!=null and ew.sqlSegment!=null and !ew.emptyOfWhere">${ew.sqlSegment}</if></where>
<if test="ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere">${ew.sqlSegment}</if>
</select>
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZVIEWMESSID`, t1.`IBIZVIEWMESSNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZVIEWMESS` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZVIEWMESSID`, t1.`IBIZVIEWMESSNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZVIEWMESS` t1
]]>
</sql>
</mapper>
......@@ -7953,6 +7953,113 @@
],
"parentEntitys":[
]
}
,
{
"entity_name":"IBIZVIEWMESS",
"logic_name":"视图数据信息实体",
"code_name":"IBIZVIEWMESS",
"table_name":"T_IBIZVIEWMESS",
"system_id":"DemoSys",
"system_name":"DemoSys",
"module_id":"Sample",
"module_name":"示例",
"fields":[
{
"fieldname":"IBIZVIEWMESSNAME" ,
"codename":"IBIZVIEWMESSName",
"field_logic_name":"视图数据信息实体名称",
"entity_name":"IBIZVIEWMESS",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":200,
"key_field":0,
"show_order":1000,
"major_field":1
},
{
"fieldname":"IBIZVIEWMESSID" ,
"codename":"IBIZVIEWMESSId",
"field_logic_name":"视图数据信息实体标识",
"entity_name":"IBIZVIEWMESS",
"field_type":"GUID",
"nullable":0,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":1,
"show_order":1000,
"major_field":0
},
{
"fieldname":"CREATEMAN" ,
"codename":"CreateMan",
"field_logic_name":"建立人",
"entity_name":"IBIZVIEWMESS",
"field_type":"TEXT",
"dict":"SysOperator",
"nullable":0,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":60,
"predefined":"CREATEMAN",
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"CREATEDATE" ,
"codename":"CreateDate",
"field_logic_name":"建立时间",
"entity_name":"IBIZVIEWMESS",
"field_type":"DATETIME",
"nullable":0,
"physical_field":1,
"data_type":"DATETIME",
"data_length":8,
"predefined":"CREATEDATE",
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"UPDATEMAN" ,
"codename":"UpdateMan",
"field_logic_name":"更新人",
"entity_name":"IBIZVIEWMESS",
"field_type":"TEXT",
"dict":"SysOperator",
"nullable":0,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":60,
"predefined":"UPDATEMAN",
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"UPDATEDATE" ,
"codename":"UpdateDate",
"field_logic_name":"更新时间",
"entity_name":"IBIZVIEWMESS",
"field_type":"DATETIME",
"nullable":0,
"physical_field":1,
"data_type":"DATETIME",
"data_length":8,
"predefined":"UPDATEDATE",
"key_field":0,
"show_order":1000,
"major_field":0
}
],
"subEntitys":[
],
"parentEntitys":[
]
}
,
{
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册