接口定义

This commit is contained in:
苏竹红
2023-05-31 11:43:53 +08:00
parent 2d6c7c198e
commit de94c572ef
45 changed files with 318 additions and 43 deletions

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyAdvancedSettingDO;
import com.cool.store.entity.HyAdvancedSettingDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyContentInfoDO;
import com.cool.store.entity.HyContentInfoDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyIntendDevZoneInfoDO;
import com.cool.store.entity.HyIntendDevZoneInfoDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyIntendDevelopementMappingDO;
import com.cool.store.entity.HyIntendDevelopementMappingDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyOpenAreaInfoDO;
import com.cool.store.entity.HyOpenAreaInfoDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyPartnerBaseInfoDO;
import com.cool.store.entity.HyPartnerBaseInfoDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyPartnerCertificationInfoDO;
import com.cool.store.entity.HyPartnerCertificationInfoDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyPartnerClerkDO;
import com.cool.store.entity.HyPartnerClerkDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyPartnerIntentInfoDO;
import com.cool.store.entity.HyPartnerIntentInfoDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyPartnerInterviewLogDO;
import com.cool.store.entity.HyPartnerInterviewLogDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyPartnerInterviewDO;
import com.cool.store.entity.HyPartnerInterviewDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyPartnerInterviewPlanDO;
import com.cool.store.entity.HyPartnerInterviewPlanDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,7 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyPartnerLineInfoDO;
import com.cool.store.entity.HyPartnerLineInfoDO;
import com.cool.store.entity.HyPartnerLineInfoDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyPartnerTaskInfoLogDO;
import com.cool.store.entity.HyPartnerTaskInfoLogDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyPartnerUserInfoDO;
import com.cool.store.entity.HyPartnerUserInfoDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyPartnerUserPlatformBindDO;
import com.cool.store.entity.HyPartnerUserPlatformBindDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,6 +1,6 @@
package com.cool.store.mapper;
import com.cool.store.model.entity.HyWorkflowStageDO;
import com.cool.store.entity.HyWorkflowStageDO;
import org.apache.ibatis.annotations.Param;
/**

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyAdvancedSettingMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyAdvancedSettingDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyAdvancedSettingDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="partner_url" jdbcType="VARCHAR" property="partnerUrl" />
<result column="allocation_roles" jdbcType="VARCHAR" property="allocationRoles" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyContentInfoMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyContentInfoDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyContentInfoDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="content_title" jdbcType="VARCHAR" property="contentTitle" />
<result column="subject" jdbcType="VARCHAR" property="subject" />
@@ -14,7 +14,7 @@
<result column="create_user_id" jdbcType="VARCHAR" property="createUserId" />
<result column="update_user_id" jdbcType="VARCHAR" property="updateUserId" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.cool.store.model.entity.HyContentInfoDO">
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.cool.store.entity.HyContentInfoDO">
<result column="content" jdbcType="LONGVARCHAR" property="content" />
</resultMap>
<sql id="Base_Column_List">

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyIntendDevZoneInfoMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyIntendDevZoneInfoDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyIntendDevZoneInfoDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="zone_name" jdbcType="VARCHAR" property="zoneName" />
<result column="associated_region_id" jdbcType="VARCHAR" property="associatedRegionId" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyIntendDevelopementMappingMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyIntendDevelopementMappingDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyIntendDevelopementMappingDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="mapping_id" jdbcType="VARCHAR" property="mappingId" />
<result column="open_area_mapping_id" jdbcType="VARCHAR" property="openAreaMappingId" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyOpenAreaInfoMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyOpenAreaInfoDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyOpenAreaInfoDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="parent_id" jdbcType="BIGINT" property="parentId" />
<result column="area_name" jdbcType="VARCHAR" property="areaName" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyPartnerBaseInfoMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerBaseInfoDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyPartnerBaseInfoDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyPartnerCertificationInfoMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerCertificationInfoDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyPartnerCertificationInfoDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyPartnerClerkMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerClerkDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyPartnerClerkDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyPartnerIntentInfoMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerIntentInfoDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyPartnerIntentInfoDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyPartnerInterviewLogMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerInterviewLogDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyPartnerInterviewLogDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />
<result column="partner_interview_id" jdbcType="BIGINT" property="partnerInterviewId" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyPartnerInterviewMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerInterviewDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyPartnerInterviewDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="status" jdbcType="TINYINT" property="status" />
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyPartnerInterviewPlanMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerInterviewPlanDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyPartnerInterviewPlanDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyPartnerLineInfoMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerLineInfoDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyPartnerLineInfoDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
<result column="workflow_stage" jdbcType="VARCHAR" property="workflowStage" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyPartnerTaskInfoLogMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerTaskInfoLogDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyPartnerTaskInfoLogDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />
<result column="operate_user_id" jdbcType="VARCHAR" property="operateUserId" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyPartnerUserInfoMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerUserInfoDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyPartnerUserInfoDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
<result column="mobile" jdbcType="VARCHAR" property="mobile" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyPartnerUserPlatformBindMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerUserPlatformBindDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyPartnerUserPlatformBindDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="platform_type" jdbcType="VARCHAR" property="platformType" />
<result column="platform_user_id" jdbcType="VARCHAR" property="platformUserId" />

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.HyWorkflowStageMapper">
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyWorkflowStageDO">
<resultMap id="BaseResultMap" type="com.cool.store.entity.HyWorkflowStageDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="stage_code" jdbcType="VARCHAR" property="stageCode" />
<result column="stage_name" jdbcType="VARCHAR" property="stageName" />

View File

@@ -0,0 +1,22 @@
package com.cool.store.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
/**
* @Author suzhuhong
* @Date 2023/5/31 11:19
* @Version 1.0
*/
@Data
@ApiModel
public class AddTagsRequest {
@ApiModelProperty("线索ID")
private Long lineId;
@ApiModelProperty("标签列表")
private List<String> Tags;
}

View File

@@ -0,0 +1,25 @@
package com.cool.store.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @Author suzhuhong
* @Date 2023/5/31 11:01
* @Version 1.0
*/
@Data
@ApiModel
public class CloseFollowRequest {
@ApiModelProperty("线索ID")
private Long lineId;
@ApiModelProperty("公开拒绝原因")
private String rejectPublicReason;
@ApiModelProperty("真实拒绝原因")
private String rejectRealReason;
@ApiModelProperty("证明文件与凭证")
private String certifyFile;
}

View File

@@ -13,7 +13,7 @@ import java.util.List;
*/
@ApiModel
@Data
public class PartnerSummaryInfo {
public class PartnerSummaryInfoRequest {
@ApiModelProperty("加盟商基本信息对象")
private PartnerBaseInfoRequest partnerBaseInfoRequest;

View File

@@ -0,0 +1,25 @@
package com.cool.store.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @Author suzhuhong
* @Date 2023/5/31 10:50
* @Version 1.0
*/
@Data
@ApiModel
public class InviteCodeDetailVO {
@ApiModelProperty("推荐加盟商名称")
private String partnerName;
@ApiModelProperty("推荐加盟商手机号码")
private String partnerPhone;
@ApiModelProperty("邀请码")
private String inviteCode;
@ApiModelProperty("门店名称")
private String storeName;
}

View File

@@ -0,0 +1,30 @@
package com.cool.store.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* @Author suzhuhong
* @Date 2023/5/31 10:54
* @Version 1.0
*/
@Data
@ApiModel
public class LineFollowHistoryVO {
@ApiModelProperty("开始跟进时间")
private Date startTime;
@ApiModelProperty("结束跟进时间")
private Date closeTime;
@ApiModelProperty("结束原因")
private String closeCause;
}

View File

@@ -0,0 +1,54 @@
package com.cool.store.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* @Author suzhuhong
* @Date 2023/5/31 11:28
* @Version 1.0
*/
@Data
@ApiModel
public class PartnerBaseInfoVO {
@ApiModelProperty("")
private Long id;
@ApiModelProperty("hy_partner_user_info.partner_id")
private String partnerId;
@ApiModelProperty("hy_partner_line_info.id")
private Long partnerLineId;
@ApiModelProperty("手机号")
private String mobile;
@ApiModelProperty("姓名")
private String username;
@ApiModelProperty("1男 2女")
private Boolean sex;
@ApiModelProperty("民族")
private String nation;
@ApiModelProperty("出生日期")
private Date birthdate;
@ApiModelProperty("身份证")
private String idCard;
@ApiModelProperty("身份证正面")
private String idCardPhotoFront;
@ApiModelProperty("身份证反面")
private String idCardPhotoBlack;
@ApiModelProperty("住址")
private String liveAddress;
}

View File

@@ -40,6 +40,20 @@ public class PartnerInterviewInfoVO {
@ApiModelProperty("意向合同号")
private String authCode;
@ApiModelProperty("面试开始时间")
private Date startTime;
@ApiModelProperty("面试官ID")
private String interviewer;
@ApiModelProperty("面试官名称")
private String interviewerName;
@ApiModelProperty("预约时间")
private Date createTime;
@ApiModelProperty("房间号")
private String roomId;
@ApiModelProperty("过程信息")
private String processInfo;
}

View File

@@ -0,0 +1,67 @@
package com.cool.store.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
/**
* @Author suzhuhong
* @Date 2023/5/31 10:38
* @Version 1.0
*/
@Data
@ApiModel
public class PartnerLineDetailVO {
@ApiModelProperty("线索ID")
private Long id;
@ApiModelProperty("hy_partner_user_info.partner_id")
private String partnerId;
@ApiModelProperty("流程阶段:1意向申请审核;2预约面试时间;3加盟资格面试;4分配选址开发经理;5商圈点位评估;6上传店铺租赁信息;7完善加盟签约信息;8支付加盟费用;9签订加盟合同")
private String workflowStage;
@ApiModelProperty("流程子状态")
private String workflowStatus;
@ApiModelProperty("加盟商用户ID")
private String partnerUserId;
@ApiModelProperty("加盟商用户名称")
private String partnerUserName;
@ApiModelProperty("加盟商用户手机号")
private String partnerUserPhone;
@ApiModelProperty("手机号归属地")
private String phoneAddress;
@ApiModelProperty("招商经理")
private String investmentManager;
@ApiModelProperty("招商经理手机号")
private String investmentManagerPhone;
@ApiModelProperty("用户画像")
private String userPortrait;
@ApiModelProperty("意向审核信息")
private PartnerIntentApplyInfoVO partnerIntentApplyInfoVO;
@ApiModelProperty("预约面试、合格资格面试 信息")
private PartnerInterviewInfoVO partnerInterviewInfoVO;
@ApiModelProperty("邀请门店基本信息")
private InviteCodeDetailVO inviteCodeDetailVO;
@ApiModelProperty("跟进历史")
List<LineFollowHistoryVO> lineFollowHistoryVOList;
}

View File

@@ -0,0 +1,9 @@
package com.cool.store.vo;
/**
* @Author suzhuhong
* @Date 2023/5/31 11:40
* @Version 1.0
*/
public class PartnerSummaryInfoVO {
}

View File

@@ -55,7 +55,7 @@ public class DeskController {
@ApiImplicitParams({
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
})
public ResponseResult<PartnerLineInfoVO> getPartnerLineDetail(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
public ResponseResult<PartnerLineDetailVO> getPartnerLineDetail(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestParam(value = "lineId",required = false)Long lineId){
@@ -73,7 +73,7 @@ public class DeskController {
@PostMapping(path = "/allocationInvestmentManager")
@ApiOperation("分配招商经理")
@ApiOperation("分配招商经理/转让招商经理")
public ResponseResult<PageInfo<PartnerStageInfoVO>> allocationInvestmentManager(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody AllocationInvestmentManagerRequest allocationInvestmentManagerRequest){
@@ -129,6 +129,32 @@ public class DeskController {
}
@PostMapping(path = "/closeFollow")
public ResponseResult<Boolean> closeFollow(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody CloseFollowRequest closeFollowRequest){
return ResponseResult.success();
}
@PostMapping(path = "/changeIntentInfo")
@ApiOperation("员工端变更C端用户意向信息")
public ResponseResult<Boolean> changeIntentInfo(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody BaseUserInfoRequest baseUserInfoRequest){
return ResponseResult.success();
}
@PostMapping(path = "/addTags")
@ApiOperation("添加标签接口")
public ResponseResult<Boolean> addTags(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody AddTagsRequest addTagsRequest){
return ResponseResult.success();
}
}

View File

@@ -1,9 +1,11 @@
package com.cool.store.controller;
import com.cool.store.request.BaseUserInfoRequest;
import com.cool.store.request.PartnerSummaryInfo;
import com.cool.store.request.PartnerSummaryInfoRequest;
import com.cool.store.request.PartnerSummaryInfoRequest;
import com.cool.store.response.ResponseResult;
import com.cool.store.vo.OpenAreaVO;
import com.cool.store.vo.PartnerLineDetailVO;
import com.cool.store.vo.PartnerLineInfoVO;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.ApiImplicitParam;
@@ -84,7 +86,7 @@ public class PartnerController {
@PostMapping(path = "/submitPartnerSummaryInfo")
@ApiOperation("提交加盟商汇总信息")
public ResponseResult<Boolean> submitPartnerSummaryInfo(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody PartnerSummaryInfo partnerSummaryInfo){
@RequestBody PartnerSummaryInfoRequest partnerSummaryInfo){
//前提 未提交加盟申请
//成功 意向区域变更成功 失败 您已进入意向申请流程,当前不可变更意向区域
@@ -96,7 +98,7 @@ public class PartnerController {
@PostMapping(path = "/changePartnerSummaryInfo")
@ApiOperation("修改加盟商汇总信息 修改意向信息 修改店员信息 修改行业认知")
public ResponseResult<Boolean> changePartnerSummaryInfo(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody PartnerSummaryInfo partnerSummaryInfo){
@RequestBody PartnerSummaryInfoRequest partnerSummaryInfo){
//前提 未提交加盟申请
//成功 意向区域变更成功 失败 您已进入意向申请流程,当前不可变更意向区域
@@ -110,8 +112,8 @@ public class PartnerController {
@ApiImplicitParams({
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
})
public ResponseResult<PartnerLineInfoVO> getPartnerLineDetail(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestParam(value = "lineId",required = false)Long lineId){
public ResponseResult<PartnerLineDetailVO> getPartnerLineDetail(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestParam(value = "lineId",required = false)Long lineId){
return ResponseResult.success();