线索进度

This commit is contained in:
苏竹红
2024-04-02 17:01:07 +08:00
parent 7ac4057d3f
commit 85a329b82e
17 changed files with 354 additions and 14 deletions

View File

@@ -132,4 +132,14 @@ public class LineInfoController {
}
@ApiOperation("线索流程进度")
@GetMapping("/getIntendProcess")
@ApiImplicitParams({
@ApiImplicitParam(name = "lineId", value = "线索id", required = true)
})
public ResponseResult<IntendProcessTotalVO> getIntendProcessTotal(@RequestParam("lineId")Long lineId) {
return ResponseResult.success(lineService.getIntendProcessTotal(lineId));
}
}

View File

@@ -0,0 +1,35 @@
package com.cool.store.controller.webb;
import com.cool.store.dto.partner.UserChannelDTO;
import com.cool.store.response.ResponseResult;
import com.cool.store.service.HyPartnerUserChannelService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.List;
/**
* @Author suzhuhong
* @Date 2023/8/10 11:17
* @Version 1.0
*/
@RestController
@RequestMapping("/pc/")
@Api(tags = "线索来源")
@Slf4j
public class UserChannelController {
@Resource
HyPartnerUserChannelService hyPartnerUserChannelService;
@GetMapping(path = "/queryAllUserChannelList")
@ApiOperation("线索来源列表")
public ResponseResult<List<UserChannelDTO>> queryAllUserChannelList(){
return ResponseResult.success(hyPartnerUserChannelService.queryAllUserChannelList());
}
}