Commit 4ff15e8b by 水库浪子

客户画像添加待办时间

2 parents f102284d a0e8d2f3
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();
}
}
......@@ -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)
);
}
......
......@@ -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;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!