Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
promotion-service
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
promotion
promotion-service
Commits
c94bf431
提交
c94bf431
authored
1月 09, 2026
作者:
窦馨雨
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'dxy' 到 'qa'
cp稽核接口改造:新增稽核查询接口信息 查看合并请求
!54
上级
7309b127
399d6cf7
显示空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
165 行增加
和
11 行删除
+165
-11
ExaPlanQueryController.java
...n/controller/activity/examine/ExaPlanQueryController.java
+7
-1
TemporaryInfoQueryController.java
...ion/controller/user/tem/TemporaryInfoQueryController.java
+16
-4
ActivityPlanInfoDao.java
...motion/domain/activityplanv2/dao/ActivityPlanInfoDao.java
+11
-0
ActivityPlanInfoDaoImpl.java
...main/activityplanv2/dao/impl/ActivityPlanInfoDaoImpl.java
+30
-3
TemporaryInfoDO.java
.../promotion/domain/user/mapper/entity/TemporaryInfoDO.java
+9
-0
WxTemporaryInfoDto.java
...angxiaolu/promotion/pojo/user/dto/WxTemporaryInfoDto.java
+8
-0
TemporaryRegisterVo.java
...angxiaolu/promotion/pojo/user/vo/TemporaryRegisterVo.java
+35
-0
WxTemporaryEnrollVo.java
...angxiaolu/promotion/pojo/user/vo/WxTemporaryEnrollVo.java
+11
-0
ExaPlanQueryService.java
...omotion/service/activity/examine/ExaPlanQueryService.java
+5
-0
ExaPlanQueryServiceImpl.java
...ervice/activity/examine/impl/ExaPlanQueryServiceImpl.java
+16
-0
WeChatUserQueryService.java
...aolu/promotion/service/wechat/WeChatUserQueryService.java
+6
-0
WeChatUserQueryServiceImpl.java
...otion/service/wechat/impl/WeChatUserQueryServiceImpl.java
+11
-3
没有找到文件。
src/main/java/com/wangxiaolu/promotion/controller/activity/examine/ExaPlanQueryController.java
浏览文件 @
c94bf431
...
@@ -2,6 +2,7 @@ package com.wangxiaolu.promotion.controller.activity.examine;
...
@@ -2,6 +2,7 @@ package com.wangxiaolu.promotion.controller.activity.examine;
import
com.wangxiaolu.promotion.pojo.PageInfo
;
import
com.wangxiaolu.promotion.pojo.PageInfo
;
import
com.wangxiaolu.promotion.pojo.activity.examine.dto.ActivityExamineDto
;
import
com.wangxiaolu.promotion.pojo.activity.examine.dto.ActivityExamineDto
;
import
com.wangxiaolu.promotion.pojo.activity.inspectionInfo.dto.InspectionInfoDto
;
import
com.wangxiaolu.promotion.result.basedata.R
;
import
com.wangxiaolu.promotion.result.basedata.R
;
import
com.wangxiaolu.promotion.service.activity.examine.ExaPlanQueryService
;
import
com.wangxiaolu.promotion.service.activity.examine.ExaPlanQueryService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -21,15 +22,20 @@ public class ExaPlanQueryController {
...
@@ -21,15 +22,20 @@ public class ExaPlanQueryController {
@Autowired
@Autowired
private
ExaPlanQueryService
exaPlanQueryService
;
private
ExaPlanQueryService
exaPlanQueryService
;
@GetMapping
(
"/{id}"
)
@GetMapping
(
"/{id}"
)
public
R
selectById
(
@PathVariable
@PathParam
(
"id"
)
Long
id
)
{
public
R
selectById
(
@PathVariable
@PathParam
(
"id"
)
Long
id
)
{
ActivityExamineDto
examineDto
=
exaPlanQueryService
.
selectById
(
id
);
ActivityExamineDto
examineDto
=
exaPlanQueryService
.
selectById
(
id
);
if
(
examineDto
!=
null
)
{
return
R
.
success
(
examineDto
);
return
R
.
success
(
examineDto
);
}
}
InspectionInfoDto
inspectionInfoDto
=
exaPlanQueryService
.
selectNewByID
(
id
);
return
R
.
success
(
inspectionInfoDto
);
}
@PostMapping
(
"/page"
)
@PostMapping
(
"/page"
)
public
R
page
(
@RequestBody
PageInfo
pageInfo
){
public
R
page
(
@RequestBody
PageInfo
pageInfo
){
exaPlanQueryService
.
page
(
pageInfo
);
exaPlanQueryService
.
page
V2
(
pageInfo
);
return
R
.
success
(
pageInfo
);
return
R
.
success
(
pageInfo
);
}
}
...
...
src/main/java/com/wangxiaolu/promotion/controller/user/tem/TemporaryInfoQueryController.java
浏览文件 @
c94bf431
...
@@ -4,6 +4,7 @@ import com.wangxiaolu.promotion.common.redis.service.RedisCache;
...
@@ -4,6 +4,7 @@ import com.wangxiaolu.promotion.common.redis.service.RedisCache;
import
com.wangxiaolu.promotion.common.util.DataUtils
;
import
com.wangxiaolu.promotion.common.util.DataUtils
;
import
com.wangxiaolu.promotion.exception.ParamException
;
import
com.wangxiaolu.promotion.exception.ParamException
;
import
com.wangxiaolu.promotion.pojo.user.vo.LoginVo
;
import
com.wangxiaolu.promotion.pojo.user.vo.LoginVo
;
import
com.wangxiaolu.promotion.pojo.user.vo.TemporaryRegisterVo
;
import
com.wangxiaolu.promotion.pojo.user.vo.WxTemporaryLoginVo
;
import
com.wangxiaolu.promotion.pojo.user.vo.WxTemporaryLoginVo
;
import
com.wangxiaolu.promotion.result.basedata.R
;
import
com.wangxiaolu.promotion.result.basedata.R
;
import
com.wangxiaolu.promotion.result.basedata.RCode
;
import
com.wangxiaolu.promotion.result.basedata.RCode
;
...
@@ -11,10 +12,8 @@ import com.wangxiaolu.promotion.service.wechat.WeChatUserQueryService;
...
@@ -11,10 +12,8 @@ import com.wangxiaolu.promotion.service.wechat.WeChatUserQueryService;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.data.repository.query.Param
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
/**
* @author : liqiulin
* @author : liqiulin
...
@@ -57,6 +56,7 @@ public class TemporaryInfoQueryController {
...
@@ -57,6 +56,7 @@ public class TemporaryInfoQueryController {
}
}
/**
/**
* 促销员信息查询
* 促销员信息查询
*/
*/
...
@@ -70,9 +70,21 @@ public class TemporaryInfoQueryController {
...
@@ -70,9 +70,21 @@ public class TemporaryInfoQueryController {
// return R.success(userJson);
// return R.success(userJson);
// }
// }
/**
* 注册时获取门店列表
* @param temporaryRegisterVo 临时注册信息
* @return 门店列表
*/
@PostMapping
(
"/temporary/findStoreList"
)
public
R
findStoreList
(
@RequestBody
TemporaryRegisterVo
temporaryRegisterVo
)
{
return
R
.
success
(
weChatUserQueryService
.
findStoreList
(
temporaryRegisterVo
));
}
private
void
phontAndOpenIdVerify
(
WxTemporaryLoginVo
wxTemporaryLoginVo
)
{
private
void
phontAndOpenIdVerify
(
WxTemporaryLoginVo
wxTemporaryLoginVo
)
{
if
(
StringUtils
.
isBlank
(
wxTemporaryLoginVo
.
getOpenId
())
||
StringUtils
.
isBlank
(
wxTemporaryLoginVo
.
getPhone
()))
{
if
(
StringUtils
.
isBlank
(
wxTemporaryLoginVo
.
getOpenId
())
||
StringUtils
.
isBlank
(
wxTemporaryLoginVo
.
getPhone
()))
{
throw
new
ParamException
(
RCode
.
LOGIN_PARAM_ERROR
,
null
);
throw
new
ParamException
(
RCode
.
LOGIN_PARAM_ERROR
,
null
);
}
}
}
}
}
}
src/main/java/com/wangxiaolu/promotion/domain/activityplanv2/dao/ActivityPlanInfoDao.java
浏览文件 @
c94bf431
package
com
.
wangxiaolu
.
promotion
.
domain
.
activityplanv2
.
dao
;
package
com
.
wangxiaolu
.
promotion
.
domain
.
activityplanv2
.
dao
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.wangxiaolu.promotion.domain.activityplanv2.mapper.entity.ActivityPlanInfoDo
;
import
com.wangxiaolu.promotion.domain.manage.wrapperQo.ActivityPlanInfoWrapper
;
import
com.wangxiaolu.promotion.domain.manage.wrapperQo.ActivityPlanInfoWrapper
;
import
com.wangxiaolu.promotion.enums.plan.PlanStatus
;
import
com.wangxiaolu.promotion.enums.plan.PlanStatus
;
import
com.wangxiaolu.promotion.pojo.PageInfo
;
import
com.wangxiaolu.promotion.pojo.PageInfo
;
import
com.wangxiaolu.promotion.pojo.activity.planv2.dto.ActivityPlanInfoDto
;
import
com.wangxiaolu.promotion.pojo.activity.planv2.dto.ActivityPlanInfoDto
;
import
com.wangxiaolu.promotion.pojo.user.vo.TemporaryRegisterVo
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* @author : liqiulin
* @author : liqiulin
...
@@ -36,4 +39,12 @@ public interface ActivityPlanInfoDao {
...
@@ -36,4 +39,12 @@ public interface ActivityPlanInfoDao {
void
updatePlanStatus
(
Long
planId
,
PlanStatus
planStatus
);
void
updatePlanStatus
(
Long
planId
,
PlanStatus
planStatus
);
void
updateByIds
(
List
<
Long
>
planIds
,
ActivityPlanInfoDto
planDto
);
void
updateByIds
(
List
<
Long
>
planIds
,
ActivityPlanInfoDto
planDto
);
/**
* 根据位置信息查询当前月份的促销门店
* @param temporaryRegisterVo 查询条件参数
* @return 门店信息列表
*/
List
<
Map
<
String
,
String
>>
findThisMonthStoreListByLocation
(
TemporaryRegisterVo
temporaryRegisterVo
);
}
}
src/main/java/com/wangxiaolu/promotion/domain/activityplanv2/dao/impl/ActivityPlanInfoDaoImpl.java
浏览文件 @
c94bf431
...
@@ -14,6 +14,7 @@ import com.wangxiaolu.promotion.exception.DataException;
...
@@ -14,6 +14,7 @@ import com.wangxiaolu.promotion.exception.DataException;
import
com.wangxiaolu.promotion.exception.FlowException
;
import
com.wangxiaolu.promotion.exception.FlowException
;
import
com.wangxiaolu.promotion.pojo.PageInfo
;
import
com.wangxiaolu.promotion.pojo.PageInfo
;
import
com.wangxiaolu.promotion.pojo.activity.planv2.dto.ActivityPlanInfoDto
;
import
com.wangxiaolu.promotion.pojo.activity.planv2.dto.ActivityPlanInfoDto
;
import
com.wangxiaolu.promotion.pojo.user.vo.TemporaryRegisterVo
;
import
com.wangxiaolu.promotion.result.basedata.RCode
;
import
com.wangxiaolu.promotion.result.basedata.RCode
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.ibatis.exceptions.PersistenceException
;
import
org.apache.ibatis.exceptions.PersistenceException
;
...
@@ -22,9 +23,8 @@ import org.springframework.stereotype.Service;
...
@@ -22,9 +23,8 @@ import org.springframework.stereotype.Service;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
import
java.time.LocalTime
;
import
java.time.LocalTime
;
import
java.util.Date
;
import
java.util.*
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
java.util.Objects
;
/**
/**
* @author : liqiulin
* @author : liqiulin
...
@@ -126,6 +126,33 @@ public class ActivityPlanInfoDaoImpl implements ActivityPlanInfoDao {
...
@@ -126,6 +126,33 @@ public class ActivityPlanInfoDaoImpl implements ActivityPlanInfoDao {
errorMoreDate
(
planIds
);
errorMoreDate
(
planIds
);
activityPlanInfoMapper
.
updateIsDelete
(
planIds
,
operNo
);
activityPlanInfoMapper
.
updateIsDelete
(
planIds
,
operNo
);
}
}
/**
* 根据地理位置信息查询本店本月门店列表
* @param temporaryRegisterVo 查询条件参数
* @return 门店列表
*/
@Override
public
List
<
Map
<
String
,
String
>>
findThisMonthStoreListByLocation
(
TemporaryRegisterVo
temporaryRegisterVo
)
{
LambdaQueryWrapper
<
ActivityPlanInfoDo
>
qw
=
new
LambdaQueryWrapper
<>();
qw
.
likeRight
(
ActivityPlanInfoDo:
:
getDate
,
temporaryRegisterVo
.
getMonth
());
if
(
StringUtils
.
isNotBlank
(
temporaryRegisterVo
.
getProvince
())){
qw
.
eq
(
ActivityPlanInfoDo:
:
getProvince
,
temporaryRegisterVo
.
getProvince
());
}
if
(
StringUtils
.
isNotBlank
(
temporaryRegisterVo
.
getCity
())){
qw
.
eq
(
ActivityPlanInfoDo:
:
getCity
,
temporaryRegisterVo
.
getCity
());
}
List
<
ActivityPlanInfoDo
>
activityPlanInfoDoList
=
activityPlanInfoMapper
.
selectList
(
qw
);
List
<
Map
<
String
,
String
>>
resultList
=
activityPlanInfoDoList
.
stream
().
map
(
activityPlanInfoDo
->
{
Map
<
String
,
String
>
map
=
new
HashMap
<>();
map
.
put
(
"storeCode"
,
activityPlanInfoDo
.
getStoreCode
());
map
.
put
(
"storeName"
,
activityPlanInfoDo
.
getStoreName
());
return
map
;
}).
collect
(
Collectors
.
toList
());
return
resultList
;
}
private
LambdaQueryWrapper
<
ActivityPlanInfoDo
>
buildWrapper
(
ActivityPlanInfoWrapper
wrapper
)
{
private
LambdaQueryWrapper
<
ActivityPlanInfoDo
>
buildWrapper
(
ActivityPlanInfoWrapper
wrapper
)
{
LambdaQueryWrapper
<
ActivityPlanInfoDo
>
qw
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
ActivityPlanInfoDo
>
qw
=
new
LambdaQueryWrapper
<>();
if
(
wrapper
.
rangeDate
()){
if
(
wrapper
.
rangeDate
()){
...
...
src/main/java/com/wangxiaolu/promotion/domain/user/mapper/entity/TemporaryInfoDO.java
浏览文件 @
c94bf431
...
@@ -90,5 +90,14 @@ public class TemporaryInfoDO implements Serializable {
...
@@ -90,5 +90,14 @@ public class TemporaryInfoDO implements Serializable {
private
Date
modifyTime
;
private
Date
modifyTime
;
/**
* 门店编号
*/
private
String
storeCode
;
/**
* 门店名称
*/
private
String
storeName
;
}
}
src/main/java/com/wangxiaolu/promotion/pojo/user/dto/WxTemporaryInfoDto.java
浏览文件 @
c94bf431
...
@@ -82,4 +82,12 @@ public class WxTemporaryInfoDto {
...
@@ -82,4 +82,12 @@ public class WxTemporaryInfoDto {
* 创建时间
* 创建时间
*/
*/
Date
createTime
;
Date
createTime
;
/**
* 所属门店编码
*/
String
storeCode
;
/**
* 所属门店名称
*/
String
storeName
;
}
}
src/main/java/com/wangxiaolu/promotion/pojo/user/vo/TemporaryRegisterVo.java
0 → 100644
浏览文件 @
c94bf431
package
com
.
wangxiaolu
.
promotion
.
pojo
.
user
.
vo
;
import
lombok.Data
;
import
java.time.YearMonth
;
import
java.util.Date
;
/**
* @Author: DouXinYu
* @Date: 2026-01-09 14:06
* @Description: 临时人员注册获取门店下拉列表的参数
*/
@Data
public
class
TemporaryRegisterVo
{
/**
* 当前月份 YYYY-MM
*/
private
YearMonth
month
;
/**
* 省份
*/
private
String
province
;
/**
* 城市
*/
private
String
city
;
/**
* 区
*/
private
String
area
;
}
src/main/java/com/wangxiaolu/promotion/pojo/user/vo/WxTemporaryEnrollVo.java
浏览文件 @
c94bf431
...
@@ -89,6 +89,17 @@ public class WxTemporaryEnrollVo {
...
@@ -89,6 +89,17 @@ public class WxTemporaryEnrollVo {
*/
*/
String
chargerName
;
String
chargerName
;
/**
* 所属门店编码
*/
String
storeCode
;
/**
* 门店名称
*/
String
storeName
;
public
void
validate
()
{
public
void
validate
()
{
if
(
StringUtils
.
isBlank
(
openId
))
{
if
(
StringUtils
.
isBlank
(
openId
))
{
throw
new
ParamException
(
RCode
.
WX_OPENID_PARAM_ERROR
,
null
);
throw
new
ParamException
(
RCode
.
WX_OPENID_PARAM_ERROR
,
null
);
...
...
src/main/java/com/wangxiaolu/promotion/service/activity/examine/ExaPlanQueryService.java
浏览文件 @
c94bf431
...
@@ -2,6 +2,7 @@ package com.wangxiaolu.promotion.service.activity.examine;
...
@@ -2,6 +2,7 @@ package com.wangxiaolu.promotion.service.activity.examine;
import
com.wangxiaolu.promotion.pojo.PageInfo
;
import
com.wangxiaolu.promotion.pojo.PageInfo
;
import
com.wangxiaolu.promotion.pojo.activity.examine.dto.ActivityExamineDto
;
import
com.wangxiaolu.promotion.pojo.activity.examine.dto.ActivityExamineDto
;
import
com.wangxiaolu.promotion.pojo.activity.inspectionInfo.dto.InspectionInfoDto
;
/**
/**
* @author : liqiulin
* @author : liqiulin
...
@@ -14,4 +15,8 @@ public interface ExaPlanQueryService {
...
@@ -14,4 +15,8 @@ public interface ExaPlanQueryService {
ActivityExamineDto
selectByPlanId
(
Long
planId
);
ActivityExamineDto
selectByPlanId
(
Long
planId
);
void
page
(
PageInfo
pageInfo
);
void
page
(
PageInfo
pageInfo
);
InspectionInfoDto
selectNewByID
(
Long
id
);
void
pageV2
(
PageInfo
pageInfo
);
}
}
src/main/java/com/wangxiaolu/promotion/service/activity/examine/impl/ExaPlanQueryServiceImpl.java
浏览文件 @
c94bf431
...
@@ -3,8 +3,11 @@ package com.wangxiaolu.promotion.service.activity.examine.impl;
...
@@ -3,8 +3,11 @@ package com.wangxiaolu.promotion.service.activity.examine.impl;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.wangxiaolu.promotion.domain.examine.dao.ActivityExamineDao
;
import
com.wangxiaolu.promotion.domain.examine.dao.ActivityExamineDao
;
import
com.wangxiaolu.promotion.domain.examine.wrapperQo.ExamineWrapper
;
import
com.wangxiaolu.promotion.domain.examine.wrapperQo.ExamineWrapper
;
import
com.wangxiaolu.promotion.domain.inspection.dao.InspectionInfoDao
;
import
com.wangxiaolu.promotion.domain.inspection.wrapper.InspectionInfoWrapper
;
import
com.wangxiaolu.promotion.pojo.PageInfo
;
import
com.wangxiaolu.promotion.pojo.PageInfo
;
import
com.wangxiaolu.promotion.pojo.activity.examine.dto.ActivityExamineDto
;
import
com.wangxiaolu.promotion.pojo.activity.examine.dto.ActivityExamineDto
;
import
com.wangxiaolu.promotion.pojo.activity.inspectionInfo.dto.InspectionInfoDto
;
import
com.wangxiaolu.promotion.service.activity.examine.ExaPlanQueryService
;
import
com.wangxiaolu.promotion.service.activity.examine.ExaPlanQueryService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -20,6 +23,9 @@ public class ExaPlanQueryServiceImpl implements ExaPlanQueryService {
...
@@ -20,6 +23,9 @@ public class ExaPlanQueryServiceImpl implements ExaPlanQueryService {
@Autowired
@Autowired
private
ActivityExamineDao
activityExamineDao
;
private
ActivityExamineDao
activityExamineDao
;
@Autowired
private
InspectionInfoDao
inspectionInfoDao
;
@Override
@Override
public
ActivityExamineDto
selectById
(
Long
id
)
{
public
ActivityExamineDto
selectById
(
Long
id
)
{
return
activityExamineDao
.
selectById
(
id
);
return
activityExamineDao
.
selectById
(
id
);
...
@@ -36,4 +42,14 @@ public class ExaPlanQueryServiceImpl implements ExaPlanQueryService {
...
@@ -36,4 +42,14 @@ public class ExaPlanQueryServiceImpl implements ExaPlanQueryService {
activityExamineDao
.
page
(
pageInfo
,
wq
);
activityExamineDao
.
page
(
pageInfo
,
wq
);
}
}
@Override
public
InspectionInfoDto
selectNewByID
(
Long
id
)
{
return
inspectionInfoDao
.
selectById
(
id
);
}
@Override
public
void
pageV2
(
PageInfo
pageInfo
)
{
InspectionInfoWrapper
wq
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
pageInfo
.
getQueryParams
()),
InspectionInfoWrapper
.
class
);
inspectionInfoDao
.
page
(
pageInfo
,
wq
);
}
}
}
src/main/java/com/wangxiaolu/promotion/service/wechat/WeChatUserQueryService.java
浏览文件 @
c94bf431
package
com
.
wangxiaolu
.
promotion
.
service
.
wechat
;
package
com
.
wangxiaolu
.
promotion
.
service
.
wechat
;
import
com.wangxiaolu.promotion.pojo.user.vo.LoginVo
;
import
com.wangxiaolu.promotion.pojo.user.vo.LoginVo
;
import
com.wangxiaolu.promotion.pojo.user.vo.TemporaryRegisterVo
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* @author : liqiulin
* @author : liqiulin
...
@@ -12,4 +16,6 @@ public interface WeChatUserQueryService {
...
@@ -12,4 +16,6 @@ public interface WeChatUserQueryService {
LoginVo
loginTemporaryByOpenIdAndPhone
(
String
openId
,
String
phone
);
LoginVo
loginTemporaryByOpenIdAndPhone
(
String
openId
,
String
phone
);
LoginVo
temporaryLoginByPhone
(
String
phone
);
LoginVo
temporaryLoginByPhone
(
String
phone
);
List
<
Map
<
String
,
String
>>
findStoreList
(
TemporaryRegisterVo
temporaryRegisterVo
);
}
}
src/main/java/com/wangxiaolu/promotion/service/wechat/impl/WeChatUserQueryServiceImpl.java
浏览文件 @
c94bf431
...
@@ -6,18 +6,20 @@ import com.wangxiaolu.promotion.common.redis.RedisKeys;
...
@@ -6,18 +6,20 @@ import com.wangxiaolu.promotion.common.redis.RedisKeys;
import
com.wangxiaolu.promotion.common.redis.service.RedisCache
;
import
com.wangxiaolu.promotion.common.redis.service.RedisCache
;
import
com.wangxiaolu.promotion.common.util.JwtTokenUtils
;
import
com.wangxiaolu.promotion.common.util.JwtTokenUtils
;
import
com.wangxiaolu.promotion.common.util.JwtUtils
;
import
com.wangxiaolu.promotion.common.util.JwtUtils
;
import
com.wangxiaolu.promotion.domain.activityplanv2.dao.ActivityPlanInfoDao
;
import
com.wangxiaolu.promotion.domain.activityplanv2.mapper.entity.ActivityPlanInfoDo
;
import
com.wangxiaolu.promotion.domain.user.dao.TemporaryInfoDao
;
import
com.wangxiaolu.promotion.domain.user.dao.TemporaryInfoDao
;
import
com.wangxiaolu.promotion.exception.DataException
;
import
com.wangxiaolu.promotion.exception.DataException
;
import
com.wangxiaolu.promotion.pojo.user.dto.WxTemporaryInfoDto
;
import
com.wangxiaolu.promotion.pojo.user.dto.WxTemporaryInfoDto
;
import
com.wangxiaolu.promotion.pojo.user.vo.LoginVo
;
import
com.wangxiaolu.promotion.pojo.user.vo.LoginVo
;
import
com.wangxiaolu.promotion.pojo.user.vo.TemporaryRegisterVo
;
import
com.wangxiaolu.promotion.result.basedata.RCode
;
import
com.wangxiaolu.promotion.result.basedata.RCode
;
import
com.wangxiaolu.promotion.service.wechat.WeChatUserQueryService
;
import
com.wangxiaolu.promotion.service.wechat.WeChatUserQueryService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.w3c.dom.stylesheets.LinkStyle
;
import
java.util.HashMap
;
import
java.util.*
;
import
java.util.Map
;
import
java.util.Objects
;
/**
/**
* @author : liqiulin
* @author : liqiulin
...
@@ -33,6 +35,8 @@ public class WeChatUserQueryServiceImpl implements WeChatUserQueryService {
...
@@ -33,6 +35,8 @@ public class WeChatUserQueryServiceImpl implements WeChatUserQueryService {
RedisCache
redisCache
;
RedisCache
redisCache
;
@Autowired
@Autowired
JwtUtils
jwtUtils
;
JwtUtils
jwtUtils
;
@Autowired
private
ActivityPlanInfoDao
activityPlanInfoDao
;
/**
/**
* 根据openId、手机号登录
* 根据openId、手机号登录
...
@@ -86,4 +90,8 @@ public class WeChatUserQueryServiceImpl implements WeChatUserQueryService {
...
@@ -86,4 +90,8 @@ public class WeChatUserQueryServiceImpl implements WeChatUserQueryService {
return
loginVo
;
return
loginVo
;
}
}
@Override
public
List
<
Map
<
String
,
String
>>
findStoreList
(
TemporaryRegisterVo
temporaryRegisterVo
)
{
return
activityPlanInfoDao
.
findThisMonthStoreListByLocation
(
temporaryRegisterVo
);
}
}
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论