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

xignzi006 发布系统代码

上级 c982db3d
...@@ -73,10 +73,10 @@ public class Res_customer extends EntityMP implements Serializable { ...@@ -73,10 +73,10 @@ public class Res_customer extends EntityMP implements Serializable {
/** /**
* 工作岗位 * 工作岗位
*/ */
@TableField(value = "ibizfunction") @TableField(value = "function")
@JSONField(name = "ibizfunction") @JSONField(name = "function")
@JsonProperty("ibizfunction") @JsonProperty("function")
private String ibizfunction; private String function;
/** /**
* 电话 * 电话
*/ */
...@@ -150,9 +150,9 @@ public class Res_customer extends EntityMP implements Serializable { ...@@ -150,9 +150,9 @@ public class Res_customer extends EntityMP implements Serializable {
/** /**
* 设置 [工作岗位] * 设置 [工作岗位]
*/ */
public void setIbizfunction(String ibizfunction){ public void setFunction(String function){
this.ibizfunction = ibizfunction ; this.function = function ;
this.modify("ibizfunction",ibizfunction); this.modify("function",function);
} }
/** /**
......
...@@ -132,10 +132,10 @@ public class Res_partner extends EntityMP implements Serializable { ...@@ -132,10 +132,10 @@ public class Res_partner extends EntityMP implements Serializable {
/** /**
* 工作岗位 * 工作岗位
*/ */
@TableField(value = "ibizfunction") @TableField(value = "function")
@JSONField(name = "ibizfunction") @JSONField(name = "function")
@JsonProperty("ibizfunction") @JsonProperty("function")
private String ibizfunction; private String function;
/** /**
* 已开票总计 * 已开票总计
*/ */
...@@ -1318,9 +1318,9 @@ public class Res_partner extends EntityMP implements Serializable { ...@@ -1318,9 +1318,9 @@ public class Res_partner extends EntityMP implements Serializable {
/** /**
* 设置 [工作岗位] * 设置 [工作岗位]
*/ */
public void setIbizfunction(String ibizfunction){ public void setFunction(String function){
this.ibizfunction = ibizfunction ; this.function = function ;
this.modify("ibizfunction",ibizfunction); this.modify("function",function);
} }
/** /**
......
...@@ -81,10 +81,10 @@ public class Res_supplier extends EntityMP implements Serializable { ...@@ -81,10 +81,10 @@ public class Res_supplier extends EntityMP implements Serializable {
/** /**
* 工作岗位 * 工作岗位
*/ */
@TableField(value = "ibizfunction") @TableField(value = "function")
@JSONField(name = "ibizfunction") @JSONField(name = "function")
@JsonProperty("ibizfunction") @JsonProperty("function")
private String ibizfunction; private String function;
/** /**
* 手机 * 手机
*/ */
...@@ -143,9 +143,9 @@ public class Res_supplier extends EntityMP implements Serializable { ...@@ -143,9 +143,9 @@ public class Res_supplier extends EntityMP implements Serializable {
/** /**
* 设置 [工作岗位] * 设置 [工作岗位]
*/ */
public void setIbizfunction(String ibizfunction){ public void setFunction(String function){
this.ibizfunction = ibizfunction ; this.function = function ;
this.modify("ibizfunction",ibizfunction); this.modify("function",function);
} }
/** /**
......
...@@ -769,9 +769,9 @@ public class Res_users extends EntityMP implements Serializable { ...@@ -769,9 +769,9 @@ public class Res_users extends EntityMP implements Serializable {
* 工作岗位 * 工作岗位
*/ */
@TableField(exist = false) @TableField(exist = false)
@JSONField(name = "ibizfunction") @JSONField(name = "function")
@JsonProperty("ibizfunction") @JsonProperty("function")
private String ibizfunction; private String function;
/** /**
* 网站网址 * 网站网址
*/ */
......
...@@ -1460,7 +1460,7 @@ public class Res_usersServiceImpl extends EBSServiceImpl<Res_usersMapper, Res_us ...@@ -1460,7 +1460,7 @@ public class Res_usersServiceImpl extends EBSServiceImpl<Res_usersMapper, Res_us
et.setMessageMainAttachmentId(odooPartner.getMessageMainAttachmentId()); et.setMessageMainAttachmentId(odooPartner.getMessageMainAttachmentId());
et.setActivityUserId(odooPartner.getActivityUserId()); et.setActivityUserId(odooPartner.getActivityUserId());
et.setAdditionalInfo(odooPartner.getAdditionalInfo()); et.setAdditionalInfo(odooPartner.getAdditionalInfo());
et.setIbizfunction(odooPartner.getIbizfunction()); et.setFunction(odooPartner.getFunction());
et.setWebsiteUrl(odooPartner.getWebsiteUrl()); et.setWebsiteUrl(odooPartner.getWebsiteUrl());
et.setCalendarLastNotifAck(odooPartner.getCalendarLastNotifAck()); et.setCalendarLastNotifAck(odooPartner.getCalendarLastNotifAck());
et.setMessageNeedactionCounter(odooPartner.getMessageNeedactionCounter()); et.setMessageNeedactionCounter(odooPartner.getMessageNeedactionCounter());
......
...@@ -59,10 +59,10 @@ public class Crm_lead extends EntityMP implements Serializable { ...@@ -59,10 +59,10 @@ public class Crm_lead extends EntityMP implements Serializable {
/** /**
* 工作岗位 * 工作岗位
*/ */
@TableField(value = "ibizfunction") @TableField(value = "function")
@JSONField(name = "ibizfunction") @JSONField(name = "function")
@JsonProperty("ibizfunction") @JsonProperty("function")
private String ibizfunction; private String function;
/** /**
* 退回 * 退回
*/ */
...@@ -888,9 +888,9 @@ public class Crm_lead extends EntityMP implements Serializable { ...@@ -888,9 +888,9 @@ public class Crm_lead extends EntityMP implements Serializable {
/** /**
* 设置 [工作岗位] * 设置 [工作岗位]
*/ */
public void setIbizfunction(String ibizfunction){ public void setFunction(String function){
this.ibizfunction = ibizfunction ; this.function = function ;
this.modify("ibizfunction",ibizfunction); this.modify("function",function);
} }
/** /**
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="Res_supplierResultMap" databaseId="postgresql"> <select id="selectById" resultMap="Res_supplierResultMap" databaseId="postgresql">
<![CDATA[select t1.* from (SELECT t1.EMAIL, t1.FUNCTION AS IBIZFUNCTION, t1.ID, t1.MOBILE, t1.NAME, t1.PHONE, t1.TYPE, t1.VAT FROM RES_PARTNER t1 ) t1 where id=#{id}]]> <![CDATA[select t1.* from (SELECT t1.EMAIL, t1.FUNCTION, t1.ID, t1.MOBILE, t1.NAME, t1.PHONE, t1.TYPE, t1.VAT FROM RES_PARTNER t1 ) t1 where id=#{id}]]>
</select> </select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 --> <!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...@@ -29,12 +29,12 @@ ...@@ -29,12 +29,12 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="postgresql"> <sql id="Default" databaseId="postgresql">
<![CDATA[ SELECT t1.EMAIL, t1.FUNCTION AS IBIZFUNCTION, t1.ID, t1.MOBILE, t1.NAME, t1.PHONE, t1.TYPE, t1.VAT FROM RES_PARTNER t1 <![CDATA[ SELECT t1.EMAIL, t1.FUNCTION, t1.ID, t1.MOBILE, t1.NAME, t1.PHONE, t1.TYPE, t1.VAT FROM RES_PARTNER t1
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="postgresql"> <sql id="View" databaseId="postgresql">
<![CDATA[ SELECT t1.EMAIL, t1.FUNCTION AS IBIZFUNCTION, t1.ID, t1.MOBILE, t1.NAME, t1.PHONE, t1.TYPE, t1.VAT FROM RES_PARTNER t1 <![CDATA[ SELECT t1.EMAIL, t1.FUNCTION, t1.ID, t1.MOBILE, t1.NAME, t1.PHONE, t1.TYPE, t1.VAT FROM RES_PARTNER t1
]]> ]]>
</sql> </sql>
</mapper> </mapper>
......
...@@ -40763,8 +40763,8 @@ ...@@ -40763,8 +40763,8 @@
"major_field":0 "major_field":0
}, },
{ {
"fieldname":"IBIZFUNCTION" , "fieldname":"FUNCTION" ,
"codename":"Ibizfunction", "codename":"Function",
"field_logic_name":"工作岗位", "field_logic_name":"工作岗位",
"entity_name":"Crm_lead", "entity_name":"Crm_lead",
"field_type":"TEXT", "field_type":"TEXT",
...@@ -146018,8 +146018,8 @@ ...@@ -146018,8 +146018,8 @@
"major_field":0 "major_field":0
}, },
{ {
"fieldname":"IBIZFUNCTION" , "fieldname":"FUNCTION" ,
"codename":"Ibizfunction", "codename":"Function",
"field_logic_name":"工作岗位", "field_logic_name":"工作岗位",
"entity_name":"Res_customer", "entity_name":"Res_customer",
"field_type":"TEXT", "field_type":"TEXT",
...@@ -146987,8 +146987,8 @@ ...@@ -146987,8 +146987,8 @@
"major_field":0 "major_field":0
}, },
{ {
"fieldname":"IBIZFUNCTION" , "fieldname":"FUNCTION" ,
"codename":"Ibizfunction", "codename":"Function",
"field_logic_name":"工作岗位", "field_logic_name":"工作岗位",
"entity_name":"Res_partner", "entity_name":"Res_partner",
"field_type":"TEXT", "field_type":"TEXT",
...@@ -151309,8 +151309,8 @@ ...@@ -151309,8 +151309,8 @@
"major_field":0 "major_field":0
}, },
{ {
"fieldname":"IBIZFUNCTION" , "fieldname":"FUNCTION" ,
"codename":"Ibizfunction", "codename":"Function",
"field_logic_name":"工作岗位", "field_logic_name":"工作岗位",
"entity_name":"Res_supplier", "entity_name":"Res_supplier",
"field_type":"TEXT", "field_type":"TEXT",
...@@ -153091,12 +153091,12 @@ ...@@ -153091,12 +153091,12 @@
"major_field":0 "major_field":0
}, },
{ {
"fieldname":"IBIZFUNCTION" , "fieldname":"FUNCTION" ,
"codename":"Ibizfunction", "codename":"Function",
"field_logic_name":"工作岗位", "field_logic_name":"工作岗位",
"entity_name":"Res_users", "entity_name":"Res_users",
"ref_de":"RES_PARTNER", "ref_de":"RES_PARTNER",
"ref_field_name":"IBIZFUNCTION", "ref_field_name":"FUNCTION",
"relation_name":"DER1N_RES_USERS__RES_PARTNER__PARTNER_ID", "relation_name":"DER1N_RES_USERS__RES_PARTNER__PARTNER_ID",
"relation_codename":"Odoo_partner", "relation_codename":"Odoo_partner",
"field_type":"PICKUPDATA", "field_type":"PICKUPDATA",
...@@ -46,13 +46,13 @@ public class Crm_leadDTO extends DTOBase implements Serializable { ...@@ -46,13 +46,13 @@ public class Crm_leadDTO extends DTOBase implements Serializable {
private Integer meetingCount; private Integer meetingCount;
/** /**
* 属性 [IBIZFUNCTION] * 属性 [FUNCTION]
* *
*/ */
@JSONField(name = "ibizfunction") @JSONField(name = "function")
@JsonProperty("ibizfunction") @JsonProperty("function")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String ibizfunction; private String function;
/** /**
* 属性 [MESSAGE_BOUNCE] * 属性 [MESSAGE_BOUNCE]
...@@ -891,11 +891,11 @@ public class Crm_leadDTO extends DTOBase implements Serializable { ...@@ -891,11 +891,11 @@ public class Crm_leadDTO extends DTOBase implements Serializable {
/** /**
* 设置 [IBIZFUNCTION] * 设置 [FUNCTION]
*/ */
public void setIbizfunction(String ibizfunction){ public void setFunction(String function){
this.ibizfunction = ibizfunction ; this.function = function ;
this.modify("ibizfunction",ibizfunction); this.modify("function",function);
} }
/** /**
......
...@@ -132,13 +132,13 @@ public class Res_partnerDTO extends DTOBase implements Serializable { ...@@ -132,13 +132,13 @@ public class Res_partnerDTO extends DTOBase implements Serializable {
private String trust; private String trust;
/** /**
* 属性 [IBIZFUNCTION] * 属性 [FUNCTION]
* *
*/ */
@JSONField(name = "ibizfunction") @JSONField(name = "function")
@JsonProperty("ibizfunction") @JsonProperty("function")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String ibizfunction; private String function;
/** /**
* 属性 [TOTAL_INVOICED] * 属性 [TOTAL_INVOICED]
...@@ -1401,11 +1401,11 @@ public class Res_partnerDTO extends DTOBase implements Serializable { ...@@ -1401,11 +1401,11 @@ public class Res_partnerDTO extends DTOBase implements Serializable {
} }
/** /**
* 设置 [IBIZFUNCTION] * 设置 [FUNCTION]
*/ */
public void setIbizfunction(String ibizfunction){ public void setFunction(String function){
this.ibizfunction = ibizfunction ; this.function = function ;
this.modify("ibizfunction",ibizfunction); this.modify("function",function);
} }
/** /**
......
...@@ -75,13 +75,13 @@ public class Res_supplierDTO extends DTOBase implements Serializable { ...@@ -75,13 +75,13 @@ public class Res_supplierDTO extends DTOBase implements Serializable {
private String phone; private String phone;
/** /**
* 属性 [IBIZFUNCTION] * 属性 [FUNCTION]
* *
*/ */
@JSONField(name = "ibizfunction") @JSONField(name = "function")
@JsonProperty("ibizfunction") @JsonProperty("function")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String ibizfunction; private String function;
/** /**
* 属性 [MOBILE] * 属性 [MOBILE]
...@@ -145,11 +145,11 @@ public class Res_supplierDTO extends DTOBase implements Serializable { ...@@ -145,11 +145,11 @@ public class Res_supplierDTO extends DTOBase implements Serializable {
} }
/** /**
* 设置 [IBIZFUNCTION] * 设置 [FUNCTION]
*/ */
public void setIbizfunction(String ibizfunction){ public void setFunction(String function){
this.ibizfunction = ibizfunction ; this.function = function ;
this.modify("ibizfunction",ibizfunction); this.modify("function",function);
} }
/** /**
......
...@@ -905,13 +905,13 @@ public class Res_usersDTO extends DTOBase implements Serializable { ...@@ -905,13 +905,13 @@ public class Res_usersDTO extends DTOBase implements Serializable {
private String additionalInfo; private String additionalInfo;
/** /**
* 属性 [IBIZFUNCTION] * 属性 [FUNCTION]
* *
*/ */
@JSONField(name = "ibizfunction") @JSONField(name = "function")
@JsonProperty("ibizfunction") @JsonProperty("function")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String ibizfunction; private String function;
/** /**
* 属性 [WEBSITE_URL] * 属性 [WEBSITE_URL]
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册