Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
鲁鑫
topsun-bpm
Commits
f31360da
Commit
f31360da
authored
Jul 22, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务客户功能
parent
950db84a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
2839 additions
and
0 deletions
+2839
-0
finaCustomerDetail.js
.../webapp/biz/topsun/sap/finaCustomer/finaCustomerDetail.js
+429
-0
finaCustomerDetail.jsp
...webapp/biz/topsun/sap/finaCustomer/finaCustomerDetail.jsp
+94
-0
finaCustomerExtendDetail.js
...p/biz/topsun/sap/finaCustomer/finaCustomerExtendDetail.js
+390
-0
finaCustomerExtendDetail.jsp
.../biz/topsun/sap/finaCustomer/finaCustomerExtendDetail.jsp
+79
-0
finaCustomerList.js
...in/webapp/biz/topsun/sap/finaCustomer/finaCustomerList.js
+215
-0
finaCustomerList.jsp
...n/webapp/biz/topsun/sap/finaCustomer/finaCustomerList.jsp
+33
-0
FinaCustomerApplication.java
...sap/finaCustomer/application/FinaCustomerApplication.java
+40
-0
FinaCustomerApplicationImpl.java
...ustomer/application/impl/FinaCustomerApplicationImpl.java
+687
-0
FinaCustomerController.java
...n/sap/finaCustomer/controller/FinaCustomerController.java
+181
-0
FinaCustomerBank.java
...igou/topsun/sap/finaCustomer/domain/FinaCustomerBank.java
+82
-0
FinaCustomerInfo.java
...igou/topsun/sap/finaCustomer/domain/FinaCustomerInfo.java
+185
-0
FinaCustomerPay.java
...uigou/topsun/sap/finaCustomer/domain/FinaCustomerPay.java
+77
-0
FinaCustomerQueryRequest.java
...p/finaCustomer/domain/query/FinaCustomerQueryRequest.java
+34
-0
FinaCustomerBankRepository.java
...p/finaCustomer/repository/FinaCustomerBankRepository.java
+18
-0
FinaCustomerInfoRepository.java
...p/finaCustomer/repository/FinaCustomerInfoRepository.java
+17
-0
FinaCustomerPayRepository.java
...ap/finaCustomer/repository/FinaCustomerPayRepository.java
+18
-0
sapFinaCustomerModiProc.bpmn
.../bpm/topsun/sap/finaCustomer/sapFinaCustomerModiProc.bpmn
+111
-0
sapFinaCustomerProc.bpmn
...nfig/bpm/topsun/sap/finaCustomer/sapFinaCustomerProc.bpmn
+111
-0
finaCustomer.xml
...resources/config/topsun/sap/finaCustomer/finaCustomer.xml
+38
-0
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/finaCustomer/finaCustomerDetail.js
0 → 100644
View file @
f31360da
This diff is collapsed.
Click to expand it.
topsun-xt/src/main/webapp/biz/topsun/sap/finaCustomer/finaCustomerDetail.jsp
0 → 100644
View file @
f31360da
<%@ page
language=
"java"
contentType=
"text/html; charset=utf-8"
%>
<%@taglib
uri=
"/WEB-INF/taglib.tld"
prefix=
"x"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<html>
<head>
<script
type=
"text/javascript"
>
var
applyType
=
"${applyType}"
;
</script>
<x:base
include=
"layout,dialog,grid,tree,combox,commonTree,date,attachment"
/>
<x:script
src=
'/biz/topsun/sap/finaCustomer/finaCustomerDetail.js'
/>
</head>
<body>
<c:if
test=
"
${
applyType
==
0
}
"
>
<x:billTitle
title=
"财务客户主数据维护申请表"
needStatus=
"false"
needPerson=
"true"
/>
</c:if>
<c:if
test=
"
${
applyType
==
1
}
"
>
<x:billTitle
title=
"财务客户主数据修改申请表"
needStatus=
"false"
needPerson=
"true"
/>
</c:if>
<c:if
test=
"
${
applyType
==-
1
}
"
>
<x:billTitle
title=
"财务客户主数据删除申请表"
needStatus=
"false"
needPerson=
"true"
/>
</c:if>
<form
class=
"hg-form"
method=
"post"
action=
""
id=
"submitForm"
>
<x:hidden
name=
"id"
/>
<x:hidden
name=
"sId"
/>
<x:hidden
name=
"applyType"
/>
<%--<x:hidden name="billCode"/>--%>
<%--<x:hidden name="fillinDate" type="datetime"/>--%>
<x:hidden
name=
"fullId"
/>
<x:hidden
name=
"organId"
/>
<x:hidden
name=
"organName"
/>
<x:hidden
name=
"deptId"
/>
<%--<x:hidden name="deptName"/>--%>
<x:hidden
name=
"positionId"
/>
<x:hidden
name=
"positionName"
/>
<x:hidden
name=
"personMemberId"
/>
<x:hidden
name=
"statusId"
/>
<%--<x:hidden name="personMemberName"/>--%>
<x:title
title=
"申请人填写区域"
name=
"group"
/>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"billCode"
label=
"申请单编号"
labelCol=
"1"
readonly=
"true"
fieldCol=
"2"
/>
<x:inputC
name=
"personMemberName"
label=
"申请人"
readonly=
"true"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"deptName"
label=
"申请部门"
readonly=
"true"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"fillinDate"
label=
"申请日期"
readonly=
"true"
wrapper=
"dateTime"
labelCol=
"1"
fieldCol=
"2"
/>
</div>
</div>
<x:title
title=
"财务客户主基本数据"
name=
"group"
/>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"buPartner"
label=
"业务伙伴编码"
labelCol=
"1"
fieldCol=
"2"
readonly=
"true"
/>
<x:inputC
name=
"partnerRole"
label=
"业务伙伴角色"
labelCol=
"1"
fieldCol=
"2"
required=
"false"
readonly=
"true"
/>
<x:inputC
name=
"creationGroup"
label=
"业务伙伴分组"
labelCol=
"1"
fieldCol=
"2"
readonly=
"true"
/>
<x:selectC
name=
"titleMedi"
label=
"称谓代码"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"title"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"nameOrg1"
label=
"财务客户名称1"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
/>
<x:inputC
name=
"buSort1Txt"
label=
"搜索词1"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
/>
<x:selectC
name=
"langu"
label=
"语言"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
dictionary=
"langu"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"countryName"
label=
"国家"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
wrapper=
"select"
/>
<x:hidden
name=
"country"
/>
<x:inputC
name=
"regionName"
label=
"地区"
labelCol=
"1"
fieldCol=
"2"
required=
"false"
wrapper=
"select"
/>
<x:hidden
name=
"region"
/>
<x:inputC
name=
"street"
label=
"街道"
labelCol=
"1"
fieldCol=
"2"
maxLength=
"35"
/>
<x:inputC
name=
"postCode1"
label=
"城市邮政编码"
labelCol=
"1"
fieldCol=
"2"
required=
"false"
maxLength=
"6"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"smtpAddr"
label=
"电子邮件地址"
labelCol=
"1"
fieldCol=
"2"
maxLength=
"30"
/>
<x:inputC
name=
"telNumber"
label=
"电话"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"mobNumber"
label=
"移动电话"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"faxNumber"
label=
"传真"
labelCol=
"1"
fieldCol=
"2"
maxLength=
"30"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"lifnr"
label=
"供应商"
labelCol=
"1"
fieldCol=
"2"
maxLength=
"30"
/>
<x:inputC
name=
"stenr"
label=
"税号"
labelCol=
"1"
fieldCol=
"2"
maxLength=
"30"
/>
<x:selectC
name=
"sperr"
label=
"中心记帐冻结"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"sperr"
/>
</div>
<div
class=
"hg-form-row"
>
<x:textareaC
name=
"zbz01"
label=
"备注"
labelCol=
"1"
fieldCol=
"11"
rows=
"3"
/>
</div>
</div>
<div
style=
"padding-top: 15px;"
>
<x:fileList
bizCode=
"supplier"
bizId=
"attbizId"
id=
"supplierList"
title=
"营业执照/开票资料"
/>
</div>
<div
class=
"blank_div clearfix"
></div>
<x:title
title=
"财务客户公司信息"
name=
"group"
/>
<div
id=
"sapFinaCustomerPayGrid"
style=
"margin: 2px;"
></div>
<div
class=
"blank_div clearfix"
></div>
<x:title
title=
"财务客户银行信息"
name=
"group"
/>
<div
id=
"sapFinaCustomerBankGrid"
style=
"margin: 2px;"
></div>
</form>
</body>
</html>
topsun-xt/src/main/webapp/biz/topsun/sap/finaCustomer/finaCustomerExtendDetail.js
0 → 100644
View file @
f31360da
This diff is collapsed.
Click to expand it.
topsun-xt/src/main/webapp/biz/topsun/sap/finaCustomer/finaCustomerExtendDetail.jsp
0 → 100644
View file @
f31360da
<%@ page
language=
"java"
contentType=
"text/html; charset=utf-8"
%>
<%@taglib
uri=
"/WEB-INF/taglib.tld"
prefix=
"x"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<html>
<head>
<script
type=
"text/javascript"
>
var
applyType
=
"${applyType}"
;
</script>
<x:base
include=
"layout,dialog,grid,tree,combox,commonTree,date,attachment"
/>
<x:script
src=
'/biz/topsun/sap/finaCustomer/finaCustomerExtendDetail.js'
/>
</head>
<body>
<x:billTitle
title=
"财务客户主数据扩展申请表"
needStatus=
"false"
needPerson=
"true"
/>
<form
class=
"hg-form"
method=
"post"
action=
""
id=
"submitForm"
>
<x:hidden
name=
"id"
/>
<x:hidden
name=
"sId"
/>
<x:hidden
name=
"applyType"
/>
<x:hidden
name=
"billCode"
/>
<x:hidden
name=
"fillinDate"
type=
"datetime"
/>
<x:hidden
name=
"fullId"
/>
<x:hidden
name=
"organId"
/>
<x:hidden
name=
"organName"
/>
<x:hidden
name=
"deptId"
/>
<x:hidden
name=
"deptName"
/>
<x:hidden
name=
"positionId"
/>
<x:hidden
name=
"positionName"
/>
<x:hidden
name=
"personMemberId"
/>
<x:hidden
name=
"statusId"
/>
<x:hidden
name=
"personMemberName"
/>
<x:title
title=
"财务客户主基本数据"
name=
"group"
/>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"buPartner"
label=
"业务伙伴编码"
labelCol=
"1"
fieldCol=
"2"
readonly=
"true"
/>
<x:inputC
name=
"creationGroup"
label=
"业务伙伴分组"
labelCol=
"1"
fieldCol=
"2"
readonly=
"true"
/>
<x:inputC
name=
"partnerRole"
label=
"业务伙伴角色"
labelCol=
"1"
fieldCol=
"2"
required=
"false"
readonly=
"true"
/>
<x:selectC
name=
"titleMedi"
label=
"称谓代码"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"title"
disabled=
"true"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"nameOrg1"
label=
"财务客户名称1"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
readonly=
"true"
/>
<x:inputC
name=
"buSort1Txt"
label=
"搜索词1"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
readonly=
"true"
/>
<x:selectC
name=
"langu"
label=
"语言"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
dictionary=
"langu"
disabled=
"true"
/>
<x:selectC
name=
"sperr"
label=
"中心记帐冻结"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"sperr"
disabled=
"true"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"countryName"
label=
"国家"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
wrapper=
"select"
disabled=
"true"
/>
<x:hidden
name=
"country"
/>
<x:inputC
name=
"regionName"
label=
"地区"
labelCol=
"1"
fieldCol=
"2"
required=
"false"
wrapper=
"select"
disabled=
"true"
/>
<x:hidden
name=
"region"
/>
<x:inputC
name=
"street"
label=
"街道"
labelCol=
"1"
fieldCol=
"2"
maxLength=
"35"
readonly=
"true"
/>
<x:inputC
name=
"postCode1"
label=
"城市邮政编码"
labelCol=
"1"
fieldCol=
"2"
required=
"false"
maxLength=
"6"
readonly=
"true"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"smtpAddr"
label=
"电子邮件地址"
labelCol=
"1"
fieldCol=
"2"
maxLength=
"30"
readonly=
"true"
/>
<x:inputC
name=
"telNumber"
label=
"电话"
labelCol=
"1"
fieldCol=
"2"
readonly=
"true"
/>
<x:inputC
name=
"mobNumber"
label=
"移动电话"
labelCol=
"1"
fieldCol=
"2"
readonly=
"true"
/>
<x:inputC
name=
"faxNumber"
label=
"传真"
labelCol=
"1"
fieldCol=
"2"
maxLength=
"30"
readonly=
"true"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"lifnr"
label=
"供应商"
labelCol=
"1"
fieldCol=
"2"
maxLength=
"30"
readonly=
"true"
/>
<x:inputC
name=
"stenr"
label=
"税号"
labelCol=
"1"
fieldCol=
"2"
maxLength=
"30"
readonly=
"true"
/>
</div>
<div
class=
"hg-form-row"
>
<x:textareaC
name=
"zbz01"
label=
"备注"
labelCol=
"1"
fieldCol=
"11"
rows=
"3"
readonly=
"true"
/>
</div>
</div>
</div>
<div
style=
"padding-top: 15px;"
>
<x:fileList
bizCode=
"supplier"
bizId=
"attbizId"
id=
"supplierList"
title=
"营业执照/开票资料"
/>
</div>
<div
class=
"blank_div clearfix"
></div>
<x:title
title=
"财务客户公司信息"
name=
"group"
/>
<div
id=
"sapFinaCustomerPayGrid"
style=
"margin: 2px;"
></div>
<div
class=
"blank_div clearfix"
></div>
<x:title
title=
"财务客户银行信息"
name=
"group"
/>
<div
id=
"sapFinaCustomerBankGrid"
style=
"margin: 2px;"
></div>
</form>
</body>
</html>
topsun-xt/src/main/webapp/biz/topsun/sap/finaCustomer/finaCustomerList.js
0 → 100644
View file @
f31360da
var
gridManager
=
null
;
var
refreshFlag
=
false
;
$
(
document
).
ready
(
function
()
{
initializateUI
()
loadSuppliersDataListGrid
();
})
function
initializateUI
()
{
UICtrl
.
layout
(
"#layout"
,
{
leftWidth
:
3
});
}
function
loadSuppliersDataListGrid
()
{
var
toolbarOptions
=
UICtrl
.
getDefaultToolbarOptions
({
addHandler
:
function
(){
addHandler
()
},
updateHandler
:
showUpdateDialog
,
// extendHandler: {id: 'extendHandler', text: '扩展', img: 'fa-music', className: 'btn-gray',click: function () {
// extendHandler();
// }}
});
gridManager
=
UICtrl
.
grid
(
"#finaCustomerDataListGrid"
,
{
columns
:
[
{
display
:
"申请单编号"
,
name
:
"billCode"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"申请状态"
,
name
:
"statusTextView"
,
width
:
60
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"申请日期"
,
name
:
"fillinDate"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"操作类型"
,
name
:
"applyTypeTextView"
,
width
:
80
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"业务伙伴分组"
,
name
:
"creationGroup"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"业务伙伴编号"
,
name
:
"buPartner"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"业务伙伴角色"
,
name
:
"partnerRole"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"称谓代码"
,
name
:
"titleMedi"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"组织名称1"
,
name
:
"nameOrg1"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"搜索词1"
,
name
:
"buSort1Txt"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"国家"
,
name
:
"countryName"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"地区"
,
name
:
"regionName"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"街道"
,
name
:
"street"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"邮编"
,
name
:
"postCode1"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"电话号码"
,
name
:
"telNumber"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"移动电话号码"
,
name
:
"mobNumber"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"传真号"
,
name
:
"faxNumber"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"电子邮件地址"
,
name
:
"smtpAddr"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"申请人"
,
name
:
"personMemberName"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"申请部门"
,
name
:
"deptName"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
],
dataAction
:
"server"
,
url
:
web_app
.
name
+
'/finaCustomer/slicedFinaCustomerList.ajax'
,
pageSize
:
20
,
usePager
:
true
,
toolbar
:
toolbarOptions
,
width
:
"100%"
,
height
:
"100%"
,
heightDiff
:
-
8
,
checkbox
:
true
,
async
:
false
,
fixedCellHeight
:
true
,
selectRowButtonOnly
:
true
,
onDblClickRow
:
function
(
data
,
rowindex
,
rowobj
)
{
doView
(
data
.
id
,
data
.
applyType
);
},
onAfterShowData
:
function
(
data
){
console
.
log
(
data
)
}
});
UICtrl
.
setSearchAreaToggle
(
gridManager
);
}
function
query
(
obj
)
{
var
param
=
$
(
obj
).
formToJSON
();
UICtrl
.
gridSearch
(
gridManager
,
param
);
}
function
reloadGrid
()
{
gridManager
.
loadData
();
}
function
resetForm
(
obj
)
{
$
(
obj
).
formClean
();
}
//删除按钮
function
deleteHandler
(
id
)
{
// var rows = UICtrl.checkSelectedRows(gridManager);
/* var rows = gridManager.getSelectedRows();
var statusFlag="1";
for (var i=0;i<rows.length;i++){
if (rows[i].status!="0"){
statusFlag="0";
break;
}
}
if (statusFlag=="0"){
UICtrl.alert("申请状态下的数据,才能删除!");
return false;
} else {
DataUtil.del({
action: 'sapSuppliersData/deleteSuppliersData.ajax',
gridManager: gridManager, idFieldName: 'id',
onSuccess: function () {
reloadGrid();
}
});
} */
let
result
=
DataUtil
.
getUpdateRow
(
gridManager
);
if
(
result
.
applyType
==
"-1"
){
Public
.
tip
(
"已经删除的不能再次操作!"
)
return
false
;
}
if
(
result
.
status
!==
3
){
Public
.
tip
(
"请选择一条审核完成后的数据!"
)
return
false
;
}
UICtrl
.
addTabItem
({
tabid
:
'suppliersDataDele'
+
id
,
text
:
"供应商主数据删除"
,
url
:
web_app
.
name
+
'/sapSuppliersData/forwardSuppliersDataApply.job?bizId='
+
result
.
id
+
"&isDel=1"
});
}
function
addHandler
()
{
UICtrl
.
addTabItem
({
tabid
:
'finaCustomerApply'
,
text
:
"财务客户主数据申请"
,
url
:
web_app
.
name
+
'/finaCustomer/forwardFinaCustomerApply.job'
});
}
function
doView
(
id
,
applyType
)
{
var
title
=
"财务客户主数据申请详情"
;
if
(
applyType
==
"-1"
){
title
=
"财务客户主数据删除详情"
;
}
if
(
applyType
==
"1"
){
title
=
"财务客户主数据修改详情"
;
}
UICtrl
.
addTabItem
({
tabid
:
'finaCustomer'
+
id
,
text
:
title
,
url
:
web_app
.
name
+
'/finaCustomer/showFinaCustomer.job?isReadOnly=true&bizId='
+
id
+
"&isDetailPage=true"
});
}
function
initShowDialog
()
{
var
mainFileTable
=
$
(
'#compensateLibraryList'
).
fileList
();
mainFileTable
.
find
(
'table'
).
css
({
borderTopWidth
:
0
});
}
// 进行修改操作
function
showUpdateDialog
(
id
)
{
/* UICtrl.showAjaxDialog({
title: "修改供应商主数据申请",
url: web_app.name + '/sapSuppliersData/showSuppliersData.load',
param: {
id: id
},
width: 800,
init: initShowDialog,
ok: doSaveDefine,
start: false,
stop: false,
close: onDialogCloseHandler
}); */
let
result
=
DataUtil
.
getUpdateRow
(
gridManager
);
if
(
result
.
applyType
==
"-1"
){
Public
.
tip
(
"已经删除的不能再修改!"
)
return
false
;
}
if
(
result
.
status
!==
3
){
Public
.
tip
(
"请选择一条审核完成后数据!"
)
return
false
;
}
UICtrl
.
addTabItem
({
tabid
:
'suppliersDataModi'
+
id
,
text
:
"财务可数主数据修改详情"
,
url
:
web_app
.
name
+
'/finaCustomer/forwardFinaCustomerApply.job?bizId='
+
result
.
id
+
'&flag='
+
'update'
});
}
// function next(){
// UICtrl.addTabItem({
// tabid: 'showNonProdApplyNext',
// text: "非产品/非半成品类物料主数据维护申请详情",
// url: web_app.name + '/sapNonProdApply/forwardNonProdApplyNext.do?isDetailPage=true'
// });
// }
function
extendHandler
(){
let
result
=
DataUtil
.
getUpdateRow
(
gridManager
);
if
(
result
.
applyType
==
"-1"
){
Public
.
tip
(
"已经删除的不能再扩展!"
)
return
false
;
}
if
(
result
.
status
!==
3
){
Public
.
tip
(
"请选择一条审核完成后数据!"
)
return
false
;
}
UICtrl
.
addTabItem
({
tabid
:
'suppliersDataModi'
+
result
.
id
,
text
:
"财务客户主数据扩展详情"
,
url
:
web_app
.
name
+
'/finaCustomer/forwardFinaCustomerApply.job?bizId='
+
result
.
id
+
'&flag='
+
'extend'
});
}
// 关闭对话框
function
onDialogCloseHandler
()
{
if
(
refreshFlag
)
{
reloadGrid
();
refreshFlag
=
false
;
}
}
\ No newline at end of file
topsun-xt/src/main/webapp/biz/topsun/sap/finaCustomer/finaCustomerList.jsp
0 → 100644
View file @
f31360da
<%@ page
contentType=
"text/html; charset=utf-8"
language=
"java"
%>
<%@ taglib
uri=
"/WEB-INF/taglib.tld"
prefix=
"x"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<html>
<head>
<x:base
include=
"layout,dialog,grid,tree,combox,commonTree"
/>
<x:script
src=
'/biz/topsun/sap/finaCustomer/finaCustomerList.js'
/>
</head>
<body>
<div
class=
"container-fluid"
>
<%-- <x:button value="next" onclick="next()" icon="fa-save"/>--%>
<div
class=
"ui-hide"
>
<x:select
name=
"processType"
dictionary=
"processType"
/>
<x:select
name=
"yesorno"
dictionary=
"yesorno"
/>
</div>
<div
id=
"layout"
>
<div
position=
"center"
title=
"供应商主数据查询"
>
<x:title
title=
"common.button.search"
hideTable=
"queryMainForm"
isHide=
"true"
/>
<form
class=
"hg-form ui-hide"
method=
"post"
action=
""
id=
"queryMainForm"
>
<x:inputC
name=
"billCode"
required=
"false"
label=
"申请单号"
labelCol=
"1"
/>
<x:inputC
name=
"partner"
required=
"false"
label=
"业务伙伴编号"
labelCol=
"1"
/>
<x:inputC
name=
"nameOrg1"
required=
"false"
label=
"组织名称1"
labelCol=
"1"
/>
<x:selectC
name=
"applyType"
label=
"操作类型"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"applyType"
/>
<x:selectC
name=
"status"
label=
"审批状态"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"bizBillStatus"
/>
<x:searchButtons/>
</form>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"finaCustomerDataListGrid"
style=
"margin: 2px;"
></div>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
topsun/src/main/java/com/huigou/topsun/sap/finaCustomer/application/FinaCustomerApplication.java
0 → 100644
View file @
f31360da
package
com
.
huigou
.
topsun
.
sap
.
finaCustomer
.
application
;
import
com.huigou.topsun.sap.finaCustomer.domain.FinaCustomerInfo
;
import
com.huigou.topsun.sap.finaCustomer.domain.query.FinaCustomerQueryRequest
;
import
com.huigou.util.SDO
;
import
java.util.List
;
import
java.util.Map
;
public
interface
FinaCustomerApplication
{
String
PROCESS_DEFINITION_KEY
=
"finaCustomerProc"
;
String
PROCESS_DEFINITION_KEY2
=
"finaCustomerModiProc"
;
String
PROCESS_DEFINITION_KEY3
=
"finaCustomerDeleProc"
;
String
PROCESS_DEFINITION_KEY4
=
"finaCustomerExteProc"
;
String
QUERY_XML_FILE_PATH
=
"config/topsun/sap/finaCustomer/finaCustomer.xml"
;
Map
<
String
,
Object
>
slicedFinaCustomerQuery
(
FinaCustomerQueryRequest
query
);
FinaCustomerInfo
loadFinaCustomerById
(
String
id
);
Map
<
String
,
Object
>
loadFinaCustomerPayDatas
(
FinaCustomerQueryRequest
queryRequest
);
Map
<
String
,
Object
>
loadFinaCustomerBankDatas
(
FinaCustomerQueryRequest
queryRequest
);
List
<
Map
<
String
,
Object
>>
findDeletedFinaCustomerById
(
SDO
params
);
void
deleteFinaCustomerPaysByIds
(
List
<
String
>
ids
);
void
deleteFinaCustomerBankByIds
(
List
<
String
>
ids
);
List
<
Map
<
String
,
String
>>
selectFinaCustomers
(
String
types
);
String
checkApprovalStatus
(
String
partner
);
Map
<
String
,
String
>
getFinaCustomerNowItemList
(
String
buPartner
);
}
topsun/src/main/java/com/huigou/topsun/sap/finaCustomer/application/impl/FinaCustomerApplicationImpl.java
0 → 100644
View file @
f31360da
This diff is collapsed.
Click to expand it.
topsun/src/main/java/com/huigou/topsun/sap/finaCustomer/controller/FinaCustomerController.java
0 → 100644
View file @
f31360da
package
com
.
huigou
.
topsun
.
sap
.
finaCustomer
.
controller
;
import
com.huigou.context.Operator
;
import
com.huigou.context.OrgUnit
;
import
com.huigou.topsun.sap.finaCustomer.application.FinaCustomerApplication
;
import
com.huigou.topsun.sap.finaCustomer.domain.FinaCustomerInfo
;
import
com.huigou.topsun.sap.finaCustomer.domain.query.FinaCustomerQueryRequest
;
import
com.huigou.uasp.annotation.ControllerMapping
;
import
com.huigou.uasp.bmp.common.BizBillStatus
;
import
com.huigou.uasp.client.CommonController
;
import
com.huigou.util.SDO
;
import
com.huigou.util.StringUtil
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
* @Auther: LXH
*
* @Date: 2024/03/01
* @Description:
*/
@Controller
@ControllerMapping
(
"/finaCustomer"
)
public
class
FinaCustomerController
extends
CommonController
{
protected
String
getPagePath
()
{
return
"/biz/topsun/sap/finaCustomer/"
;
}
@Autowired
FinaCustomerApplication
finaCustomerApplication
;
public
String
forwardFinaCustomerList
()
{
return
forward
(
"finaCustomerList"
);
}
public
String
slicedFinaCustomerList
()
{
SDO
sdo
=
this
.
getSDO
();
FinaCustomerQueryRequest
queryRequest
=
sdo
.
toQueryRequest
(
FinaCustomerQueryRequest
.
class
);
Map
<
String
,
Object
>
map
=
finaCustomerApplication
.
slicedFinaCustomerQuery
(
queryRequest
);
return
toResult
(
map
);
}
public
String
forwardFinaCustomerApply
()
{
this
.
putAttribute
(
"processDefinitionKey"
,
FinaCustomerApplication
.
PROCESS_DEFINITION_KEY
);
this
.
putAttribute
(
"procUnitId"
,
"Apply"
);
//定义流程环节的id
this
.
putAttribute
(
"applyType"
,
"0"
);
SDO
sdo
=
this
.
getSDO
();
String
bizId
=
sdo
.
getString
(
"bizId"
);
String
flag
=
sdo
.
getString
(
"flag"
);
FinaCustomerInfo
finaCustomerInfo
=
new
FinaCustomerInfo
();
finaCustomerInfo
.
setCreationGroup
(
"C006"
);
//分组: 默认【C006】,不可更改
finaCustomerInfo
.
setPartnerRole
(
"FLCU00"
);
//业务伙伴角色 默认【FLCU00】,不可更改
finaCustomerInfo
.
setApplyType
(
"0"
);
String
isDel
=
sdo
.
getString
(
"isDel"
);
String
page
=
"finaCustomerDetail"
;
if
(
StringUtil
.
isNotBlank
(
isDel
)){
//删除流程
finaCustomerInfo
=
finaCustomerApplication
.
loadFinaCustomerById
(
bizId
);
this
.
putAttribute
(
"processDefinitionKey"
,
FinaCustomerApplication
.
PROCESS_DEFINITION_KEY3
);
this
.
putAttribute
(
"applyType"
,
"-1"
);
finaCustomerInfo
.
setApplyType
(
"-1"
);
finaCustomerInfo
.
setBillCode
(
""
);
finaCustomerInfo
.
setId
(
""
);
// finaCustomerInfo.setSId(bizId);
Map
<
String
,
Object
>
map
=
new
HashMap
();
map
.
put
(
"bizId"
,
""
);
sdo
.
setProperties
(
map
);
finaCustomerInfo
.
setFullId
(
""
);
this
.
putAttribute
(
"bizId"
,
""
);
this
.
putAttribute
(
"sId"
,
bizId
);
this
.
putAttribute
(
"id"
,
""
);
}
else
{
if
(
StringUtil
.
isNotBlank
(
bizId
))
{
finaCustomerInfo
=
finaCustomerApplication
.
loadFinaCustomerById
(
bizId
);
sdo
.
putProperty
(
"buPartner"
,
finaCustomerInfo
.
getBuPartner
());
List
deletedList
=
finaCustomerApplication
.
findDeletedFinaCustomerById
(
sdo
);
if
(
deletedList
.
size
()>
0
){
throw
new
RuntimeException
(
"该财务客户已经执行删除,不能再次修改了!"
);
}
if
(
"update"
.
equals
(
flag
)){
this
.
putAttribute
(
"processDefinitionKey"
,
FinaCustomerApplication
.
PROCESS_DEFINITION_KEY2
);
this
.
putAttribute
(
"applyType"
,
"1"
);
finaCustomerInfo
.
setApplyType
(
"1"
);
}
else
if
(
"extend"
.
equals
(
flag
))
{
this
.
putAttribute
(
"processDefinitionKey"
,
FinaCustomerApplication
.
PROCESS_DEFINITION_KEY4
);
this
.
putAttribute
(
"applyType"
,
"2"
);
//扩展
finaCustomerInfo
.
setApplyType
(
"2"
);
page
=
"finaCustomerExtendDetail"
;
}
finaCustomerInfo
.
setBillCode
(
""
);
finaCustomerInfo
.
setId
(
""
);
// finaCustomerInfo.setSId(bizId);
Map
<
String
,
Object
>
map
=
new
HashMap
();
map
.
put
(
"bizId"
,
""
);
sdo
.
setProperties
(
map
);
finaCustomerInfo
.
setFullId
(
""
);
this
.
putAttribute
(
"bizId"
,
""
);
this
.
putAttribute
(
"sId"
,
bizId
);
this
.
putAttribute
(
"id"
,
""
);
}
}
finaCustomerInfo
.
setStatusId
(
BizBillStatus
.
APPLYING
.
getId
());
Operator
operator
=
getOperator
();
//获取当前操作员的详情信息
finaCustomerInfo
.
setDefaultValues
(
new
OrgUnit
(
operator
.
getFullId
(),
operator
.
getFullName
()));
return
forward
(
page
,
finaCustomerInfo
);
}
public
String
showFinaCustomer
()
{
SDO
sdo
=
this
.
getSDO
();
String
id
=
sdo
.
getBizId
();
String
isDetailPage
=
sdo
.
getString
(
"isDetailPage"
);
this
.
putAttribute
(
"applyType"
,
"0"
);
if
(
"true"
.
equals
(
isDetailPage
))
this
.
putAttribute
(
"isDetailPage"
,
"true"
);
FinaCustomerInfo
finaCustomerInfo
=
finaCustomerApplication
.
loadFinaCustomerById
(
id
);
if
(!(
finaCustomerInfo
.
getApplyType
().
equals
(
"0"
))){
this
.
putAttribute
(
"sId"
,
id
);
this
.
putAttribute
(
"applyType"
,
finaCustomerInfo
.
getApplyType
());
if
(
"2"
.
equals
(
finaCustomerInfo
.
getApplyType
())){
return
forward
(
"finaCustomerExtendDetail"
,
finaCustomerInfo
);
}
}
return
forward
(
"finaCustomerDetail"
,
finaCustomerInfo
);
}
public
String
slicedFinaCustomerPayData
(){
SDO
sdo
=
this
.
getSDO
();
FinaCustomerQueryRequest
queryRequest
=
sdo
.
toQueryRequest
(
FinaCustomerQueryRequest
.
class
);
queryRequest
.
setSId
(
sdo
.
getString
(
"sId"
));
Map
<
String
,
Object
>
map
=
finaCustomerApplication
.
loadFinaCustomerPayDatas
(
queryRequest
);
return
toResult
(
map
);
}
public
String
slicedFinaCustomerBankData
(){
SDO
sdo
=
this
.
getSDO
();
FinaCustomerQueryRequest
queryRequest
=
sdo
.
toQueryRequest
(
FinaCustomerQueryRequest
.
class
);
queryRequest
.
setSId
(
sdo
.
getString
(
"sId"
));
Map
<
String
,
Object
>
map
=
finaCustomerApplication
.
loadFinaCustomerBankDatas
(
queryRequest
);
return
toResult
(
map
);
}
public
String
deleteFinaCustomerPays
()
{
SDO
sdo
=
this
.
getSDO
();
List
<
String
>
ids
=
sdo
.
getIds
();
finaCustomerApplication
.
deleteFinaCustomerPaysByIds
(
ids
);
return
success
();
}
public
String
deleteFinaCustomerBanks
()
{
SDO
sdo
=
this
.
getSDO
();
List
<
String
>
ids
=
sdo
.
getIds
();
finaCustomerApplication
.
deleteFinaCustomerBankByIds
(
ids
);
return
success
();
}
public
String
checkApprovalStatus
(){
SDO
sdo
=
this
.
getSDO
();
String
partner
=
sdo
.
getString
(
"partner"
);
finaCustomerApplication
.
checkApprovalStatus
(
partner
);
return
success
();
}
public
String
getFinaCustomerNowItemList
(){
SDO
sdo
=
this
.
getSDO
();
String
buPartner
=
sdo
.
getString
(
"buPartner"
);
Map
<
String
,
String
>
map
=
finaCustomerApplication
.
getFinaCustomerNowItemList
(
buPartner
);
return
toResult
(
map
);
}
}
topsun/src/main/java/com/huigou/topsun/sap/finaCustomer/domain/FinaCustomerBank.java
0 → 100644
View file @
f31360da
package
com
.
huigou
.
topsun
.
sap
.
finaCustomer
.
domain
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
lombok.Data
;
import
org.hibernate.annotations.GenericGenerator
;
import
javax.persistence.*
;
import
java.io.Serializable
;
/**
*
* @TableName sap_fina_customer_bank
*/
@Table
(
name
=
"sap_fina_customer_bank"
)
@Data
@Entity
public
class
FinaCustomerBank
implements
Serializable
{
@Id
@GeneratedValue
(
generator
=
"system-uuid"
)
@GenericGenerator
(
name
=
"system-uuid"
,
strategy
=
"guid"
)
private
String
id
;
/**
* 主表id
*/
@Column
(
name
=
"s_id"
)
private
String
sId
;
/**
* 银行所属国家/地区代码
*/
@Column
(
name
=
"banks"
)
private
String
banks
;
/**
* 银行代码
*/
@Column
(
name
=
"bankl"
)
private
String
bankl
;
/**
* 银行帐户号码
*/
@Column
(
name
=
"bankn"
)
private
String
bankn
;
/**
* 财务机构名称
*/
@Column
(
name
=
"banka"
)
private
String
banka
;
/**
* 银行细目的参考明细
*/
@Column
(
name
=
"bkref"
)
private
String
bkref
;
/**
* 账户持有人姓名
*/
@Column
(
name
=
"koinh"
)
private
String
koinh
;
/**
* 账户名称
*/
@Column
(
name
=
"accname"
)
private
String
accname
;
@Column
(
name
=
"sequence"
)
private
int
sequence
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
topsun/src/main/java/com/huigou/topsun/sap/finaCustomer/domain/FinaCustomerInfo.java
0 → 100644
View file @
f31360da
package
com
.
huigou
.
topsun
.
sap
.
finaCustomer
.
domain
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
com.huigou.data.domain.model.FlowBillAbstractEntity
;
import
lombok.Data
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Table
;
import
javax.persistence.Transient
;
/**
* 财务客户主数据
*/
@Table
(
name
=
"sap_fina_customer_info"
)
@Data
@Entity
public
class
FinaCustomerInfo
extends
FlowBillAbstractEntity
{
/**
* 业务伙伴编码
*/
@Column
(
name
=
"bu_partner"
)
@JsonProperty
(
"BU_PARTNER"
)
private
String
buPartner
;
/**
* 业务伙伴分组
*/
@Column
(
name
=
"creation_group"
)
@JsonProperty
(
"CREATION_GROUP"
)
private
String
creationGroup
;
/**
* 业务伙伴角色
*/
@Column
(
name
=
"partner_role"
)
@JsonProperty
(
"PARTNER_ROLE"
)
private
String
partnerRole
;
/**
* 称谓代码
* 非必填,设下拉菜单,选项为【0001女士】、【0002先生】、【0003公司】
*/
@Column
(
name
=
"title_medi"
)
@JsonProperty
(
"TITLE_MEDI"
)
private
String
titleMedi
;
/**
* 组织名称 1
*/
@Column
(
name
=
"name_org1"
)
@JsonProperty
(
"NAME_ORG1"
)
private
String
nameOrg1
;
/**
* 搜索词1
*/
@Column
(
name
=
"bu_sort1_txt"
)
@JsonProperty
(
"BU_SORT1_TXT"
)
private
String
buSort1Txt
;
/**
* 备注
*/
@Column
(
name
=
"zbz01"
)
@JsonProperty
(
"zbz01"
)
private
String
zbz01
;
/**
* 国家/地区代码
*/
@Column
(
name
=
"country"
)
@JsonProperty
(
"COUNTRY"
)
private
String
country
;
/**
* 国家/地区代码
*/
@Column
(
name
=
"country_name"
)
private
String
countryName
;
/**
* 地区代码
*/
@Column
(
name
=
"region"
)
@JsonProperty
(
"REGION"
)
private
String
region
;
/**
* 地区代码
*/
@Column
(
name
=
"region_name"
)
private
String
regionName
;
/**
* 街道
*/
@Column
(
name
=
"street"
)
@JsonProperty
(
"STREET"
)
private
String
street
;
/**
* 城市邮政编码
*/
@Column
(
name
=
"post_code1"
)
@JsonProperty
(
"POST_CODE1"
)
private
String
postCode1
;
/**
* 语言关键字
*/
@Column
(
name
=
"langu"
)
@JsonProperty
(
"LANGU"
)
private
String
langu
;
/**
* 电话号码
*/
@Column
(
name
=
"tel_number"
)
@JsonProperty
(
"TEL_NUMBER"
)
private
String
telNumber
;
/**
* 移动电话号码
*/
@Column
(
name
=
"mob_number"
)
@JsonProperty
(
"MOB_NUMBER"
)
private
String
mobNumber
;
/**
* 传真号
*/
@Column
(
name
=
"fax_number"
)
@JsonProperty
(
"FAX_NUMBER"
)
private
String
faxNumber
;
/**
* 电子邮件地址
*/
@Column
(
name
=
"smtp_addr"
)
@JsonProperty
(
"SMTP_ADDR"
)
private
String
smtpAddr
;
/**
* 税号
*/
@JsonProperty
(
"STENR"
)
@Column
(
name
=
"stenr"
)
private
String
stenr
;
/**
* 中心记帐冻结
*/
@JsonProperty
(
"SPERR"
)
@Column
(
name
=
"sperr"
)
private
String
sperr
;
/**
* 更新标识 I、U、D
*/
@Column
(
name
=
"updkz"
)
@JsonProperty
(
"UPDKZ"
)
private
String
updkz
;
//申请类型 -1 删除 0 申请 1 修改
@Column
(
name
=
"apply_type"
)
private
String
applyType
;
/**
* 供应商编号
*/
@Column
(
name
=
"lifnr"
)
private
String
lifnr
;
@Override
protected
String
getCodeRuleId
()
{
return
"finaCustomerInfo"
;
}
}
\ No newline at end of file
topsun/src/main/java/com/huigou/topsun/sap/finaCustomer/domain/FinaCustomerPay.java
0 → 100644
View file @
f31360da
package
com
.
huigou
.
topsun
.
sap
.
finaCustomer
.
domain
;
import
lombok.Data
;
import
org.hibernate.annotations.GenericGenerator
;
import
javax.persistence.*
;
import
java.io.Serializable
;
/**
*
* @TableName sap_fina_customer_pay
*/
@Table
(
name
=
"sap_fina_customer_pay"
)
@Data
@Entity
public
class
FinaCustomerPay
implements
Serializable
{
@Id
@GeneratedValue
(
generator
=
"system-uuid"
)
@GenericGenerator
(
name
=
"system-uuid"
,
strategy
=
"guid"
)
private
String
id
;
/**
* 主表id
*/
@Column
(
name
=
"s_id"
)
private
String
sId
;
/**
* 公司代码
*/
@Column
(
name
=
"bukrs"
)
private
String
bukrs
;
/**
* 总帐中的统驭科目
*/
@Column
(
name
=
"akont_customer"
)
private
String
akontCustomer
;
/**
* 根据分配号排序代码
*/
@Column
(
name
=
"zuawa"
)
private
String
zuawa
;
/**
* 付款条件代码
*/
@Column
(
name
=
"zterm"
)
private
String
zterm
;
/**
* 对公司代码过帐冻结
*/
@Column
(
name
=
"sperr_b"
)
private
String
sperrB
;
/**
* 考虑的付款方式清单
*/
@Column
(
name
=
"zwels"
)
private
String
zwels
;
@Column
(
name
=
"sequence"
)
private
int
sequence
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
topsun/src/main/java/com/huigou/topsun/sap/finaCustomer/domain/query/FinaCustomerQueryRequest.java
0 → 100644
View file @
f31360da
package
com
.
huigou
.
topsun
.
sap
.
finaCustomer
.
domain
.
query
;
import
com.huigou.data.domain.query.FlowBillSuperQueryRequest
;
import
lombok.Data
;
@Data
public
class
FinaCustomerQueryRequest
extends
FlowBillSuperQueryRequest
{
/**
* 业务伙伴编号
*/
private
String
partner
;
/**
* 单据编号
*/
private
String
billCode
;
/**
* 称谓代码
*/
private
String
title
;
/**
* 组织名称1
*/
private
String
nameOrg1
;
private
String
applyType
;
private
String
sId
;
}
topsun/src/main/java/com/huigou/topsun/sap/finaCustomer/repository/FinaCustomerBankRepository.java
0 → 100644
View file @
f31360da
package
com
.
huigou
.
topsun
.
sap
.
finaCustomer
.
repository
;
import
com.huigou.topsun.sap.finaCustomer.domain.FinaCustomerBank
;
import
org.springframework.data.jpa.repository.JpaRepository
;
import
java.util.List
;
/**
* @Auther: lxh
* @Date: 2024/03/01
* @Description:
*/
public
interface
FinaCustomerBankRepository
extends
JpaRepository
<
FinaCustomerBank
,
String
>
{
List
<
FinaCustomerBank
>
findAllBySId
(
String
sId
);
List
<
FinaCustomerBank
>
findByBankn
(
String
bankn
);
}
topsun/src/main/java/com/huigou/topsun/sap/finaCustomer/repository/FinaCustomerInfoRepository.java
0 → 100644
View file @
f31360da
package
com
.
huigou
.
topsun
.
sap
.
finaCustomer
.
repository
;
import
com.huigou.topsun.sap.finaCustomer.domain.FinaCustomerInfo
;
import
com.huigou.topsun.sap.suppliers.domain.SuppliersInfo
;
import
org.springframework.data.jpa.repository.JpaRepository
;
import
java.util.List
;
/**
* @Auther: lxh
* @Date: 2024/03/01
* @Description:
*/
public
interface
FinaCustomerInfoRepository
extends
JpaRepository
<
FinaCustomerInfo
,
String
>
{
List
<
FinaCustomerInfo
>
findByBuPartner
(
String
buPartner
);
}
topsun/src/main/java/com/huigou/topsun/sap/finaCustomer/repository/FinaCustomerPayRepository.java
0 → 100644
View file @
f31360da
package
com
.
huigou
.
topsun
.
sap
.
finaCustomer
.
repository
;
import
com.huigou.topsun.sap.finaCustomer.domain.FinaCustomerPay
;
import
org.springframework.data.jpa.repository.JpaRepository
;
import
java.util.List
;
/**
* @Auther: lxh
* @Date: 2024/03/01
* @Description:
*/
public
interface
FinaCustomerPayRepository
extends
JpaRepository
<
FinaCustomerPay
,
String
>
{
// SuppliersPay findBysId(String sId);
List
<
FinaCustomerPay
>
findAllBySId
(
String
sId
);
}
topsun/src/main/resources/config/bpm/topsun/sap/finaCustomer/sapFinaCustomerModiProc.bpmn
0 → 100644
View file @
f31360da
<?xml version="1.0" encoding="UTF-8"?>
<definitions
xmlns=
"http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:activiti=
"http://activiti.org/bpmn"
xmlns:bpmndi=
"http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:omgdc=
"http://www.omg.org/spec/DD/20100524/DC"
xmlns:omgdi=
"http://www.omg.org/spec/DD/20100524/DI"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
typeLanguage=
"http://www.w3.org/2001/XMLSchema"
expressionLanguage=
"http://www.w3.org/1999/XPath"
targetNamespace=
"http://www.activiti.org/test"
>
<process
id=
"finaCustomerModiProc"
name=
"财务客户主数据"
isExecutable=
"true"
>
<extensionElements>
<activiti:executionListener
event=
"start"
delegateExpression=
"#{finaCustomerApplication}"
></activiti:executionListener>
<activiti:executionListener
event=
"end"
delegateExpression=
"#{finaCustomerApplication}"
></activiti:executionListener>
</extensionElements>
<startEvent
id=
"startevent1"
name=
"Start"
></startEvent>
<endEvent
id=
"endevent1"
name=
"End"
></endEvent>
<userTask
id=
"Apply"
name=
"财务客户主数据修改申请"
activiti:formKey=
"finaCustomer/showFinaCustomer.job"
>
<extensionElements>
<activiti:taskListener
event=
"all"
delegateExpression=
"#{finaCustomerApplication}"
></activiti:taskListener>
<activiti:taskListener
event=
"saveBizData"
delegateExpression=
"#{finaCustomerApplication}"
></activiti:taskListener>
</extensionElements>
</userTask>
<userTask
id=
"Approve"
name=
"财务客户主数据修改审批"
activiti:assignee=
"${assignee} "
activiti:formKey=
"finaCustomer/showFinaCustomer.job"
>
<extensionElements>
<activiti:taskListener
event=
"all"
delegateExpression=
"#{finaCustomerApplication}"
></activiti:taskListener>
<activiti:taskListener
event=
"saveBizData"
delegateExpression=
"#{finaCustomerApplication}"
></activiti:taskListener>
</extensionElements>
<multiInstanceLoopCharacteristics
isSequential=
"false"
activiti:collection=
"handlerList"
activiti:elementVariable=
"assignee"
>
<completionCondition>
${chiefApprovePassed}
</completionCondition>
</multiInstanceLoopCharacteristics>
</userTask>
<sequenceFlow
id=
"flow1"
sourceRef=
"startevent1"
targetRef=
"Apply"
></sequenceFlow>
<sequenceFlow
id=
"flow2"
sourceRef=
"Apply"
targetRef=
"Approve"
></sequenceFlow>
<exclusiveGateway
id=
"ApproveFinished"
name=
"审批结束"
></exclusiveGateway>
<sequenceFlow
id=
"flow3"
name=
"审批通过"
sourceRef=
"ApprovePassed"
targetRef=
"ApproveFinished"
>
<conditionExpression
xsi:type=
"tFormalExpression"
>
<![CDATA[${approvePassed}]]>
</conditionExpression>
</sequenceFlow>
<sequenceFlow
id=
"flow4"
name=
"审批结束"
sourceRef=
"ApproveFinished"
targetRef=
"endevent1"
>
<conditionExpression
xsi:type=
"tFormalExpression"
>
<![CDATA[${approveFinished}]]>
</conditionExpression>
</sequenceFlow>
<sequenceFlow
id=
"flow5"
name=
"审批未结束"
sourceRef=
"ApproveFinished"
targetRef=
"Approve"
>
<conditionExpression
xsi:type=
"tFormalExpression"
>
<![CDATA[${!approveFinished}]]>
</conditionExpression>
</sequenceFlow>
<exclusiveGateway
id=
"ApprovePassed"
name=
"审批通过"
></exclusiveGateway>
<sequenceFlow
id=
"flow6"
sourceRef=
"Approve"
targetRef=
"ApprovePassed"
></sequenceFlow>
<sequenceFlow
id=
"flow9"
name=
"审批未通过"
sourceRef=
"ApprovePassed"
targetRef=
"Apply"
>
<conditionExpression
xsi:type=
"tFormalExpression"
>
<![CDATA[${!approvePassed}]]>
</conditionExpression>
</sequenceFlow>
</process>
<bpmndi:BPMNDiagram
id=
"BPMNDiagram_finaCustomerModiProc"
>
<bpmndi:BPMNPlane
bpmnElement=
"finaCustomerModiProc"
id=
"BPMNPlane_finaCustomerModiProc"
>
<bpmndi:BPMNShape
bpmnElement=
"startevent1"
id=
"BPMNShape_startevent1"
>
<omgdc:Bounds
height=
"35.0"
width=
"35.0"
x=
"355.0"
y=
"50.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"endevent1"
id=
"BPMNShape_endevent1"
>
<omgdc:Bounds
height=
"35.0"
width=
"35.0"
x=
"355.0"
y=
"550.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"Apply"
id=
"BPMNShape_Apply"
>
<omgdc:Bounds
height=
"55.0"
width=
"161.0"
x=
"292.0"
y=
"140.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"Approve"
id=
"BPMNShape_Approve"
>
<omgdc:Bounds
height=
"55.0"
width=
"161.0"
x=
"292.0"
y=
"240.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"ApproveFinished"
id=
"BPMNShape_ApproveFinished"
>
<omgdc:Bounds
height=
"40.0"
width=
"40.0"
x=
"352.0"
y=
"440.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"ApprovePassed"
id=
"BPMNShape_ApprovePassed"
>
<omgdc:Bounds
height=
"40.0"
width=
"40.0"
x=
"352.0"
y=
"349.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge
bpmnElement=
"flow1"
id=
"BPMNEdge_flow1"
>
<omgdi:waypoint
x=
"372.0"
y=
"85.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"372.0"
y=
"140.0"
></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow2"
id=
"BPMNEdge_flow2"
>
<omgdi:waypoint
x=
"372.0"
y=
"195.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"372.0"
y=
"240.0"
></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow3"
id=
"BPMNEdge_flow3"
>
<omgdi:waypoint
x=
"372.0"
y=
"389.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"372.0"
y=
"440.0"
></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"14.0"
width=
"48.0"
x=
"320.0"
y=
"396.0"
></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow4"
id=
"BPMNEdge_flow4"
>
<omgdi:waypoint
x=
"372.0"
y=
"480.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"372.0"
y=
"550.0"
></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"14.0"
width=
"48.0"
x=
"382.0"
y=
"489.0"
></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow5"
id=
"BPMNEdge_flow5"
>
<omgdi:waypoint
x=
"392.0"
y=
"460.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"519.0"
y=
"459.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"519.0"
y=
"317.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"519.0"
y=
"267.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"489.0"
y=
"267.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"453.0"
y=
"267.0"
></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"14.0"
width=
"60.0"
x=
"459.0"
y=
"411.0"
></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow6"
id=
"BPMNEdge_flow6"
>
<omgdi:waypoint
x=
"372.0"
y=
"295.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"372.0"
y=
"349.0"
></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow9"
id=
"BPMNEdge_flow9"
>
<omgdi:waypoint
x=
"352.0"
y=
"369.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"231.0"
y=
"369.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"231.0"
y=
"167.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"292.0"
y=
"167.0"
></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"14.0"
width=
"60.0"
x=
"257.0"
y=
"376.0"
></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
\ No newline at end of file
topsun/src/main/resources/config/bpm/topsun/sap/finaCustomer/sapFinaCustomerProc.bpmn
0 → 100644
View file @
f31360da
<?xml version="1.0" encoding="UTF-8"?>
<definitions
xmlns=
"http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:activiti=
"http://activiti.org/bpmn"
xmlns:bpmndi=
"http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:omgdc=
"http://www.omg.org/spec/DD/20100524/DC"
xmlns:omgdi=
"http://www.omg.org/spec/DD/20100524/DI"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
typeLanguage=
"http://www.w3.org/2001/XMLSchema"
expressionLanguage=
"http://www.w3.org/1999/XPath"
targetNamespace=
"http://www.activiti.org/test"
>
<process
id=
"finaCustomerProc"
name=
"财务客户主数据"
isExecutable=
"true"
>
<extensionElements>
<activiti:executionListener
event=
"start"
delegateExpression=
"#{finaCustomerApplication}"
></activiti:executionListener>
<activiti:executionListener
event=
"end"
delegateExpression=
"#{finaCustomerApplication}"
></activiti:executionListener>
</extensionElements>
<startEvent
id=
"startevent1"
name=
"Start"
></startEvent>
<endEvent
id=
"endevent1"
name=
"End"
></endEvent>
<userTask
id=
"Apply"
name=
"财务客户主数据申请"
activiti:formKey=
"finaCustomer/showFinaCustomer.job"
>
<extensionElements>
<activiti:taskListener
event=
"all"
delegateExpression=
"#{finaCustomerApplication}"
></activiti:taskListener>
<activiti:taskListener
event=
"saveBizData"
delegateExpression=
"#{finaCustomerApplication}"
></activiti:taskListener>
</extensionElements>
</userTask>
<userTask
id=
"Approve"
name=
"财务客户主数据审批"
activiti:assignee=
"${assignee} "
activiti:formKey=
"finaCustomer/showFinaCustomer.job"
>
<extensionElements>
<activiti:taskListener
event=
"all"
delegateExpression=
"#{finaCustomerApplication}"
></activiti:taskListener>
<activiti:taskListener
event=
"saveBizData"
delegateExpression=
"#{finaCustomerApplication}"
></activiti:taskListener>
</extensionElements>
<multiInstanceLoopCharacteristics
isSequential=
"false"
activiti:collection=
"handlerList"
activiti:elementVariable=
"assignee"
>
<completionCondition>
${chiefApprovePassed}
</completionCondition>
</multiInstanceLoopCharacteristics>
</userTask>
<sequenceFlow
id=
"flow1"
sourceRef=
"startevent1"
targetRef=
"Apply"
></sequenceFlow>
<sequenceFlow
id=
"flow2"
sourceRef=
"Apply"
targetRef=
"Approve"
></sequenceFlow>
<exclusiveGateway
id=
"ApproveFinished"
name=
"审批结束"
></exclusiveGateway>
<sequenceFlow
id=
"flow3"
name=
"审批通过"
sourceRef=
"ApprovePassed"
targetRef=
"ApproveFinished"
>
<conditionExpression
xsi:type=
"tFormalExpression"
>
<![CDATA[${approvePassed}]]>
</conditionExpression>
</sequenceFlow>
<sequenceFlow
id=
"flow4"
name=
"审批结束"
sourceRef=
"ApproveFinished"
targetRef=
"endevent1"
>
<conditionExpression
xsi:type=
"tFormalExpression"
>
<![CDATA[${approveFinished}]]>
</conditionExpression>
</sequenceFlow>
<sequenceFlow
id=
"flow5"
name=
"审批未结束"
sourceRef=
"ApproveFinished"
targetRef=
"Approve"
>
<conditionExpression
xsi:type=
"tFormalExpression"
>
<![CDATA[${!approveFinished}]]>
</conditionExpression>
</sequenceFlow>
<exclusiveGateway
id=
"ApprovePassed"
name=
"审批通过"
></exclusiveGateway>
<sequenceFlow
id=
"flow6"
sourceRef=
"Approve"
targetRef=
"ApprovePassed"
></sequenceFlow>
<sequenceFlow
id=
"flow9"
name=
"审批未通过"
sourceRef=
"ApprovePassed"
targetRef=
"Apply"
>
<conditionExpression
xsi:type=
"tFormalExpression"
>
<![CDATA[${!approvePassed}]]>
</conditionExpression>
</sequenceFlow>
</process>
<bpmndi:BPMNDiagram
id=
"BPMNDiagram_finaCustomerProc"
>
<bpmndi:BPMNPlane
bpmnElement=
"finaCustomerProc"
id=
"BPMNPlane_finaCustomerProc"
>
<bpmndi:BPMNShape
bpmnElement=
"startevent1"
id=
"BPMNShape_startevent1"
>
<omgdc:Bounds
height=
"35.0"
width=
"35.0"
x=
"355.0"
y=
"50.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"endevent1"
id=
"BPMNShape_endevent1"
>
<omgdc:Bounds
height=
"35.0"
width=
"35.0"
x=
"355.0"
y=
"550.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"Apply"
id=
"BPMNShape_Apply"
>
<omgdc:Bounds
height=
"55.0"
width=
"161.0"
x=
"292.0"
y=
"140.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"Approve"
id=
"BPMNShape_Approve"
>
<omgdc:Bounds
height=
"55.0"
width=
"161.0"
x=
"292.0"
y=
"240.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"ApproveFinished"
id=
"BPMNShape_ApproveFinished"
>
<omgdc:Bounds
height=
"40.0"
width=
"40.0"
x=
"352.0"
y=
"440.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"ApprovePassed"
id=
"BPMNShape_ApprovePassed"
>
<omgdc:Bounds
height=
"40.0"
width=
"40.0"
x=
"352.0"
y=
"349.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge
bpmnElement=
"flow1"
id=
"BPMNEdge_flow1"
>
<omgdi:waypoint
x=
"372.0"
y=
"85.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"372.0"
y=
"140.0"
></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow2"
id=
"BPMNEdge_flow2"
>
<omgdi:waypoint
x=
"372.0"
y=
"195.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"372.0"
y=
"240.0"
></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow3"
id=
"BPMNEdge_flow3"
>
<omgdi:waypoint
x=
"372.0"
y=
"389.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"372.0"
y=
"440.0"
></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"14.0"
width=
"48.0"
x=
"320.0"
y=
"396.0"
></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow4"
id=
"BPMNEdge_flow4"
>
<omgdi:waypoint
x=
"372.0"
y=
"480.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"372.0"
y=
"550.0"
></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"14.0"
width=
"48.0"
x=
"382.0"
y=
"489.0"
></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow5"
id=
"BPMNEdge_flow5"
>
<omgdi:waypoint
x=
"392.0"
y=
"460.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"519.0"
y=
"459.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"519.0"
y=
"317.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"519.0"
y=
"267.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"489.0"
y=
"267.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"453.0"
y=
"267.0"
></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"14.0"
width=
"60.0"
x=
"459.0"
y=
"411.0"
></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow6"
id=
"BPMNEdge_flow6"
>
<omgdi:waypoint
x=
"372.0"
y=
"295.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"372.0"
y=
"349.0"
></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow9"
id=
"BPMNEdge_flow9"
>
<omgdi:waypoint
x=
"352.0"
y=
"369.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"231.0"
y=
"369.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"231.0"
y=
"167.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"292.0"
y=
"167.0"
></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds
height=
"14.0"
width=
"60.0"
x=
"257.0"
y=
"376.0"
></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
\ No newline at end of file
topsun/src/main/resources/config/topsun/sap/finaCustomer/finaCustomer.xml
0 → 100644
View file @
f31360da
<?xml version="1.0" encoding="UTF-8" ?>
<query-mappings>
<query
name=
"slicedFinaCustomerQuery"
table=
"sap_fina_customer_info"
>
<sql-query>
select t.* from sap_fina_customer_info t
where 1=1
</sql-query>
<!-- <condition column="stats_indicators_id" name="statsIndicatorsId" type="java.lang.String" symbol="=" alias="t"/>-->
</query>
<query
name=
"findDeletedByBuPartner"
label=
"查询是否存在删除的数据"
table=
"sap_fina_customer_info"
>
<sql-query>
select t.* from sap_fina_customer_info t
where 1=1 and apply_type='-1' and status in (1,3) and bu_partner=:buPartner
</sql-query>
</query>
<query
name=
"slicedFinaCustomerPayList"
label=
"付款明细数据"
table=
"sap_fina_customer_pay"
>
<sql-query>
select t.*
from sap_fina_customer_pay t
</sql-query>
<condition
column=
"s_id"
name=
"sId"
type=
"java.lang.String"
symbol=
"="
alias=
"t"
/>
</query>
<query
name=
"slicedFinaCustomerBankList"
label=
"银行明细"
table=
"sap_fina_customer_bank"
>
<sql-query>
select t.*
from sap_fina_customer_bank t
</sql-query>
<condition
column=
"s_id"
name=
"sId"
type=
"java.lang.String"
symbol=
"="
alias=
"t"
/>
</query>
<query
name=
"countBuPartner"
table=
"sap_fina_customer_info"
>
<sql-query>
select DISTINCT t.bu_partner from sap_fina_customer_info t ORDER BY t.bu_partner desc limit 1
</sql-query>
</query>
</query-mappings>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment