Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz商业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz商业套件
iBiz商业中心
提交
119b1a25
提交
119b1a25
编写于
10月 22, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
953d5585
变更
6
展开全部
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
74 行增加
和
74 行删除
+74
-74
Purchase_orderExService.java
...tral/core/extensions/service/Purchase_orderExService.java
+9
-9
purchase_orderFallback.java
...ral/core/odoo_purchase/client/purchase_orderFallback.java
+3
-3
purchase_orderFeignClient.java
.../core/odoo_purchase/client/purchase_orderFeignClient.java
+6
-6
IPurchase_orderService.java
...al/core/odoo_purchase/service/IPurchase_orderService.java
+2
-2
Purchase_orderServiceImpl.java
...odoo_purchase/service/impl/Purchase_orderServiceImpl.java
+3
-3
Purchase_orderResource.java
...lab/businesscentral/core/rest/Purchase_orderResource.java
+51
-51
未找到文件。
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/extensions/service/Purchase_orderExService.java
浏览文件 @
119b1a25
...
...
@@ -22,34 +22,34 @@ public class Purchase_orderExService extends Purchase_orderServiceImpl {
}
/**
* 自定义行为[
Action_view_invoice
]用户扩展
* 自定义行为[
Button_cancel
]用户扩展
* @param et
* @return
*/
@Override
@Transactional
public
Purchase_order
action_view_invoice
(
Purchase_order
et
)
{
return
super
.
action_view_invoice
(
et
);
public
Purchase_order
button_cancel
(
Purchase_order
et
)
{
return
super
.
button_cancel
(
et
);
}
/**
* 自定义行为[
Action_view_picking
]用户扩展
* 自定义行为[
Button_confirm
]用户扩展
* @param et
* @return
*/
@Override
@Transactional
public
Purchase_order
action_view_picking
(
Purchase_order
et
)
{
return
super
.
action_view_picking
(
et
);
public
Purchase_order
button_confirm
(
Purchase_order
et
)
{
return
super
.
button_confirm
(
et
);
}
/**
* 自定义行为[Button_
confirm
]用户扩展
* 自定义行为[Button_
done
]用户扩展
* @param et
* @return
*/
@Override
@Transactional
public
Purchase_order
button_
confirm
(
Purchase_order
et
)
{
return
super
.
button_
confirm
(
et
);
public
Purchase_order
button_
done
(
Purchase_order
et
)
{
return
super
.
button_
done
(
et
);
}
/**
* 自定义行为[Button_unlock]用户扩展
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_purchase/client/purchase_orderFallback.java
浏览文件 @
119b1a25
...
...
@@ -64,15 +64,15 @@ public class purchase_orderFallback implements purchase_orderFeignClient{
public
Purchase_order
action_view_invoice
(
Long
id
,
Purchase_order
purchase_order
){
public
Purchase_order
button_cancel
(
Long
id
,
Purchase_order
purchase_order
){
return
null
;
}
public
Purchase_order
action_view_picking
(
Long
id
,
Purchase_order
purchase_order
){
public
Purchase_order
button_confirm
(
Long
id
,
Purchase_order
purchase_order
){
return
null
;
}
public
Purchase_order
button_
confirm
(
Long
id
,
Purchase_order
purchase_order
){
public
Purchase_order
button_
done
(
Long
id
,
Purchase_order
purchase_order
){
return
null
;
}
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_purchase/client/purchase_orderFeignClient.java
浏览文件 @
119b1a25
...
...
@@ -60,18 +60,18 @@ public interface purchase_orderFeignClient {
Purchase_order
getDraft
();
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/purchase_orders/{id}/action_view_invoice"
)
Purchase_order
action_view_invoice
(
@PathVariable
(
"id"
)
Long
id
,
@RequestBody
Purchase_order
purchase_order
);
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/purchase_orders/{id}/action_view_picking"
)
Purchase_order
action_view_picking
(
@PathVariable
(
"id"
)
Long
id
,
@RequestBody
Purchase_order
purchase_order
);
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/purchase_orders/{id}/button_cancel"
)
Purchase_order
button_cancel
(
@PathVariable
(
"id"
)
Long
id
,
@RequestBody
Purchase_order
purchase_order
);
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/purchase_orders/{id}/button_confirm"
)
Purchase_order
button_confirm
(
@PathVariable
(
"id"
)
Long
id
,
@RequestBody
Purchase_order
purchase_order
);
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/purchase_orders/{id}/button_done"
)
Purchase_order
button_done
(
@PathVariable
(
"id"
)
Long
id
,
@RequestBody
Purchase_order
purchase_order
);
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/purchase_orders/{id}/button_unlock"
)
Purchase_order
button_unlock
(
@PathVariable
(
"id"
)
Long
id
,
@RequestBody
Purchase_order
purchase_order
);
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_purchase/service/IPurchase_orderService.java
浏览文件 @
119b1a25
...
...
@@ -34,9 +34,9 @@ public interface IPurchase_orderService extends IService<Purchase_order>{
void
removeBatch
(
Collection
<
Long
>
idList
)
;
Purchase_order
get
(
Long
key
)
;
Purchase_order
getDraft
(
Purchase_order
et
)
;
Purchase_order
action_view_invoice
(
Purchase_order
et
)
;
Purchase_order
action_view_picking
(
Purchase_order
et
)
;
Purchase_order
button_cancel
(
Purchase_order
et
)
;
Purchase_order
button_confirm
(
Purchase_order
et
)
;
Purchase_order
button_done
(
Purchase_order
et
)
;
Purchase_order
button_unlock
(
Purchase_order
et
)
;
boolean
checkKey
(
Purchase_order
et
)
;
boolean
save
(
Purchase_order
et
)
;
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_purchase/service/impl/Purchase_orderServiceImpl.java
浏览文件 @
119b1a25
...
...
@@ -158,21 +158,21 @@ public class Purchase_orderServiceImpl extends ServiceImpl<Purchase_orderMapper,
@Override
@Transactional
public
Purchase_order
action_view_invoice
(
Purchase_order
et
)
{
public
Purchase_order
button_cancel
(
Purchase_order
et
)
{
//自定义代码
return
et
;
}
@Override
@Transactional
public
Purchase_order
action_view_picking
(
Purchase_order
et
)
{
public
Purchase_order
button_confirm
(
Purchase_order
et
)
{
//自定义代码
return
et
;
}
@Override
@Transactional
public
Purchase_order
button_
confirm
(
Purchase_order
et
)
{
public
Purchase_order
button_
done
(
Purchase_order
et
)
{
//自定义代码
return
et
;
}
...
...
businesscentral-provider/businesscentral-provider-core/src/main/java/cn/ibizlab/businesscentral/core/rest/Purchase_orderResource.java
浏览文件 @
119b1a25
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录