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

ibizdev提交

上级 a38bc81b
!!!!模版产生代码错误:---- package cn.ibizlab.core.dict.domain;
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
---- import java.sql.Timestamp;
import java.util.ArrayList;
---- import java.util.List;
FTL stack trace ("~" means nesting-related): import java.util.Map;
- Failed at: #assign defieldano = defieldano + "pr... [in template "CODETEMPL_zh_CN" at line 58, column 13] import java.math.BigInteger;
---- import java.util.HashMap;
\ No newline at end of file import java.math.BigDecimal;
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 cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.annotation.DEPredefinedField;
import cn.ibizlab.util.enums.DEPredefinedFieldFillMode;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import java.io.Serializable;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
/**
* 实体[数据字典]
*/
@Data
@TableName(value = "IBZDICT",resultMap = "IBZDictResultMap")
public class IBZDict extends EntityBase implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 字典标识
*/
@TableId(value= "ibzdictid",type=IdType.UUID)
private String dictid;
/**
* 字典名称
*/
@TableField( value = "ibzdictname" )
private String dictname;
/**
* 逻辑有效标志
*/
@DEField( preType = DEPredefinedFieldType.LOGICVALID )
@TableLogic(value= "1",delval="0")
@TableField( value = "enable" , fill = FieldFill.INSERT )
private Integer enable;
/**
* 建立时间
*/
@DEField( preType = DEPredefinedFieldType.CREATEDATE )
@TableField( value = "createdate" , fill = FieldFill.INSERT )
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
private Timestamp createdate;
/**
* 更新时间
*/
@DEField( preType = DEPredefinedFieldType.UPDATEDATE )
@TableField( value = "updatedate" , fill = FieldFill.INSERT_UPDATE )
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
private Timestamp updatedate;
/**
* 建立人
*/
@DEField( preType = DEPredefinedFieldType.CREATEMAN )
@TableField( value = "createman" , fill = FieldFill.INSERT )
private String createman;
/**
* 更新人
*/
@DEField( preType = DEPredefinedFieldType.UPDATEMAN )
@TableField( value = "updateman" , fill = FieldFill.INSERT )
private String updateman;
/**
* 设置 [字典标识]
*/
public void setDictid(String dictid){
this.dictid = dictid ;
this.modify("ibzdictid"dictid);
}
/**
* 设置 [字典名称]
*/
public void setDictname(String dictname){
this.dictname = dictname ;
this.modify("ibzdictname"dictname);
}
/**
* 设置 [逻辑有效标志]
*/
public void setEnable(Integer enable){
this.enable = enable ;
this.modify("enable"enable);
}
/**
* 设置 [建立时间]
*/
public void setCreatedate(Timestamp createdate){
this.createdate = createdate ;
this.modify("createdate"createdate);
}
/**
* 设置 [更新时间]
*/
public void setUpdatedate(Timestamp updatedate){
this.updatedate = updatedate ;
this.modify("updatedate"updatedate);
}
/**
* 设置 [建立人]
*/
public void setCreateman(String createman){
this.createman = createman ;
this.modify("createman"createman);
}
/**
* 设置 [更新人]
*/
public void setUpdateman(String updateman){
this.updateman = updateman ;
this.modify("updateman"updateman);
}
}
!!!!模版产生代码错误:---- package cn.ibizlab.core.dict.domain;
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
---- import java.sql.Timestamp;
import java.util.ArrayList;
---- import java.util.List;
FTL stack trace ("~" means nesting-related): import java.util.Map;
- Failed at: #assign defieldano = defieldano + "pr... [in template "CODETEMPL_zh_CN" at line 58, column 13] import java.math.BigInteger;
---- import java.util.HashMap;
\ No newline at end of file import java.math.BigDecimal;
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 cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.annotation.DEPredefinedField;
import cn.ibizlab.util.enums.DEPredefinedFieldFillMode;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import java.io.Serializable;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
/**
* 实体[字典项目]
*/
@Data
@TableName(value = "IBZDICTITEM",resultMap = "IBZDictItemResultMap")
public class IBZDictItem extends EntityBase implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 字典项目标识
*/
@TableId(value= "ibzdictitemid",type=IdType.UUID)
private String itemid;
/**
* 栏目显示值
*/
@TableField( value = "ibzdictitemname" )
private String itemname;
/**
* 栏目值
*/
@TableField( value = "dictitemval" )
private String itemval;
/**
* 字典标识
*/
@TableField( value = "dictid" )
private String dictid;
/**
* 父栏目值
*/
@TableField( value = "pitemval" )
private String pitemval;
/**
* 过滤项
*/
@TableField( value = "itemfilter" )
private String itemfilter;
/**
* 栏目样式
*/
@TableField( value = "itemcls" )
private String itemcls;
/**
* 图标
*/
@TableField( value = "itemicon" )
private String itemicon;
/**
* 排序
*/
@TableField( value = "showorder" )
private Integer showorder;
/**
* 建立时间
*/
@DEField( preType = DEPredefinedFieldType.CREATEDATE )
@TableField( value = "createdate" , fill = FieldFill.INSERT )
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
private Timestamp createdate;
/**
* 更新时间
*/
@DEField( preType = DEPredefinedFieldType.UPDATEDATE )
@TableField( value = "updatedate" , fill = FieldFill.INSERT_UPDATE )
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
private Timestamp updatedate;
/**
* 建立人
*/
@DEField( preType = DEPredefinedFieldType.CREATEMAN )
@TableField( value = "createman" , fill = FieldFill.INSERT )
private String createman;
/**
* 更新人
*/
@DEField( preType = DEPredefinedFieldType.UPDATEMAN )
@TableField( value = "updateman" , fill = FieldFill.INSERT )
private String updateman;
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private IBZDict dict;
/**
* 设置 [字典项目标识]
*/
public void setItemid(String itemid){
this.itemid = itemid ;
this.modify("ibzdictitemid"itemid);
}
/**
* 设置 [栏目显示值]
*/
public void setItemname(String itemname){
this.itemname = itemname ;
this.modify("ibzdictitemname"itemname);
}
/**
* 设置 [栏目值]
*/
public void setItemval(String itemval){
this.itemval = itemval ;
this.modify("dictitemval"itemval);
}
/**
* 设置 [字典标识]
*/
public void setDictid(String dictid){
this.dictid = dictid ;
this.modify("dictid"dictid);
}
/**
* 设置 [父栏目值]
*/
public void setPitemval(String pitemval){
this.pitemval = pitemval ;
this.modify("pitemval"pitemval);
}
/**
* 设置 [过滤项]
*/
public void setItemfilter(String itemfilter){
this.itemfilter = itemfilter ;
this.modify("itemfilter"itemfilter);
}
/**
* 设置 [栏目样式]
*/
public void setItemcls(String itemcls){
this.itemcls = itemcls ;
this.modify("itemcls"itemcls);
}
/**
* 设置 [图标]
*/
public void setItemicon(String itemicon){
this.itemicon = itemicon ;
this.modify("itemicon"itemicon);
}
/**
* 设置 [排序]
*/
public void setShoworder(Integer showorder){
this.showorder = showorder ;
this.modify("showorder"showorder);
}
/**
* 设置 [建立时间]
*/
public void setCreatedate(Timestamp createdate){
this.createdate = createdate ;
this.modify("createdate"createdate);
}
/**
* 设置 [更新时间]
*/
public void setUpdatedate(Timestamp updatedate){
this.updatedate = updatedate ;
this.modify("updatedate"updatedate);
}
/**
* 设置 [建立人]
*/
public void setCreateman(String createman){
this.createman = createman ;
this.modify("createman"createman);
}
/**
* 设置 [更新人]
*/
public void setUpdateman(String updateman){
this.updateman = updateman ;
this.modify("updateman"updateman);
}
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册