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
657d3d27
Commit
657d3d27
authored
Mar 20, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户订单取消变更补充
parent
50d46772
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
epSaleOrderDetail.jsp
...in/webapp/biz/topsun/ep/epSaleOrder/epSaleOrderDetail.jsp
+1
-1
epSaleOrderList.js
.../main/webapp/biz/topsun/ep/epSaleOrder/epSaleOrderList.js
+1
-0
EpSaleOrderApplicationImpl.java
...ep/order/application/impl/EpSaleOrderApplicationImpl.java
+9
-4
No files found.
topsun-xt/src/main/webapp/biz/topsun/ep/epSaleOrder/epSaleOrderDetail.jsp
View file @
657d3d27
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<x:hidden
name=
"personMemberName"
/>
<x:hidden
name=
"personMemberName"
/>
<x:hidden
name=
"orderType"
/>
<x:hidden
name=
"orderType"
/>
<x:hidden
name=
"orderTypeName"
/>
<x:hidden
name=
"orderTypeName"
/>
<x:hidden
name=
"status"
/>
<x:hidden
name=
"status
Id
"
/>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-row"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"telPhoneLong"
required=
"true"
label=
"联系电话长号"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"2"
/>
<x:inputC
name=
"telPhoneLong"
required=
"true"
label=
"联系电话长号"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"2"
/>
...
...
topsun-xt/src/main/webapp/biz/topsun/ep/epSaleOrder/epSaleOrderList.js
View file @
657d3d27
...
@@ -21,6 +21,7 @@ function loadGrid() {
...
@@ -21,6 +21,7 @@ function loadGrid() {
{
display
:
"联系电话长号"
,
name
:
"telPhoneLong"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"联系电话长号"
,
name
:
"telPhoneLong"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"联系电话短号"
,
name
:
"telPhoneShort"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"联系电话短号"
,
name
:
"telPhoneShort"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"售达方"
,
name
:
"kunnr"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"售达方"
,
name
:
"kunnr"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"审批状态"
,
name
:
"statusTextView"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"状态码"
,
name
:
"code"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"状态码"
,
name
:
"code"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"消息"
,
name
:
"msg"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"消息"
,
name
:
"msg"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
],
],
...
...
topsun/src/main/java/com/huigou/topsun/ep/order/application/impl/EpSaleOrderApplicationImpl.java
View file @
657d3d27
...
@@ -88,7 +88,7 @@ public class EpSaleOrderApplicationImpl extends FlowBroker implements EpSaleOrde
...
@@ -88,7 +88,7 @@ public class EpSaleOrderApplicationImpl extends FlowBroker implements EpSaleOrde
EpSaleOrder
epSaleOrder
=
epSaleOrderRepository
.
findOne
(
bizId
);
EpSaleOrder
epSaleOrder
=
epSaleOrderRepository
.
findOne
(
bizId
);
epSaleOrder
.
setStatusId
(
status
.
getId
());
epSaleOrder
.
setStatusId
(
status
.
getId
());
epSaleOrderRepository
.
save
(
epSaleOrder
);
epSaleOrderRepository
.
save
(
epSaleOrder
);
this
.
feedBackSaleOrder
(
epSaleOrder
);
this
.
feedBackSaleOrder
(
epSaleOrder
,
"1"
);
}
}
@Override
@Override
...
@@ -106,12 +106,16 @@ public class EpSaleOrderApplicationImpl extends FlowBroker implements EpSaleOrde
...
@@ -106,12 +106,16 @@ public class EpSaleOrderApplicationImpl extends FlowBroker implements EpSaleOrde
*/
*/
@Override
@Override
protected
void
onBack
(
DelegateTask
delegateTask
,
String
destActivityId
)
{
protected
void
onBack
(
DelegateTask
delegateTask
,
String
destActivityId
)
{
super
.
onBack
(
delegateTask
,
destActivityId
);
//
super.onBack(delegateTask, destActivityId);
if
(
"Apply"
.
equalsIgnoreCase
(
destActivityId
))
{
if
(
"Apply"
.
equalsIgnoreCase
(
destActivityId
))
{
String
bizId
=
delegateTask
.
getExecution
().
getProcessBusinessKey
();
String
bizId
=
delegateTask
.
getExecution
().
getProcessBusinessKey
();
EpSaleOrder
epSaleOrder
=
epSaleOrderRepository
.
findOne
(
bizId
);
EpSaleOrder
epSaleOrder
=
epSaleOrderRepository
.
findOne
(
bizId
);
epSaleOrder
.
setStatusId
(
BizBillStatus
.
APPLYING
.
getId
());
epSaleOrder
.
setStatusId
(
BizBillStatus
.
APPLYING
.
getId
());
epSaleOrderRepository
.
save
(
epSaleOrder
);
epSaleOrderRepository
.
save
(
epSaleOrder
);
//回退后终止流程
DelegateExecution
execution
=
delegateTask
.
getExecution
();
this
.
onAbortProcessInstance
(
execution
);
this
.
feedBackSaleOrder
(
epSaleOrder
,
"0"
);
}
}
}
}
...
@@ -142,6 +146,7 @@ public class EpSaleOrderApplicationImpl extends FlowBroker implements EpSaleOrde
...
@@ -142,6 +146,7 @@ public class EpSaleOrderApplicationImpl extends FlowBroker implements EpSaleOrde
public
Map
<
String
,
Object
>
slicedEpSaleOrderList
(
EpSaleOrderQueryRequest
queryRequest
)
{
public
Map
<
String
,
Object
>
slicedEpSaleOrderList
(
EpSaleOrderQueryRequest
queryRequest
)
{
QueryDescriptor
queryDescriptor
=
this
.
sqlExecutorDao
.
getQuery
(
QUERY_XML_FILE_PATH
,
"epSaleOrder"
);
QueryDescriptor
queryDescriptor
=
this
.
sqlExecutorDao
.
getQuery
(
QUERY_XML_FILE_PATH
,
"epSaleOrder"
);
QueryModel
queryModel
=
this
.
sqlExecutorDao
.
getQueryModel
(
queryDescriptor
,
queryRequest
);
QueryModel
queryModel
=
this
.
sqlExecutorDao
.
getQueryModel
(
queryDescriptor
,
queryRequest
);
queryModel
.
putDictionary
(
"status"
,
BizBillStatus
.
getMap
());
Map
<
String
,
Object
>
map
=
this
.
sqlExecutorDao
.
executeSlicedQuery
(
queryModel
);
Map
<
String
,
Object
>
map
=
this
.
sqlExecutorDao
.
executeSlicedQuery
(
queryModel
);
return
map
;
return
map
;
}
}
...
@@ -204,10 +209,10 @@ public class EpSaleOrderApplicationImpl extends FlowBroker implements EpSaleOrde
...
@@ -204,10 +209,10 @@ public class EpSaleOrderApplicationImpl extends FlowBroker implements EpSaleOrde
return
localSdo
;
return
localSdo
;
}
}
public
void
feedBackSaleOrder
(
EpSaleOrder
epSaleOrder
){
public
void
feedBackSaleOrder
(
EpSaleOrder
epSaleOrder
,
String
state
){
List
<
EpSaleOrderItem
>
orderItemList
=
epSaleOrderItemApplication
.
findByEpSaleOrderId
(
epSaleOrder
.
getId
());
List
<
EpSaleOrderItem
>
orderItemList
=
epSaleOrderItemApplication
.
findByEpSaleOrderId
(
epSaleOrder
.
getId
());
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"state"
,
1
);
map
.
put
(
"state"
,
state
);
Set
<
String
>
saleOrderNos
=
new
HashSet
<>();
Set
<
String
>
saleOrderNos
=
new
HashSet
<>();
for
(
EpSaleOrderItem
epSaleOrderItem
:
orderItemList
)
{
for
(
EpSaleOrderItem
epSaleOrderItem
:
orderItemList
)
{
saleOrderNos
.
add
(
epSaleOrderItem
.
getVbeln
());
saleOrderNos
.
add
(
epSaleOrderItem
.
getVbeln
());
...
...
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