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
3ba6b2e8
Commit
3ba6b2e8
authored
Mar 30, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
列表页bug修复
parent
5eec89d8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
0 deletions
+17
-0
LicenceOrderPageQDTO.java
...ban/manage/api/dto/qdto/licence/LicenceOrderPageQDTO.java
+12
-0
LicenceOrderController.java
.../haoban/manage/web/controller/LicenceOrderController.java
+1
-0
TabHaobanLicenceOrderMapper.xml
.../resources/mapper/licence/TabHaobanLicenceOrderMapper.xml
+3
-0
LicenceOrderController.java
...manage/web/controller/licence/LicenceOrderController.java
+1
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/qdto/licence/LicenceOrderPageQDTO.java
View file @
3ba6b2e8
...
@@ -70,6 +70,18 @@ public class LicenceOrderPageQDTO extends BasePageInfo implements Serializable
...
@@ -70,6 +70,18 @@ public class LicenceOrderPageQDTO extends BasePageInfo implements Serializable
* 微信订单id
* 微信订单id
*/
*/
private
String
wxOrderId
;
private
String
wxOrderId
;
/**
* 1 好办后台 0 运维后台
*/
private
Integer
type
;
public
Integer
getType
()
{
return
type
;
}
public
void
setType
(
Integer
type
)
{
this
.
type
=
type
;
}
public
String
getWxOrderId
()
{
public
String
getWxOrderId
()
{
return
wxOrderId
;
return
wxOrderId
;
...
...
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/LicenceOrderController.java
View file @
3ba6b2e8
...
@@ -70,6 +70,7 @@ public class LicenceOrderController {
...
@@ -70,6 +70,7 @@ public class LicenceOrderController {
@RequestMapping
(
"licence-order-page"
)
@RequestMapping
(
"licence-order-page"
)
public
RestResponse
<
Page
<
LicenceOrderPageVO
>>
getLicenceOrderPage
(
@RequestBody
LicenceOrderPageQO
licenceOrderPageQO
)
{
public
RestResponse
<
Page
<
LicenceOrderPageVO
>>
getLicenceOrderPage
(
@RequestBody
LicenceOrderPageQO
licenceOrderPageQO
)
{
LicenceOrderPageQDTO
qdto
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
licenceOrderPageQO
),
LicenceOrderPageQDTO
.
class
);
LicenceOrderPageQDTO
qdto
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
licenceOrderPageQO
),
LicenceOrderPageQDTO
.
class
);
qdto
.
setType
(
0
);
ServiceResponse
<
Page
<
LicenceOrderPageDTO
>>
licenceOrderPage
=
licenceOrderApiService
.
getLicenceOrderPage
(
qdto
);
ServiceResponse
<
Page
<
LicenceOrderPageDTO
>>
licenceOrderPage
=
licenceOrderApiService
.
getLicenceOrderPage
(
qdto
);
Page
<
LicenceOrderPageVO
>
result
=
PageHelperUtils
.
changePageToCurrentPage
(
licenceOrderPage
.
getResult
(),
LicenceOrderPageVO
.
class
);
Page
<
LicenceOrderPageVO
>
result
=
PageHelperUtils
.
changePageToCurrentPage
(
licenceOrderPage
.
getResult
(),
LicenceOrderPageVO
.
class
);
if
(
CollUtil
.
isNotEmpty
(
result
.
getResult
()))
{
if
(
CollUtil
.
isNotEmpty
(
result
.
getResult
()))
{
...
...
haoban-manage3-service/src/main/resources/mapper/licence/TabHaobanLicenceOrderMapper.xml
View file @
3ba6b2e8
...
@@ -240,6 +240,9 @@
...
@@ -240,6 +240,9 @@
<if
test=
"wxOrderId != null and wxOrderId !='' "
>
<if
test=
"wxOrderId != null and wxOrderId !='' "
>
and wx_order_id=#{wxOrderId}
and wx_order_id=#{wxOrderId}
</if>
</if>
<if
test=
"type != null and type ==1 "
>
and wx_enterprise_id = #{wxEnterpriseId}
</if>
order by create_time desc
order by create_time desc
</select>
</select>
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/licence/LicenceOrderController.java
View file @
3ba6b2e8
...
@@ -148,6 +148,7 @@ public class LicenceOrderController {
...
@@ -148,6 +148,7 @@ public class LicenceOrderController {
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setCreatorName
(
clerkName
);
qdto
.
setCreatorName
(
clerkName
);
qdto
.
setType
(
1
);
ServiceResponse
<
Page
<
LicenceOrderPageDTO
>>
licenceOrderPage
=
licenceOrderApiService
.
getLicenceOrderPage
(
qdto
);
ServiceResponse
<
Page
<
LicenceOrderPageDTO
>>
licenceOrderPage
=
licenceOrderApiService
.
getLicenceOrderPage
(
qdto
);
Page
<
LicenceOrderPageVO
>
result
=
PageHelperUtils
.
changePageToCurrentPage
(
licenceOrderPage
.
getResult
(),
LicenceOrderPageVO
.
class
);
Page
<
LicenceOrderPageVO
>
result
=
PageHelperUtils
.
changePageToCurrentPage
(
licenceOrderPage
.
getResult
(),
LicenceOrderPageVO
.
class
);
return
RestResponse
.
successResult
(
result
);
return
RestResponse
.
successResult
(
result
);
...
...
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