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
b74afe48
Commit
b74afe48
authored
Jul 22, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
列表返回分组名称
parent
72fd1aac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
19 deletions
+30
-19
HmQrcodeListDTO.java
...ava/com/gic/haoban/manage/api/dto/hm/HmQrcodeListDTO.java
+9
-0
HmQrcodeController.java
...c/haoban/manage/web/controller/hm/HmQrcodeController.java
+21
-19
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/hm/HmQrcodeListDTO.java
View file @
b74afe48
...
@@ -79,6 +79,7 @@ public class HmQrcodeListDTO implements Serializable {
...
@@ -79,6 +79,7 @@ public class HmQrcodeListDTO implements Serializable {
* 活码分组
* 活码分组
*/
*/
private
Long
hmGroupId
;
private
Long
hmGroupId
;
private
String
hmGroupName
;
/**
/**
* 新增总人数
* 新增总人数
*/
*/
...
@@ -319,4 +320,12 @@ public class HmQrcodeListDTO implements Serializable {
...
@@ -319,4 +320,12 @@ public class HmQrcodeListDTO implements Serializable {
public
void
setStoreList
(
List
<
HmStoreDTO
>
storeList
)
{
public
void
setStoreList
(
List
<
HmStoreDTO
>
storeList
)
{
this
.
storeList
=
storeList
;
this
.
storeList
=
storeList
;
}
}
public
String
getHmGroupName
()
{
return
hmGroupName
;
}
public
void
setHmGroupName
(
String
hmGroupName
)
{
this
.
hmGroupName
=
hmGroupName
;
}
}
}
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/hm/HmQrcodeController.java
View file @
b74afe48
package
com
.
gic
.
haoban
.
manage
.
web
.
controller
.
hm
;
package
com
.
gic
.
haoban
.
manage
.
web
.
controller
.
hm
;
import
java.util.ArrayList
;
import
cn.hutool.core.convert.Convert
;
import
java.util.List
;
import
java.util.Map
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.logging.log4j.LogManager
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.gic.api.base.commons.BasePageInfo
;
import
com.gic.api.base.commons.BasePageInfo
;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.Page
;
...
@@ -21,18 +10,14 @@ import com.gic.commons.webapi.reponse.RestResponse;
...
@@ -21,18 +10,14 @@ import com.gic.commons.webapi.reponse.RestResponse;
import
com.gic.haoban.base.api.common.pojo.dto.WebLoginDTO
;
import
com.gic.haoban.base.api.common.pojo.dto.WebLoginDTO
;
import
com.gic.haoban.common.utils.AuthWebRequestUtil
;
import
com.gic.haoban.common.utils.AuthWebRequestUtil
;
import
com.gic.haoban.manage.api.constants.StatisticsApolloKeyConstant
;
import
com.gic.haoban.manage.api.constants.StatisticsApolloKeyConstant
;
import
com.gic.haoban.manage.api.dto.hm.HmClerkDTO
;
import
com.gic.haoban.manage.api.dto.hm.*
;
import
com.gic.haoban.manage.api.dto.hm.HmClerkRelationDTO
;
import
com.gic.haoban.manage.api.dto.hm.HmQrcodeDTO
;
import
com.gic.haoban.manage.api.dto.hm.HmQrcodeListDTO
;
import
com.gic.haoban.manage.api.dto.hm.HmStoreDTO
;
import
com.gic.haoban.manage.api.dto.hm.WxUserAddLogDTO
;
import
com.gic.haoban.manage.api.dto.qdto.hm.HmQrcodeListQDTO
;
import
com.gic.haoban.manage.api.dto.qdto.hm.HmQrcodeListQDTO
;
import
com.gic.haoban.manage.api.dto.qdto.hm.HmQrcodeQDTO
;
import
com.gic.haoban.manage.api.dto.qdto.hm.HmQrcodeQDTO
;
import
com.gic.haoban.manage.api.dto.qdto.hm.WxUserAddLogSearchQDTO
;
import
com.gic.haoban.manage.api.dto.qdto.hm.WxUserAddLogSearchQDTO
;
import
com.gic.haoban.manage.api.dto.statistics.StatisticsDTO
;
import
com.gic.haoban.manage.api.dto.statistics.StatisticsDTO
;
import
com.gic.haoban.manage.api.service.StaffApiService
;
import
com.gic.haoban.manage.api.service.StaffApiService
;
import
com.gic.haoban.manage.api.service.StaffClerkRelationApiService
;
import
com.gic.haoban.manage.api.service.StaffClerkRelationApiService
;
import
com.gic.haoban.manage.api.service.hm.HmGroupApiService
;
import
com.gic.haoban.manage.api.service.hm.HmQrcodeApiService
;
import
com.gic.haoban.manage.api.service.hm.HmQrcodeApiService
;
import
com.gic.haoban.manage.api.service.hm.WxUserAddLogApiService
;
import
com.gic.haoban.manage.api.service.hm.WxUserAddLogApiService
;
import
com.gic.haoban.manage.api.util.DataHttpUtil
;
import
com.gic.haoban.manage.api.util.DataHttpUtil
;
...
@@ -45,8 +30,17 @@ import com.gic.haoban.manage.web.qo.hm.data.HmQrcodeListQO;
...
@@ -45,8 +30,17 @@ import com.gic.haoban.manage.web.qo.hm.data.HmQrcodeListQO;
import
com.gic.haoban.manage.web.qo.hm.data.HmTrendQO
;
import
com.gic.haoban.manage.web.qo.hm.data.HmTrendQO
;
import
com.gic.haoban.manage.web.vo.hm.HmDetailClerkListVO
;
import
com.gic.haoban.manage.web.vo.hm.HmDetailClerkListVO
;
import
com.gic.haoban.manage.web.vo.hm.HmTrendVO
;
import
com.gic.haoban.manage.web.vo.hm.HmTrendVO
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.logging.log4j.LogManager
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.hutool.core.convert.Convert
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* 活码(TabHaobanHmQrcode)表控制层
* 活码(TabHaobanHmQrcode)表控制层
...
@@ -68,6 +62,8 @@ public class HmQrcodeController {
...
@@ -68,6 +62,8 @@ public class HmQrcodeController {
private
WxUserAddLogApiService
wxUserAddLogApiService
;
private
WxUserAddLogApiService
wxUserAddLogApiService
;
@Autowired
@Autowired
private
StaffClerkRelationApiService
staffClerkRelationApiService
;
private
StaffClerkRelationApiService
staffClerkRelationApiService
;
@Autowired
private
HmGroupApiService
hmGroupApiService
;
/**
/**
* 新增
* 新增
...
@@ -201,6 +197,12 @@ public class HmQrcodeController {
...
@@ -201,6 +197,12 @@ public class HmQrcodeController {
}
}
}
}
}
}
ServiceResponse
<
HmGroupDTO
>
hmGroupDTOServiceResponse
=
hmGroupApiService
.
queryGroupDetail
(
hmQrcodeListDTO
.
getHmGroupId
());
HmGroupDTO
hmGroupDTO
=
hmGroupDTOServiceResponse
.
getResult
();
if
(
hmGroupDTO
!=
null
)
{
hmQrcodeListDTO
.
setHmGroupName
(
hmGroupDTO
.
getGroupName
());
}
hmQrcodeListDTO
.
setClerkList
(
clerkDTOList
);
hmQrcodeListDTO
.
setClerkList
(
clerkDTOList
);
hmQrcodeListDTO
.
setStoreList
(
storeDTOList
);
hmQrcodeListDTO
.
setStoreList
(
storeDTOList
);
}
}
...
...
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