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

xignzi006 发布系统代码

上级 acaaf167
...@@ -100,14 +100,6 @@ public class Mail_tracking_value extends EntityMP implements Serializable { ...@@ -100,14 +100,6 @@ public class Mail_tracking_value extends EntityMP implements Serializable {
@JSONField(name = "new_value_text") @JSONField(name = "new_value_text")
@JsonProperty("new_value_text") @JsonProperty("new_value_text")
private String newValueText; private String newValueText;
/**
* 跟踪字段次序
*/
@DEField(name = "track_sequence")
@TableField(value = "track_sequence")
@JSONField(name = "track_sequence")
@JsonProperty("track_sequence")
private Integer trackSequence;
/** /**
* 新货币值 * 新货币值
*/ */
...@@ -250,6 +242,14 @@ public class Mail_tracking_value extends EntityMP implements Serializable { ...@@ -250,6 +242,14 @@ public class Mail_tracking_value extends EntityMP implements Serializable {
@JSONField(name = "mail_message_id") @JSONField(name = "mail_message_id")
@JsonProperty("mail_message_id") @JsonProperty("mail_message_id")
private Long mailMessageId; private Long mailMessageId;
/**
* tracking_sequence
*/
@DEField(name = "tracking_sequence")
@TableField(value = "tracking_sequence")
@JSONField(name = "tracking_sequence")
@JsonProperty("tracking_sequence")
private Integer trackingSequence;
/** /**
* *
...@@ -335,14 +335,6 @@ public class Mail_tracking_value extends EntityMP implements Serializable { ...@@ -335,14 +335,6 @@ public class Mail_tracking_value extends EntityMP implements Serializable {
this.modify("new_value_text",newValueText); this.modify("new_value_text",newValueText);
} }
/**
* 设置 [跟踪字段次序]
*/
public void setTrackSequence(Integer trackSequence){
this.trackSequence = trackSequence ;
this.modify("track_sequence",trackSequence);
}
/** /**
* 设置 [新货币值] * 设置 [新货币值]
*/ */
...@@ -433,6 +425,14 @@ public class Mail_tracking_value extends EntityMP implements Serializable { ...@@ -433,6 +425,14 @@ public class Mail_tracking_value extends EntityMP implements Serializable {
this.modify("mail_message_id",mailMessageId); this.modify("mail_message_id",mailMessageId);
} }
/**
* 设置 [tracking_sequence]
*/
public void setTrackingSequence(Integer trackingSequence){
this.trackingSequence = trackingSequence ;
this.modify("tracking_sequence",trackingSequence);
}
@Override @Override
public Serializable getDefaultKey(boolean gen) { public Serializable getDefaultKey(boolean gen) {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="Mail_tracking_valueResultMap" databaseId="postgresql"> <select id="selectById" resultMap="Mail_tracking_valueResultMap" databaseId="postgresql">
<![CDATA[select t1.* from (SELECT t1.CREATE_DATE, t1.CREATE_UID, t41.NAME AS CREATE_UID_TEXT, t1.FIELD, t1.FIELD_DESC, t1.FIELD_TYPE, t1.ID, t1.MAIL_MESSAGE_ID, t1.NEW_VALUE_CHAR, t1.NEW_VALUE_DATETIME, t1.NEW_VALUE_FLOAT, t1.NEW_VALUE_INTEGER, t1.NEW_VALUE_MONETARY, t1.NEW_VALUE_TEXT, t1.OLD_VALUE_CHAR, t1.OLD_VALUE_DATETIME, t1.OLD_VALUE_FLOAT, t1.OLD_VALUE_INTEGER, t1.OLD_VALUE_MONETARY, t1.OLD_VALUE_TEXT, t1.TRACK_SEQUENCE, t1.WRITE_DATE, t1.WRITE_UID, t21.NAME AS WRITE_UID_TEXT FROM MAIL_TRACKING_VALUE t1 LEFT JOIN RES_USERS t11 ON t1.WRITE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.CREATE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID ) t1 where id=#{id}]]> <![CDATA[select t1.* from (SELECT t1.CREATE_DATE, t1.CREATE_UID, t41.NAME AS CREATE_UID_TEXT, t1.FIELD, t1.FIELD_DESC, t1.FIELD_TYPE, t1.ID, t1.MAIL_MESSAGE_ID, t1.NEW_VALUE_CHAR, t1.NEW_VALUE_DATETIME, t1.NEW_VALUE_FLOAT, t1.NEW_VALUE_INTEGER, t1.NEW_VALUE_MONETARY, t1.NEW_VALUE_TEXT, t1.OLD_VALUE_CHAR, t1.OLD_VALUE_DATETIME, t1.OLD_VALUE_FLOAT, t1.OLD_VALUE_INTEGER, t1.OLD_VALUE_MONETARY, t1.OLD_VALUE_TEXT, t1.TRACKING_SEQUENCE, t1.WRITE_DATE, t1.WRITE_UID, t21.NAME AS WRITE_UID_TEXT FROM MAIL_TRACKING_VALUE t1 LEFT JOIN RES_USERS t11 ON t1.WRITE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.CREATE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID ) t1 where id=#{id}]]>
</select> </select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 --> <!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
<result property="oldValueMonetary" column="old_value_monetary" /> <result property="oldValueMonetary" column="old_value_monetary" />
<result property="newValueChar" column="new_value_char" /> <result property="newValueChar" column="new_value_char" />
<result property="newValueText" column="new_value_text" /> <result property="newValueText" column="new_value_text" />
<result property="trackSequence" column="track_sequence" />
<result property="newValueMonetary" column="new_value_monetary" /> <result property="newValueMonetary" column="new_value_monetary" />
<result property="oldValueDatetime" column="old_value_datetime" /> <result property="oldValueDatetime" column="old_value_datetime" />
<result property="LastUpdate" column="__last_update" /> <result property="LastUpdate" column="__last_update" />
...@@ -35,6 +34,7 @@ ...@@ -35,6 +34,7 @@
<result property="writeUid" column="write_uid" /> <result property="writeUid" column="write_uid" />
<result property="createUid" column="create_uid" /> <result property="createUid" column="create_uid" />
<result property="mailMessageId" column="mail_message_id" /> <result property="mailMessageId" column="mail_message_id" />
<result property="trackingSequence" column="tracking_sequence" />
<!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 --> <!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 -->
...@@ -78,12 +78,12 @@ ...@@ -78,12 +78,12 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="postgresql"> <sql id="Default" databaseId="postgresql">
<![CDATA[ SELECT t1.CREATE_DATE, t1.CREATE_UID, t41.NAME AS CREATE_UID_TEXT, t1.FIELD, t1.FIELD_DESC, t1.FIELD_TYPE, t1.ID, t1.MAIL_MESSAGE_ID, t1.NEW_VALUE_CHAR, t1.NEW_VALUE_DATETIME, t1.NEW_VALUE_FLOAT, t1.NEW_VALUE_INTEGER, t1.NEW_VALUE_MONETARY, t1.OLD_VALUE_CHAR, t1.OLD_VALUE_DATETIME, t1.OLD_VALUE_FLOAT, t1.OLD_VALUE_INTEGER, t1.OLD_VALUE_MONETARY, t1.TRACK_SEQUENCE, t1.WRITE_DATE, t1.WRITE_UID, t21.NAME AS WRITE_UID_TEXT FROM MAIL_TRACKING_VALUE t1 LEFT JOIN RES_USERS t11 ON t1.WRITE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.CREATE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID <![CDATA[ SELECT t1.CREATE_DATE, t1.CREATE_UID, t41.NAME AS CREATE_UID_TEXT, t1.FIELD, t1.FIELD_DESC, t1.FIELD_TYPE, t1.ID, t1.MAIL_MESSAGE_ID, t1.NEW_VALUE_CHAR, t1.NEW_VALUE_DATETIME, t1.NEW_VALUE_FLOAT, t1.NEW_VALUE_INTEGER, t1.NEW_VALUE_MONETARY, t1.OLD_VALUE_CHAR, t1.OLD_VALUE_DATETIME, t1.OLD_VALUE_FLOAT, t1.OLD_VALUE_INTEGER, t1.OLD_VALUE_MONETARY, t1.TRACKING_SEQUENCE, t1.WRITE_DATE, t1.WRITE_UID, t21.NAME AS WRITE_UID_TEXT FROM MAIL_TRACKING_VALUE t1 LEFT JOIN RES_USERS t11 ON t1.WRITE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.CREATE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="postgresql"> <sql id="View" databaseId="postgresql">
<![CDATA[ SELECT t1.CREATE_DATE, t1.CREATE_UID, t41.NAME AS CREATE_UID_TEXT, t1.FIELD, t1.FIELD_DESC, t1.FIELD_TYPE, t1.ID, t1.MAIL_MESSAGE_ID, t1.NEW_VALUE_CHAR, t1.NEW_VALUE_DATETIME, t1.NEW_VALUE_FLOAT, t1.NEW_VALUE_INTEGER, t1.NEW_VALUE_MONETARY, t1.NEW_VALUE_TEXT, t1.OLD_VALUE_CHAR, t1.OLD_VALUE_DATETIME, t1.OLD_VALUE_FLOAT, t1.OLD_VALUE_INTEGER, t1.OLD_VALUE_MONETARY, t1.OLD_VALUE_TEXT, t1.TRACK_SEQUENCE, t1.WRITE_DATE, t1.WRITE_UID, t21.NAME AS WRITE_UID_TEXT FROM MAIL_TRACKING_VALUE t1 LEFT JOIN RES_USERS t11 ON t1.WRITE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.CREATE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID <![CDATA[ SELECT t1.CREATE_DATE, t1.CREATE_UID, t41.NAME AS CREATE_UID_TEXT, t1.FIELD, t1.FIELD_DESC, t1.FIELD_TYPE, t1.ID, t1.MAIL_MESSAGE_ID, t1.NEW_VALUE_CHAR, t1.NEW_VALUE_DATETIME, t1.NEW_VALUE_FLOAT, t1.NEW_VALUE_INTEGER, t1.NEW_VALUE_MONETARY, t1.NEW_VALUE_TEXT, t1.OLD_VALUE_CHAR, t1.OLD_VALUE_DATETIME, t1.OLD_VALUE_FLOAT, t1.OLD_VALUE_INTEGER, t1.OLD_VALUE_MONETARY, t1.OLD_VALUE_TEXT, t1.TRACKING_SEQUENCE, t1.WRITE_DATE, t1.WRITE_UID, t21.NAME AS WRITE_UID_TEXT FROM MAIL_TRACKING_VALUE t1 LEFT JOIN RES_USERS t11 ON t1.WRITE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.CREATE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID
]]> ]]>
</sql> </sql>
</mapper> </mapper>
......
...@@ -87767,18 +87767,6 @@ ...@@ -87767,18 +87767,6 @@
"major_field":0 "major_field":0
}, },
{ {
"fieldname":"TRACK_SEQUENCE" ,
"codename":"Track_sequence",
"field_logic_name":"跟踪字段次序",
"entity_name":"Mail_tracking_value",
"field_type":"INT",
"nullable":1,
"physical_field":1,
"data_type":"INT",
"key_field":0,
"major_field":0
},
{
"fieldname":"NEW_VALUE_MONETARY" , "fieldname":"NEW_VALUE_MONETARY" ,
"codename":"New_value_monetary", "codename":"New_value_monetary",
"field_logic_name":"新货币值", "field_logic_name":"新货币值",
...@@ -88022,6 +88010,18 @@ ...@@ -88022,6 +88010,18 @@
"data_type":"BIGINT", "data_type":"BIGINT",
"key_field":0, "key_field":0,
"major_field":0 "major_field":0
},
{
"fieldname":"TRACKING_SEQUENCE" ,
"codename":"Tracking_sequence",
"field_logic_name":"tracking_sequence",
"entity_name":"Mail_tracking_value",
"field_type":"INT",
"nullable":1,
"physical_field":1,
"data_type":"INT",
"key_field":0,
"major_field":0
} }
], ],
"subEntitys":[ "subEntitys":[
...@@ -92,14 +92,6 @@ public class Mail_tracking_valueDTO extends DTOBase implements Serializable { ...@@ -92,14 +92,6 @@ public class Mail_tracking_valueDTO extends DTOBase implements Serializable {
@Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]") @Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]")
private String newValueText; private String newValueText;
/**
* 属性 [TRACK_SEQUENCE]
*
*/
@JSONField(name = "track_sequence")
@JsonProperty("track_sequence")
private Integer trackSequence;
/** /**
* 属性 [NEW_VALUE_MONETARY] * 属性 [NEW_VALUE_MONETARY]
* *
...@@ -259,6 +251,14 @@ public class Mail_tracking_valueDTO extends DTOBase implements Serializable { ...@@ -259,6 +251,14 @@ public class Mail_tracking_valueDTO extends DTOBase implements Serializable {
@NotNull(message = "[邮件消息ID]不允许为空!") @NotNull(message = "[邮件消息ID]不允许为空!")
private Long mailMessageId; private Long mailMessageId;
/**
* 属性 [TRACKING_SEQUENCE]
*
*/
@JSONField(name = "tracking_sequence")
@JsonProperty("tracking_sequence")
private Integer trackingSequence;
/** /**
* 设置 [FIELD_DESC] * 设置 [FIELD_DESC]
...@@ -308,14 +308,6 @@ public class Mail_tracking_valueDTO extends DTOBase implements Serializable { ...@@ -308,14 +308,6 @@ public class Mail_tracking_valueDTO extends DTOBase implements Serializable {
this.modify("new_value_text",newValueText); this.modify("new_value_text",newValueText);
} }
/**
* 设置 [TRACK_SEQUENCE]
*/
public void setTrackSequence(Integer trackSequence){
this.trackSequence = trackSequence ;
this.modify("track_sequence",trackSequence);
}
/** /**
* 设置 [NEW_VALUE_MONETARY] * 设置 [NEW_VALUE_MONETARY]
*/ */
...@@ -396,6 +388,14 @@ public class Mail_tracking_valueDTO extends DTOBase implements Serializable { ...@@ -396,6 +388,14 @@ public class Mail_tracking_valueDTO extends DTOBase implements Serializable {
this.modify("mail_message_id",mailMessageId); this.modify("mail_message_id",mailMessageId);
} }
/**
* 设置 [TRACKING_SEQUENCE]
*/
public void setTrackingSequence(Integer trackingSequence){
this.trackingSequence = trackingSequence ;
this.modify("tracking_sequence",trackingSequence);
}
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册