Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz商业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz商业套件
iBiz商业中心
提交
9ed4e0ea
提交
9ed4e0ea
编写于
10月 29, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码,后台体系[Spring Boot]
上级
eaf49fd7
变更
9
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
16 行增加
和
16 行删除
+16
-16
Res_supplierMapper.java
...nesscentral/core/odoo_base/mapper/Res_supplierMapper.java
+1
-1
Res_supplierServiceImpl.java
.../core/odoo_base/service/impl/Res_supplierServiceImpl.java
+2
-2
Product_templateMapper.java
...tral/core/odoo_product/mapper/Product_templateMapper.java
+2
-2
Product_templateServiceImpl.java
...doo_product/service/impl/Product_templateServiceImpl.java
+4
-4
Purchase_order_lineMapper.java
.../core/odoo_purchase/mapper/Purchase_order_lineMapper.java
+1
-1
Purchase_order_lineServiceImpl.java
...purchase/service/impl/Purchase_order_lineServiceImpl.java
+2
-2
Res_supplierMapper.xml
...rces/mapper/odoo_base/res_supplier/Res_supplierMapper.xml
+1
-1
Product_templateMapper.xml
.../odoo_product/product_template/Product_templateMapper.xml
+2
-2
Purchase_order_lineMapper.xml
...urchase/purchase_order_line/Purchase_order_lineMapper.xml
+1
-1
未找到文件。
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_base/mapper/Res_supplierMapper.java
浏览文件 @
9ed4e0ea
...
...
@@ -64,6 +64,6 @@ public interface Res_supplierMapper extends BaseMapper<Res_supplier>{
boolean
saveRelBy
OdooSupplier
(
@Param
(
"partner_id"
)
Long
partner_id
,
List
<
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
>
res_partner_categories
);
boolean
saveRelBy
PartnerId
(
@Param
(
"partner_id"
)
Long
partner_id
,
List
<
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
>
res_partner_categories
);
}
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_base/service/impl/Res_supplierServiceImpl.java
浏览文件 @
9ed4e0ea
...
...
@@ -99,7 +99,7 @@ public class Res_supplierServiceImpl extends EBSServiceImpl<Res_supplierMapper,
}
if
(
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isNotBlank
(
et
.
getCategoryId
())){
this
.
baseMapper
.
saveRelBy
OdooSupplier
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
category_id
,
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
this
.
baseMapper
.
saveRelBy
PartnerId
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
category_id
,
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
}
return
true
;
...
...
@@ -117,7 +117,7 @@ public class Res_supplierServiceImpl extends EBSServiceImpl<Res_supplierMapper,
if
(
et
.
getFocusNull
().
contains
(
"category_id"
)
||
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isNotBlank
(
et
.
getCategoryId
())){
resSupplierResPartnerCategoryRelService
.
removeByPartnerId
(
et
.
getId
());
if
(
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isNotBlank
(
et
.
getCategoryId
())){
this
.
baseMapper
.
saveRelBy
OdooSupplier
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
et
.
getCategoryId
(),
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
this
.
baseMapper
.
saveRelBy
PartnerId
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
et
.
getCategoryId
(),
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
}
}
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_product/mapper/Product_templateMapper.java
浏览文件 @
9ed4e0ea
...
...
@@ -76,9 +76,9 @@ public interface Product_templateMapper extends BaseMapper<Product_template>{
boolean
saveRelBy
OdooPro
d
(
@Param
(
"prod_id"
)
Long
prod_id
,
List
<
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
>
account_taxes
);
boolean
saveRelBy
ProdI
d
(
@Param
(
"prod_id"
)
Long
prod_id
,
List
<
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
>
account_taxes
);
boolean
saveRelBy
OdooPro
d
(
@Param
(
"prod_id"
)
Long
prod_id
,
List
<
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
>
account_taxes
);
boolean
saveRelBy
ProdI
d
(
@Param
(
"prod_id"
)
Long
prod_id
,
List
<
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
>
account_taxes
);
}
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_product/service/impl/Product_templateServiceImpl.java
浏览文件 @
9ed4e0ea
...
...
@@ -150,11 +150,11 @@ public class Product_templateServiceImpl extends EBSServiceImpl<Product_template
}
if
(
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isNotBlank
(
et
.
getSupplierTaxesId
())){
this
.
baseMapper
.
saveRelBy
OdooPro
d
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
supplier_taxes_id
,
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
this
.
baseMapper
.
saveRelBy
ProdI
d
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
supplier_taxes_id
,
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
}
if
(
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isNotBlank
(
et
.
getTaxesId
())){
this
.
baseMapper
.
saveRelBy
OdooPro
d
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
taxes_id
,
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
this
.
baseMapper
.
saveRelBy
ProdI
d
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
taxes_id
,
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
}
return
true
;
...
...
@@ -173,14 +173,14 @@ public class Product_templateServiceImpl extends EBSServiceImpl<Product_template
if
(
et
.
getFocusNull
().
contains
(
"supplier_taxes_id"
)
||
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isNotBlank
(
et
.
getSupplierTaxesId
())){
productSupplierTaxesRelService
.
removeByProdId
(
et
.
getId
());
if
(
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isNotBlank
(
et
.
getSupplierTaxesId
())){
this
.
baseMapper
.
saveRelBy
OdooPro
d
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
et
.
getSupplierTaxesId
(),
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
this
.
baseMapper
.
saveRelBy
ProdI
d
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
et
.
getSupplierTaxesId
(),
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
}
}
if
(
et
.
getFocusNull
().
contains
(
"taxes_id"
)
||
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isNotBlank
(
et
.
getTaxesId
())){
productTaxesRelService
.
removeByProdId
(
et
.
getId
());
if
(
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isNotBlank
(
et
.
getTaxesId
())){
this
.
baseMapper
.
saveRelBy
OdooPro
d
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
et
.
getTaxesId
(),
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
this
.
baseMapper
.
saveRelBy
ProdI
d
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
et
.
getTaxesId
(),
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
}
}
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_purchase/mapper/Purchase_order_lineMapper.java
浏览文件 @
9ed4e0ea
...
...
@@ -89,6 +89,6 @@ public interface Purchase_order_lineMapper extends BaseMapper<Purchase_order_lin
boolean
saveRelBy
OdooPurchaseOrderLine
(
@Param
(
"purchase_order_line_id"
)
Long
purchase_order_line_id
,
List
<
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
>
account_taxes
);
boolean
saveRelBy
PurchaseOrderLineId
(
@Param
(
"purchase_order_line_id"
)
Long
purchase_order_line_id
,
List
<
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
>
account_taxes
);
}
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_purchase/service/impl/Purchase_order_lineServiceImpl.java
浏览文件 @
9ed4e0ea
...
...
@@ -135,7 +135,7 @@ public class Purchase_order_lineServiceImpl extends EBSServiceImpl<Purchase_orde
}
if
(
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isNotBlank
(
et
.
getTaxesId
())){
this
.
baseMapper
.
saveRelBy
OdooPurchaseOrderLine
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
taxes_id
,
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
this
.
baseMapper
.
saveRelBy
PurchaseOrderLineId
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
taxes_id
,
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
}
return
true
;
...
...
@@ -154,7 +154,7 @@ public class Purchase_order_lineServiceImpl extends EBSServiceImpl<Purchase_orde
if
(
et
.
getFocusNull
().
contains
(
"taxes_id"
)
||
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isNotBlank
(
et
.
getTaxesId
())){
accountTaxPurchaseOrderLineRelService
.
removeByPurchaseOrderLineId
(
et
.
getId
());
if
(
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isNotBlank
(
et
.
getTaxesId
())){
this
.
baseMapper
.
saveRelBy
OdooPurchaseOrderLine
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
et
.
getTaxesId
(),
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
this
.
baseMapper
.
saveRelBy
PurchaseOrderLineId
(
et
.
getId
()
,
com
.
alibaba
.
fastjson
.
JSONArray
.
parseArray
(
et
.
getTaxesId
(),
cn
.
ibizlab
.
businesscentral
.
util
.
domain
.
MultiSelectItem
.
class
));
}
}
...
...
businesscentral-core/src/main/resources/mapper/odoo_base/res_supplier/Res_supplierMapper.xml
浏览文件 @
9ed4e0ea
...
...
@@ -39,7 +39,7 @@
]]>
</sql>
<insert
id=
"saveRelBy
OdooSupplier
"
parameterType=
"map"
>
<insert
id=
"saveRelBy
PartnerId
"
parameterType=
"map"
>
INSERT INTO RES_PARTNER_RES_PARTNER_CATEGORY_REL(
PARTNER_ID,CATEGORY_ID
)values
...
...
businesscentral-core/src/main/resources/mapper/odoo_product/product_template/Product_templateMapper.xml
浏览文件 @
9ed4e0ea
...
...
@@ -238,7 +238,7 @@
]]>
</sql>
<insert
id=
"saveRelBy
OdooPro
d"
parameterType=
"map"
>
<insert
id=
"saveRelBy
ProdI
d"
parameterType=
"map"
>
INSERT INTO PRODUCT_SUPPLIER_TAXES_REL(
PROD_ID,TAX_ID
)values
...
...
@@ -249,7 +249,7 @@
DO NOTHING;
</insert>
<insert
id=
"saveRelBy
OdooPro
d"
parameterType=
"map"
>
<insert
id=
"saveRelBy
ProdI
d"
parameterType=
"map"
>
INSERT INTO PRODUCT_TAXES_REL(
PROD_ID,TAX_ID
)values
...
...
businesscentral-core/src/main/resources/mapper/odoo_purchase/purchase_order_line/Purchase_order_lineMapper.xml
浏览文件 @
9ed4e0ea
...
...
@@ -208,7 +208,7 @@
]]>
</sql>
<insert
id=
"saveRelBy
OdooPurchaseOrderLine
"
parameterType=
"map"
>
<insert
id=
"saveRelBy
PurchaseOrderLineId
"
parameterType=
"map"
>
INSERT INTO ACCOUNT_TAX_PURCHASE_ORDER_LINE_REL(
PURCHASE_ORDER_LINE_ID,ACCOUNT_TAX_ID
)values
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录