开业运营方案
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
package com.cool.store.dto.openPlan;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Auther: WangShuo
|
||||
* @Date: 2024/04/24/上午9:53
|
||||
* @Version 1.0
|
||||
* @注释:
|
||||
*/
|
||||
@Data
|
||||
public class OpenPlanShopInfoDTO {
|
||||
|
||||
@ApiModelProperty("店铺Id")
|
||||
private Long shopId;
|
||||
|
||||
@ApiModelProperty("线索id")
|
||||
private Long lineId;
|
||||
|
||||
@ApiModelProperty("门店名字")
|
||||
private String shopName;
|
||||
|
||||
@ApiModelProperty("门店代码")
|
||||
private String shopCode;
|
||||
|
||||
@ApiModelProperty("开店负责人id")
|
||||
private String shopManagerUserId;
|
||||
|
||||
@ApiModelProperty("督导id")
|
||||
private String supervisorUserId;
|
||||
|
||||
@ApiModelProperty("加盟商姓名")
|
||||
private String partnerName;
|
||||
|
||||
@ApiModelProperty("手机号码")
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty("招商经理id")
|
||||
private String investmentManagerId;
|
||||
|
||||
@ApiModelProperty("所属大区")
|
||||
private String bigName;
|
||||
|
||||
@ApiModelProperty("所属战区")
|
||||
private String fightName;
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.cool.store.dto.openPlan;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Auther: WangShuo
|
||||
* @Date: 2024/04/23/下午10:09
|
||||
* @Version 1.0
|
||||
* @注释:
|
||||
*/
|
||||
@Data
|
||||
public class OpeningOperationPlanDTO {
|
||||
|
||||
|
||||
private Long shopId;
|
||||
|
||||
@ApiModelProperty("门店名称")
|
||||
private String shopName;
|
||||
|
||||
@ApiModelProperty("门店代码")
|
||||
private String shopCode;
|
||||
|
||||
@ApiModelProperty("开店负责人")
|
||||
private String shopManagerUserId;
|
||||
|
||||
@ApiModelProperty("提交申请时间")
|
||||
private Date submissionTime;
|
||||
|
||||
@ApiModelProperty("审核结果,0待审核,1通过,2拒绝")
|
||||
private String resultType;
|
||||
|
||||
@ApiModelProperty("起始日期")
|
||||
public LocalDate planStartDate;
|
||||
|
||||
@ApiModelProperty("结束日期")
|
||||
public LocalDate planEndDate;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.cool.store.dto.openPlan;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Auther: WangShuo
|
||||
* @Date: 2024/04/24/下午5:07
|
||||
* @Version 1.0
|
||||
* @注释:
|
||||
*/
|
||||
@Data
|
||||
public class PlanLineDTO {
|
||||
@ApiModelProperty("线索id")
|
||||
private Long lineId;
|
||||
|
||||
private String mobile;
|
||||
@ApiModelProperty("加盟商姓名")
|
||||
private String username;
|
||||
|
||||
@ApiModelProperty("招商经理姓名")
|
||||
private String investmentManagerName;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.cool.store.dto.openPlan;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Auther: WangShuo
|
||||
* @Date: 2024/04/24/上午11:42
|
||||
* @Version 1.0
|
||||
* @注释:
|
||||
*/
|
||||
@Data
|
||||
|
||||
public class UserInfoDTO {
|
||||
|
||||
|
||||
private Long userId;
|
||||
|
||||
private String name;
|
||||
|
||||
|
||||
}
|
||||
@@ -130,7 +130,7 @@ public class LineInfoDO {
|
||||
private Integer joinStatus;
|
||||
|
||||
/**
|
||||
* 0.公海 1.私海 2黑名单
|
||||
* 0.公海 1.私海 2.黑名单
|
||||
*/
|
||||
@Column(name = "line_status")
|
||||
private Integer lineStatus;
|
||||
|
||||
@@ -104,6 +104,24 @@ public class OpeningOperationPlanDO {
|
||||
@Column(name = "audit_id")
|
||||
private Long auditId;
|
||||
|
||||
/**
|
||||
* 审核结果状态:0.待审核 1. 通过 2. 拒绝
|
||||
*/
|
||||
@Column(name = "result_type")
|
||||
private Byte resultType;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Byte getResultType() {
|
||||
return resultType;
|
||||
}
|
||||
|
||||
public void setResultType(Byte resultType) {
|
||||
this.resultType = resultType;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return id
|
||||
*/
|
||||
|
||||
@@ -74,6 +74,9 @@ public class ShopAuditInfoDO {
|
||||
*/
|
||||
private Boolean deleted;
|
||||
|
||||
@Column(name = "data_type")
|
||||
private Integer dataType;
|
||||
|
||||
/**
|
||||
* @return id
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
package com.cool.store.request;
|
||||
|
||||
import com.cool.store.entity.ShopAuditInfoDO;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Auther: WangShuo
|
||||
* @Date: 2024/04/22/下午3:52
|
||||
* @Version 1.0
|
||||
* @注释:
|
||||
*/
|
||||
@Data
|
||||
public class OpeningOperationPlanAuditRequest {
|
||||
|
||||
@ApiModelProperty("id")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("店铺id")
|
||||
private Long shopId;
|
||||
|
||||
@ApiModelProperty("2-开业运营方案")
|
||||
private Byte auditType;
|
||||
|
||||
@ApiModelProperty("提交人ID")
|
||||
private String submittedUserId;
|
||||
|
||||
@ApiModelProperty("提交人名称")
|
||||
private String submittedUserName;
|
||||
|
||||
@ApiModelProperty("结果类型 0通过,1拒绝")
|
||||
private Byte resultType;
|
||||
|
||||
@ApiModelProperty("通过原因")
|
||||
private String passReason;
|
||||
|
||||
@ApiModelProperty("拒绝原因")
|
||||
private String rejectReason;
|
||||
|
||||
@ApiModelProperty("是否删除:0.否 1.是")
|
||||
private Boolean deleted;
|
||||
|
||||
public ShopAuditInfoDO toShopAuditInfoDO() {
|
||||
ShopAuditInfoDO shopAuditInfoDO = new ShopAuditInfoDO();
|
||||
shopAuditInfoDO.setId(id);
|
||||
shopAuditInfoDO.setShopId(shopId);
|
||||
shopAuditInfoDO.setAuditType(auditType);
|
||||
shopAuditInfoDO.setResultType(resultType);
|
||||
shopAuditInfoDO.setPassReason(passReason);
|
||||
shopAuditInfoDO.setRejectReason(rejectReason);
|
||||
shopAuditInfoDO.setDeleted(deleted);
|
||||
shopAuditInfoDO.setSubmittedUserId(submittedUserId);
|
||||
shopAuditInfoDO.setSubmittedUserName(submittedUserName);
|
||||
shopAuditInfoDO.setCreateTime(new Date());
|
||||
shopAuditInfoDO.setUpdateTime(new Date());
|
||||
return shopAuditInfoDO;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
package com.cool.store.request;
|
||||
|
||||
import com.cool.store.entity.OpeningOperationPlanDO;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Auther: WangShuo
|
||||
* @Date: 2024/04/19/下午7:32
|
||||
* @Version 1.0
|
||||
* @注释:
|
||||
*/
|
||||
@Data
|
||||
public class OpeningOperationPlanRequest {
|
||||
|
||||
@ApiModelProperty("id")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("店铺id")
|
||||
private Long shopId;
|
||||
|
||||
@ApiModelProperty("0-新增/1-同步")
|
||||
private Boolean planSource;
|
||||
|
||||
@ApiModelProperty("调研结果")
|
||||
private String surveyResult;
|
||||
|
||||
@ApiModelProperty("调研结果url")
|
||||
private String surveyResultUrl;
|
||||
|
||||
@ApiModelProperty("活动主题")
|
||||
private String activityTheme;
|
||||
|
||||
@ApiModelProperty("活动主题url")
|
||||
private String activityThemeUrl;
|
||||
|
||||
@ApiModelProperty("筹备人员ids")
|
||||
private String preparationUserIds;
|
||||
|
||||
@ApiModelProperty("是否完成排车路线")
|
||||
private Byte routeCompleted;
|
||||
|
||||
@ApiModelProperty("是否删除:0.否 1.是")
|
||||
private Boolean deleted;
|
||||
|
||||
@ApiModelProperty("审核结果,0待审核,1通过,2拒绝")
|
||||
private Byte resultType;
|
||||
|
||||
|
||||
|
||||
public OpeningOperationPlanDO toOpeningOperationPlanDO() {
|
||||
OpeningOperationPlanDO openingOperationPlanDO = new OpeningOperationPlanDO();
|
||||
openingOperationPlanDO.setShopId(shopId);
|
||||
openingOperationPlanDO.setPlanSource(planSource);
|
||||
openingOperationPlanDO.setSurveyResult(surveyResult);
|
||||
openingOperationPlanDO.setSurveyResultUrl(surveyResultUrl);
|
||||
openingOperationPlanDO.setActivityTheme(activityTheme);
|
||||
openingOperationPlanDO.setActivityThemeUrl(activityThemeUrl);
|
||||
openingOperationPlanDO.setPreparationUserIds(preparationUserIds);
|
||||
openingOperationPlanDO.setRouteCompleted(routeCompleted);
|
||||
openingOperationPlanDO.setDeleted(deleted);
|
||||
openingOperationPlanDO.setResultType(resultType);
|
||||
return openingOperationPlanDO;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.cool.store.request;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
* @Auther: WangShuo
|
||||
* @Date: 2024/04/24/下午2:06
|
||||
* @Version 1.0
|
||||
* @注释:
|
||||
*/
|
||||
@Data
|
||||
public class PlanListRequest {
|
||||
@ApiModelProperty("店铺名称")
|
||||
private String shopName;
|
||||
@ApiModelProperty("起始日期")
|
||||
private LocalDate planStartDate;
|
||||
@ApiModelProperty("结束日期")
|
||||
private LocalDate planEndDate;
|
||||
@ApiModelProperty("大区名称")
|
||||
private String bigName;
|
||||
@ApiModelProperty("战区名称")
|
||||
private String fightName;
|
||||
@ApiModelProperty("分页数据量")
|
||||
private Integer pageNum;
|
||||
@ApiModelProperty("页数")
|
||||
private Integer pageSize;
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.cool.store.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Auther: WangShuo
|
||||
* @Date: 2024/04/23/上午10:47
|
||||
* @Version 1.0
|
||||
* @注释:
|
||||
*/
|
||||
@Data
|
||||
public class OpeningOperationPlanListVO {
|
||||
|
||||
@ApiModelProperty("门店id")
|
||||
private Long shopId;
|
||||
|
||||
@ApiModelProperty("线索id")
|
||||
private Long lineId;
|
||||
|
||||
@ApiModelProperty("门店名称")
|
||||
private String shopName;
|
||||
|
||||
@ApiModelProperty("门店代码")
|
||||
private String shopCode;
|
||||
|
||||
@ApiModelProperty("开店负责人")
|
||||
private String shopManagerName;
|
||||
|
||||
@ApiModelProperty("开店负责人id")
|
||||
private String shopManagerUserId;
|
||||
|
||||
@ApiModelProperty("加盟商姓名")
|
||||
private String partnerName;
|
||||
|
||||
@ApiModelProperty("手机号码")
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty("所属大区")
|
||||
private String bigName;
|
||||
|
||||
@ApiModelProperty("所属战区")
|
||||
private String fightName;
|
||||
|
||||
@ApiModelProperty("招商经理名字")
|
||||
private String investmentManagerName;
|
||||
|
||||
@ApiModelProperty("督导id")
|
||||
private String supervisorUserId;
|
||||
|
||||
@ApiModelProperty("督导")
|
||||
private String supervisorName;
|
||||
|
||||
@ApiModelProperty("提交申请时间")
|
||||
private Date submissionTime;
|
||||
|
||||
@ApiModelProperty("审核结果,0待审核,1通过,2拒绝")
|
||||
private String resultType;
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package com.cool.store.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Auther: WangShuo
|
||||
* @Date: 2024/04/22/下午7:58
|
||||
* @Version 1.0
|
||||
* @注释:
|
||||
*/
|
||||
@Data
|
||||
public class OpeningOperationPlanVO {
|
||||
|
||||
@ApiModelProperty("调研结果")
|
||||
private String surveyResult;
|
||||
|
||||
@ApiModelProperty("调研结果url")
|
||||
private String surveyResultUrl;
|
||||
|
||||
@ApiModelProperty("活动主题")
|
||||
private String activityTheme;
|
||||
|
||||
@ApiModelProperty("活动主题url")
|
||||
private String activityThemeUrl;
|
||||
|
||||
@ApiModelProperty("筹备人员ids")
|
||||
private String preparationUsers;
|
||||
|
||||
@ApiModelProperty("是否完成排车路线")
|
||||
private Byte routeCompleted;
|
||||
|
||||
@ApiModelProperty("提交时间")
|
||||
private Date submissionTime;
|
||||
|
||||
@ApiModelProperty("提交人")
|
||||
private String submittedUserId;
|
||||
|
||||
@ApiModelProperty("通过原因")
|
||||
private String passReason;
|
||||
|
||||
@ApiModelProperty("审核结果,0待审核,1通过,2拒绝")
|
||||
private String resultType;
|
||||
}
|
||||
Reference in New Issue
Block a user