Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b4f413b9
authored
Apr 19, 2021
by
水库浪子
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
客户画像添加待办时间
2 parents
1ad87703
b3688365
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
5 deletions
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeAppController.java
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeCustomerPortraitController.java
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/WeCustomerTrajectory.java
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeAppController.java
0 → 100644
View file @
b4f413b
package
com
.
linkwechat
.
web
.
controller
.
wecom
;
import
com.linkwechat.common.core.controller.BaseController
;
import
com.linkwechat.common.core.domain.AjaxResult
;
import
com.linkwechat.wecom.domain.WeApp
;
import
com.linkwechat.wecom.service.IWeAppService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
@RestController
@RequestMapping
(
"/wecom/weapp"
)
public
class
WeAppController
extends
BaseController
{
@Autowired
IWeAppService
iWeAppService
;
@GetMapping
(
"/list"
)
public
AjaxResult
list
()
{
return
AjaxResult
.
success
(
iWeAppService
.
list
()
);
}
@PutMapping
(
"/updateWeApp"
)
public
AjaxResult
updateWeApp
(
@RequestBody
WeApp
weApp
){
iWeAppService
.
updateById
(
weApp
);
return
AjaxResult
.
success
();
}
}
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeCustomerPortraitController.java
View file @
b4f413b
...
...
@@ -153,11 +153,18 @@ public class WeCustomerPortraitController extends BaseController {
@GetMapping
(
value
=
"/findTrajectory"
)
public
TableDataInfo
findTrajectory
(
Integer
trajectoryType
){
startPage
();
LambdaQueryWrapper
<
WeCustomerTrajectory
>
ne
=
new
LambdaQueryWrapper
<
WeCustomerTrajectory
>()
.
ne
(
WeCustomerTrajectory:
:
getStatus
,
Constants
.
DELETE_CODE
);
if
(
trajectoryType
!=
null
){
ne
.
eq
(
WeCustomerTrajectory:
:
getTrajectoryType
,
trajectoryType
);
}
return
getDataTable
(
iWeCustomerTrajectoryService
.
list
(
new
LambdaQueryWrapper
<
WeCustomerTrajectory
>()
.
eq
(
WeCustomerTrajectory:
:
getTrajectoryType
,
trajectoryType
)
.
ne
(
WeCustomerTrajectory:
:
getStatus
,
Constants
.
DELETE_CODE
))
iWeCustomerTrajectoryService
.
list
(
ne
)
);
}
...
...
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/WeCustomerTrajectory.java
View file @
b4f413b
...
...
@@ -29,8 +29,13 @@ public class WeCustomerTrajectory {
private
String
content
;
//处理日期
private
Date
createDate
;
//处理时间
private
Time
createTime
;
//处理开始时间
private
Time
startTime
;
//处理结束时间
private
Time
endTime
;
//0:正常;1:删除;2:完成
private
String
status
;
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment