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

xignzi006 发布系统代码 [Spring Boot]

上级 f93272ea
...@@ -136,7 +136,7 @@ public class Res_supplier extends EntityMP implements Serializable { ...@@ -136,7 +136,7 @@ public class Res_supplier extends EntityMP implements Serializable {
@JsonIgnore @JsonIgnore
@JSONField(serialize = false) @JSONField(serialize = false)
@TableField(exist = false) @TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_account.domain.Account_payment_term odooPaymentTerm; private cn.ibizlab.businesscentral.core.odoo_account.domain.Account_payment_term odooPurchasePaymentTerm;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 --> <!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 -->
<association property="odooPaymentTerm" javaType="cn.ibizlab.businesscentral.core.odoo_account.domain.Account_payment_term" column="property_supplier_payment_term_id" select="cn.ibizlab.businesscentral.core.odoo_account.mapper.Account_payment_termMapper.selectById" fetchType="lazy"></association> <association property="odooPurchasePaymentTerm" javaType="cn.ibizlab.businesscentral.core.odoo_account.domain.Account_payment_term" column="property_supplier_payment_term_id" select="cn.ibizlab.businesscentral.core.odoo_account.mapper.Account_payment_termMapper.selectById" fetchType="lazy"></association>
</resultMap> </resultMap>
<!--关系实体暴露select方法供主实体通过外键查询关系实体数据[实体关系名称:DER1N_RES_SUPPLIER_ACCOUNT_PAYMENT_TERM_PROPERTY_SUPPLIER_PAYMENT_TERM_ID] --> <!--关系实体暴露select方法供主实体通过外键查询关系实体数据[实体关系名称:DER1N_RES_SUPPLIER_ACCOUNT_PAYMENT_TERM_PROPERTY_SUPPLIER_PAYMENT_TERM_ID] -->
......
...@@ -23959,7 +23959,7 @@ ...@@ -23959,7 +23959,7 @@
}, },
{"name":"DER1N_RES_SUPPLIER_ACCOUNT_PAYMENT_TERM_PROPERTY_SUPPLIER_PAYMENT_TERM_ID", {"name":"DER1N_RES_SUPPLIER_ACCOUNT_PAYMENT_TERM_PROPERTY_SUPPLIER_PAYMENT_TERM_ID",
"relation_type":"DER1N", "relation_type":"DER1N",
"code_name":"Odoo_payment_term", "code_name":"Odoo_purchase_payment_term",
"entity_name":"RES_SUPPLIER", "entity_name":"RES_SUPPLIER",
"ref_entity_name":"ACCOUNT_PAYMENT_TERM" "ref_entity_name":"ACCOUNT_PAYMENT_TERM"
}, },
...@@ -151417,7 +151417,7 @@ ...@@ -151417,7 +151417,7 @@
"ref_de":"ACCOUNT_PAYMENT_TERM", "ref_de":"ACCOUNT_PAYMENT_TERM",
"ref_field_name":"ID", "ref_field_name":"ID",
"relation_name":"DER1N_RES_SUPPLIER_ACCOUNT_PAYMENT_TERM_PROPERTY_SUPPLIER_PAYMENT_TERM_ID", "relation_name":"DER1N_RES_SUPPLIER_ACCOUNT_PAYMENT_TERM_PROPERTY_SUPPLIER_PAYMENT_TERM_ID",
"relation_codename":"Odoo_payment_term", "relation_codename":"Odoo_purchase_payment_term",
"field_type":"PICKUP", "field_type":"PICKUP",
"nullable":1, "nullable":1,
"physical_field":1, "physical_field":1,
...@@ -151456,7 +151456,7 @@ ...@@ -151456,7 +151456,7 @@
"parentEntitys":[ "parentEntitys":[
{"name":"DER1N_RES_SUPPLIER_ACCOUNT_PAYMENT_TERM_PROPERTY_SUPPLIER_PAYMENT_TERM_ID", {"name":"DER1N_RES_SUPPLIER_ACCOUNT_PAYMENT_TERM_PROPERTY_SUPPLIER_PAYMENT_TERM_ID",
"relation_type":"DER1N", "relation_type":"DER1N",
"code_name":"Odoo_payment_term", "code_name":"Odoo_purchase_payment_term",
"entity_name":"RES_SUPPLIER", "entity_name":"RES_SUPPLIER",
"ref_entity_name":"ACCOUNT_PAYMENT_TERM" "ref_entity_name":"ACCOUNT_PAYMENT_TERM"
} }
...@@ -6,9 +6,9 @@ public class EntityClient extends EntityBase { ...@@ -6,9 +6,9 @@ public class EntityClient extends EntityBase {
@Override @Override
public void modify(String field,Object val) { public void modify(String field,Object val) {
getExtensionparams().put("dirtyflagenable",true);
if(val==null){ if(val==null){
this.getFocusNull().add(field.toLowerCase()); this.getFocusNull().add(field.toLowerCase());
getExtensionparams().put("dirtyflagenable",true);
getExtensionparams().put(field.toLowerCase()+"dirtyflag",true); getExtensionparams().put(field.toLowerCase()+"dirtyflag",true);
} }
else{ else{
......
...@@ -41,6 +41,7 @@ public class PermissionSyncJob implements ApplicationRunner { ...@@ -41,6 +41,7 @@ public class PermissionSyncJob implements ApplicationRunner {
@Lazy @Lazy
IBZLiteFeignClient liteFeignClient; IBZLiteFeignClient liteFeignClient;
@Override @Override
public void run(ApplicationArguments args) { public void run(ApplicationArguments args) {
try { try {
...@@ -76,5 +77,6 @@ public class PermissionSyncJob implements ApplicationRunner { ...@@ -76,5 +77,6 @@ public class PermissionSyncJob implements ApplicationRunner {
} }
} }
} }
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册