Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz商业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz商业套件
iBiz商业中心
提交
e3219af1
提交
e3219af1
编写于
10月 23, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
acaaf167
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
48 行增加
和
48 行删除
+48
-48
Mail_tracking_value.java
...esscentral/core/odoo_mail/domain/Mail_tracking_value.java
+16
-16
Mail_tracking_valueMapper.xml
...oo_mail/mail_tracking_value/Mail_tracking_valueMapper.xml
+4
-4
iBizBusinessCentral.json
...core/src/main/resources/sysmodel/iBizBusinessCentral.json
+12
-12
Mail_tracking_valueDTO.java
...zlab/businesscentral/core/dto/Mail_tracking_valueDTO.java
+16
-16
未找到文件。
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_mail/domain/Mail_tracking_value.java
浏览文件 @
e3219af1
...
@@ -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
)
{
...
...
businesscentral-core/src/main/resources/mapper/odoo_mail/mail_tracking_value/Mail_tracking_valueMapper.xml
浏览文件 @
e3219af1
...
@@ -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.TRACK
ING
_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.TRACK
ING
_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.TRACK
ING
_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>
...
...
businesscentral-core/src/main/resources/sysmodel/iBizBusinessCentral.json
浏览文件 @
e3219af1
...
@@ -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":[
businesscentral-provider/businesscentral-provider-core/src/main/java/cn/ibizlab/businesscentral/core/dto/Mail_tracking_valueDTO.java
浏览文件 @
e3219af1
...
@@ -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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录