Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz商业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz商业套件
iBiz商业中心
提交
5d3a9543
提交
5d3a9543
编写于
10月 30, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码 [Spring Boot]
上级
f93272ea
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
8 行增加
和
6 行删除
+8
-6
Res_supplier.java
...b/businesscentral/core/odoo_base/domain/Res_supplier.java
+1
-1
Res_supplierMapper.xml
...rces/mapper/odoo_base/res_supplier/Res_supplierMapper.xml
+1
-1
iBizBusinessCentral.json
...core/src/main/resources/sysmodel/iBizBusinessCentral.json
+3
-3
EntityClient.java
.../cn/ibizlab/businesscentral/util/domain/EntityClient.java
+1
-1
PermissionSyncJob.java
...n/ibizlab/businesscentral/util/job/PermissionSyncJob.java
+2
-0
未找到文件。
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_base/domain/Res_supplier.java
浏览文件 @
5d3a9543
...
...
@@ -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
odooP
urchaseP
aymentTerm
;
...
...
businesscentral-core/src/main/resources/mapper/odoo_base/res_supplier/Res_supplierMapper.xml
浏览文件 @
5d3a9543
...
...
@@ -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=
"odooP
urchaseP
aymentTerm"
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] -->
...
...
businesscentral-core/src/main/resources/sysmodel/iBizBusinessCentral.json
浏览文件 @
5d3a9543
...
...
@@ -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_p
urchase_p
ayment_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_p
urchase_p
ayment_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_p
urchase_p
ayment_term",
"entity_name":"RES_SUPPLIER",
"ref_entity_name":"ACCOUNT_PAYMENT_TERM"
}
businesscentral-util/src/main/java/cn/ibizlab/businesscentral/util/domain/EntityClient.java
浏览文件 @
5d3a9543
...
...
@@ -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
{
...
...
businesscentral-util/src/main/java/cn/ibizlab/businesscentral/util/job/PermissionSyncJob.java
浏览文件 @
5d3a9543
...
...
@@ -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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录