Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
02cdf8c1
提交
02cdf8c1
编写于
7月 09, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
4d0b745f
变更
5
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
21 行增加
和
249 行删除
+21
-249
sales-order-service-base.ts
app_CRM/src/service/sales-order/sales-order-service-base.ts
+6
-222
SalesOrderExService.java
...scentral/core/extensions/service/SalesOrderExService.java
+0
-20
SalesOrderServiceImpl.java
...entral/core/sales/service/impl/SalesOrderServiceImpl.java
+12
-4
IncidentCustomerMapper.xml
...apper/service/incidentcustomer/IncidentCustomerMapper.xml
+2
-2
systemResource.json
...al-core/src/main/resources/permission/systemResource.json
+1
-1
未找到文件。
app_CRM/src/service/sales-order/sales-order-service-base.ts
浏览文件 @
02cdf8c1
此差异已折叠。
点击以展开。
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/extensions/service/SalesOrderExService.java
浏览文件 @
02cdf8c1
...
...
@@ -21,26 +21,6 @@ public class SalesOrderExService extends SalesOrderServiceImpl {
return
com
.
baomidou
.
mybatisplus
.
core
.
toolkit
.
ReflectionKit
.
getSuperClassGenericType
(
this
.
getClass
().
getSuperclass
(),
1
);
}
/**
* 自定义行为[Cancel]用户扩展
* @param et
* @return
*/
@Override
@Transactional
public
SalesOrder
cancel
(
SalesOrder
et
)
{
return
super
.
cancel
(
et
);
}
/**
* 自定义行为[Finish]用户扩展
* @param et
* @return
*/
@Override
@Transactional
public
SalesOrder
finish
(
SalesOrder
et
)
{
return
super
.
finish
(
et
);
}
/**
* 自定义行为[GenInvoice]用户扩展
* @param et
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/sales/service/impl/SalesOrderServiceImpl.java
浏览文件 @
02cdf8c1
...
...
@@ -72,6 +72,14 @@ public class SalesOrderServiceImpl extends ServiceImpl<SalesOrderMapper, SalesOr
@Lazy
protected
cn
.
ibizlab
.
businesscentral
.
core
.
base
.
service
.
ITransactionCurrencyService
transactioncurrencyService
;
@Autowired
@Lazy
protected
cn
.
ibizlab
.
businesscentral
.
core
.
sales
.
service
.
logic
.
ISalesOrderCancelLogic
cancelLogic
;
@Autowired
@Lazy
protected
cn
.
ibizlab
.
businesscentral
.
core
.
sales
.
service
.
logic
.
ISalesOrderFinishLogic
finishLogic
;
protected
int
batchSize
=
500
;
@Override
...
...
@@ -140,8 +148,8 @@ public class SalesOrderServiceImpl extends ServiceImpl<SalesOrderMapper, SalesOr
@Override
@Transactional
public
SalesOrder
cancel
(
SalesOrder
et
)
{
//自定义代码
return
et
;
cancelLogic
.
execute
(
et
);
return
et
;
}
@Override
...
...
@@ -151,8 +159,8 @@ public class SalesOrderServiceImpl extends ServiceImpl<SalesOrderMapper, SalesOr
@Override
@Transactional
public
SalesOrder
finish
(
SalesOrder
et
)
{
//自定义代码
return
et
;
finishLogic
.
execute
(
et
);
return
et
;
}
@Override
...
...
businesscentral-core/src/main/resources/mapper/service/incidentcustomer/IncidentCustomerMapper.xml
浏览文件 @
02cdf8c1
...
...
@@ -29,12 +29,12 @@
<!--数据查询[Account]-->
<sql
id=
"Account"
databaseId=
"mysql"
>
<![CDATA[ select accountid as customerid, accountname as customer
idyominame, 'ACCOUNT' as customerid
type from account
<![CDATA[ select accountid as customerid, accountname as customer
name, 'ACCOUNT' as customer
type from account
]]>
</sql>
<!--数据查询[Contact]-->
<sql
id=
"Contact"
databaseId=
"mysql"
>
<![CDATA[ select contactid as customerid, fullname as customer
idyominame, 'CONTACT' as customerid
type from contact
<![CDATA[ select contactid as customerid, fullname as customer
name, 'CONTACT' as customer
type from contact
]]>
</sql>
<!--数据查询[Default]-->
...
...
businesscentral-core/src/main/resources/permission/systemResource.json
浏览文件 @
02cdf8c1
...
...
@@ -432,7 +432,7 @@
"delogicname"
:
"订单"
,
"sysmoudle"
:{
"id"
:
"SALES"
,
"name"
:
"Sales"
},
"dedataset"
:[{
"id"
:
"ByParentKey"
,
"name"
:
"ByParentKey"
},{
"id"
:
"Cancel"
,
"name"
:
"已取消"
},{
"id"
:
"Default"
,
"name"
:
"DEFAULT"
},{
"id"
:
"Finish"
,
"name"
:
"已完成"
},{
"id"
:
"Invoiced"
,
"name"
:
"已开发票"
}],
"deaction"
:[{
"id"
:
"Create"
,
"name"
:
"Create"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Update"
,
"name"
:
"Update"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Remove"
,
"name"
:
"Remove"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Get"
,
"name"
:
"Get"
,
"type"
:
"BUILTIN"
},{
"id"
:
"GetDraft"
,
"name"
:
"GetDraft"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Cancel"
,
"name"
:
"取消订单"
,
"type"
:
"
USERCUSTOM"
},{
"id"
:
"CheckKey"
,
"name"
:
"CheckKey"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Finish"
,
"name"
:
"完成订单"
,
"type"
:
"USERCUSTOM
"
},{
"id"
:
"GenInvoice"
,
"name"
:
"创建发票"
,
"type"
:
"USERCUSTOM"
},{
"id"
:
"Save"
,
"name"
:
"Save"
,
"type"
:
"BUILTIN"
}],
"deaction"
:[{
"id"
:
"Create"
,
"name"
:
"Create"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Update"
,
"name"
:
"Update"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Remove"
,
"name"
:
"Remove"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Get"
,
"name"
:
"Get"
,
"type"
:
"BUILTIN"
},{
"id"
:
"GetDraft"
,
"name"
:
"GetDraft"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Cancel"
,
"name"
:
"取消订单"
,
"type"
:
"
DELOGIC"
},{
"id"
:
"CheckKey"
,
"name"
:
"CheckKey"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Finish"
,
"name"
:
"完成订单"
,
"type"
:
"DELOGIC
"
},{
"id"
:
"GenInvoice"
,
"name"
:
"创建发票"
,
"type"
:
"USERCUSTOM"
},{
"id"
:
"Save"
,
"name"
:
"Save"
,
"type"
:
"BUILTIN"
}],
"datascope"
:[{
"id"
:
"all"
,
"name"
:
"全部数据"
},
{
"id"
:
"createman"
,
"name"
:
"创建人"
}]
}
,
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录