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
c8a001a3
Commit
c8a001a3
authored
Dec 01, 2022
by
zzd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线下预约
parent
6a400421
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
93 additions
and
0 deletions
+93
-0
OfflinePreController.java
...n/manage/web/controller/offline/OfflinePreController.java
+15
-0
CountOfflinePreVO.java
...m/gic/haoban/manage/web/vo/offline/CountOfflinePreVO.java
+39
-0
OfflinePreInfoVO.java
...om/gic/haoban/manage/web/vo/offline/OfflinePreInfoVO.java
+39
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/offline/OfflinePreController.java
View file @
c8a001a3
...
...
@@ -7,7 +7,9 @@ import com.gic.api.base.commons.ServiceResponse;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.haoban.manage.web.qo.offline.PageOfflinePreQO
;
import
com.gic.haoban.manage.web.qo.offline.WriteOffOfflinePreQO
;
import
com.gic.haoban.manage.web.vo.offline.CountOfflinePreVO
;
import
com.gic.haoban.manage.web.vo.offline.OfflinePreInfoVO
;
import
com.gic.marketing.pro.api.dto.offline.CountOfflinePreDTO
;
import
com.gic.marketing.pro.api.dto.offline.OfflinePreInfoDTO
;
import
com.gic.marketing.pro.api.qdto.offline.PageOfflinePreQDTO
;
import
com.gic.marketing.pro.api.qdto.offline.WriteOffOfflinePreQDTO
;
...
...
@@ -64,4 +66,17 @@ public class OfflinePreController {
ServiceResponse
<
Boolean
>
writeOffOfflinePre
=
offlinePreApiService
.
writeOffOfflinePre
(
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
qo
),
WriteOffOfflinePreQDTO
.
class
));
return
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
writeOffOfflinePre
,
SerializerFeature
.
WriteMapNullValue
),
RestResponse
.
class
);
}
/**
* 预约统计
* @param storeId 预约ID
* @param enterpriseId 企业ID
* @return 预约详情
*/
@RequestMapping
(
"/count-offline-pre"
)
@ResponseBody
public
RestResponse
<
CountOfflinePreVO
>
countOfflinePre
(
String
storeId
,
String
enterpriseId
){
ServiceResponse
<
CountOfflinePreDTO
>
countOfflinePre
=
offlinePreApiService
.
countOfflinePre
(
storeId
,
enterpriseId
);
return
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
countOfflinePre
,
SerializerFeature
.
WriteMapNullValue
),
RestResponse
.
class
);
}
}
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/vo/offline/CountOfflinePreVO.java
0 → 100644
View file @
c8a001a3
package
com
.
gic
.
haoban
.
manage
.
web
.
vo
.
offline
;
import
java.io.Serializable
;
/**
* @description: 这里是描述文字
* @author: 巴弗
* @createDate: 2022/12/1 15:41
*/
public
class
CountOfflinePreVO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 今天
*/
private
Integer
today
;
/**
* 近7天
*/
private
Integer
nearly7Days
;
public
Integer
getToday
()
{
return
today
;
}
public
void
setToday
(
Integer
today
)
{
this
.
today
=
today
;
}
public
Integer
getNearly7Days
()
{
return
nearly7Days
;
}
public
void
setNearly7Days
(
Integer
nearly7Days
)
{
this
.
nearly7Days
=
nearly7Days
;
}
}
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/vo/offline/OfflinePreInfoVO.java
View file @
c8a001a3
...
...
@@ -136,6 +136,21 @@ public class OfflinePreInfoVO implements Serializable {
*/
private
String
thirdImg
;
/**
* 核销导购
*/
private
String
clerkId
;
/**
* 核销导购
*/
private
String
clerkName
;
/**
* 核销上传图片,英文逗号隔开
*/
private
String
writeOffImgUrl
;
public
String
getOfflinePreId
()
{
return
offlinePreId
;
}
...
...
@@ -327,4 +342,28 @@ public class OfflinePreInfoVO implements Serializable {
public
void
setThirdImg
(
String
thirdImg
)
{
this
.
thirdImg
=
thirdImg
;
}
public
String
getClerkId
()
{
return
clerkId
;
}
public
void
setClerkId
(
String
clerkId
)
{
this
.
clerkId
=
clerkId
;
}
public
String
getClerkName
()
{
return
clerkName
;
}
public
void
setClerkName
(
String
clerkName
)
{
this
.
clerkName
=
clerkName
;
}
public
String
getWriteOffImgUrl
()
{
return
writeOffImgUrl
;
}
public
void
setWriteOffImgUrl
(
String
writeOffImgUrl
)
{
this
.
writeOffImgUrl
=
writeOffImgUrl
;
}
}
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