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

xignzi006 发布系统代码 [Spring Boot]

上级 f93272ea
......@@ -136,7 +136,7 @@ public class Res_supplier extends EntityMP implements Serializable {
@JsonIgnore
@JSONField(serialize = 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 @@
<!--通过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>
<!--关系实体暴露select方法供主实体通过外键查询关系实体数据[实体关系名称:DER1N_RES_SUPPLIER_ACCOUNT_PAYMENT_TERM_PROPERTY_SUPPLIER_PAYMENT_TERM_ID] -->
......
......@@ -23959,7 +23959,7 @@
},
{"name":"DER1N_RES_SUPPLIER_ACCOUNT_PAYMENT_TERM_PROPERTY_SUPPLIER_PAYMENT_TERM_ID",
"relation_type":"DER1N",
"code_name":"Odoo_payment_term",
"code_name":"Odoo_purchase_payment_term",
"entity_name":"RES_SUPPLIER",
"ref_entity_name":"ACCOUNT_PAYMENT_TERM"
},
......@@ -151417,7 +151417,7 @@
"ref_de":"ACCOUNT_PAYMENT_TERM",
"ref_field_name":"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",
"nullable":1,
"physical_field":1,
......@@ -151456,7 +151456,7 @@
"parentEntitys":[
{"name":"DER1N_RES_SUPPLIER_ACCOUNT_PAYMENT_TERM_PROPERTY_SUPPLIER_PAYMENT_TERM_ID",
"relation_type":"DER1N",
"code_name":"Odoo_payment_term",
"code_name":"Odoo_purchase_payment_term",
"entity_name":"RES_SUPPLIER",
"ref_entity_name":"ACCOUNT_PAYMENT_TERM"
}
......@@ -6,9 +6,9 @@ public class EntityClient extends EntityBase {
@Override
public void modify(String field,Object val) {
getExtensionparams().put("dirtyflagenable",true);
if(val==null){
this.getFocusNull().add(field.toLowerCase());
getExtensionparams().put("dirtyflagenable",true);
getExtensionparams().put(field.toLowerCase()+"dirtyflag",true);
}
else{
......
......@@ -41,6 +41,7 @@ public class PermissionSyncJob implements ApplicationRunner {
@Lazy
IBZLiteFeignClient liteFeignClient;
@Override
public void run(ApplicationArguments args) {
try {
......@@ -76,5 +77,6 @@ public class PermissionSyncJob implements ApplicationRunner {
}
}
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册