Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
haoban3.0
haoban-manage3.0
Commits
6adc4703
Commit
6adc4703
authored
Mar 20, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业微信接口开发
parent
4699ee19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
13 deletions
+16
-13
LicenceOrderServiceImpl.java
...service/service/licence/impl/LicenceOrderServiceImpl.java
+12
-9
LicenceOrderQO.java
.../com/gic/haoban/manage/web/qo/licence/LicenceOrderQO.java
+4
-4
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/licence/impl/LicenceOrderServiceImpl.java
View file @
6adc4703
...
...
@@ -58,18 +58,21 @@ public class LicenceOrderServiceImpl implements LicenceOrderService {
order
.
setExpireTime
(
expireTime
);
tabHaobanLicenceOrderMapper
.
insert
(
order
);
//记录订单进度
TabHaobanLicenceOrderProgress
orderProgress
=
new
TabHaobanLicenceOrderProgress
();
orderProgress
.
setId
(
UniqueIdUtils
.
uniqueLong
());
orderProgress
.
setEnterpriseId
(
licenceOrderQDTO
.
getEnterpriseId
());
orderProgress
.
setWxEnterpriseId
(
licenceOrderQDTO
.
getWxEnterpriseId
());
orderProgress
.
setOrderId
(
orderId
);
orderProgress
.
setOrderStatus
(
"创建订单"
);
orderProgress
.
setType
(
1
);
orderProgress
.
setCreatorName
(
licenceOrderQDTO
.
getCreatorName
());
tabHaobanLicenceOrderProgressMapper
.
insert
(
orderProgress
);
saveOrderProgress
(
orderId
,
"创建订单"
,
licenceOrderQDTO
.
getEnterpriseId
(),
licenceOrderQDTO
.
getWxEnterpriseId
(),
licenceOrderQDTO
.
getCreatorName
());
}
}
private
void
saveOrderProgress
(
Long
orderId
,
String
orderStatus
,
String
enterpriseId
,
String
wxEnterpriseId
,
String
creatorName
){
TabHaobanLicenceOrderProgress
orderProgress
=
new
TabHaobanLicenceOrderProgress
();
orderProgress
.
setId
(
UniqueIdUtils
.
uniqueLong
());
orderProgress
.
setEnterpriseId
(
enterpriseId
);
orderProgress
.
setWxEnterpriseId
(
wxEnterpriseId
);
orderProgress
.
setOrderId
(
orderId
);
orderProgress
.
setOrderStatus
(
orderStatus
);
orderProgress
.
setType
(
1
);
orderProgress
.
setCreatorName
(
creatorName
);
tabHaobanLicenceOrderProgressMapper
.
insert
(
orderProgress
);
}
@Override
public
Boolean
updateLicenceOrderType
(
Long
orderId
,
Integer
type
)
{
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/qo/licence/LicenceOrderQO.java
View file @
6adc4703
...
...
@@ -28,10 +28,10 @@ public class LicenceOrderQO implements Serializable {
*/
private
Integer
externalContactCount
;
/**
* 基础帐号个数
*/
private
Integer
baseCount
;
//
/**
//
* 基础帐号个数
//
*/
//
private Integer baseCount;
/**
* 订单金额,单位分
...
...
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