Commit fc60ebd3 by huluobin

客诉渠道

parent 33e83438
...@@ -64,6 +64,7 @@ public class ComplaintMainServiceImpl extends ServiceImpl<ComplaintMainMapper, C ...@@ -64,6 +64,7 @@ public class ComplaintMainServiceImpl extends ServiceImpl<ComplaintMainMapper, C
complaintMain.setPicturePath(null); complaintMain.setPicturePath(null);
complaintMain.setRemarks(null); complaintMain.setRemarks(null);
complaintMain.setSource(ComplaintMain.SOURCE_MP); complaintMain.setSource(ComplaintMain.SOURCE_MP);
complaintMain.setChannel("小程序问卷");
complaintMain.setCreateUser(orderQuestionOption.getCustomerId()); complaintMain.setCreateUser(orderQuestionOption.getCustomerId());
complaintMain.setStoreId(orderManage.getDepartmentId()); complaintMain.setStoreId(orderManage.getDepartmentId());
this.save(complaintMain); this.save(complaintMain);
......
...@@ -32,22 +32,33 @@ public class ComplaintMain implements Serializable { ...@@ -32,22 +32,33 @@ public class ComplaintMain implements Serializable {
//来源 其他 //来源 其他
public static final Integer SOURCE_OTHER = 3; public static final Integer SOURCE_OTHER = 3;
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@TableId(type = IdType.AUTO) @TableId(type = IdType.AUTO)
private Integer id; private Integer id;
@ApiModelProperty(value = "创建时间") @ApiModelProperty(value = "创建时间")
private LocalDateTime createDate; private LocalDateTime createDate;
@ApiModelProperty(value = "创建人") @ApiModelProperty(value = "创建人")
private Integer createUser; private Integer createUser;
@ApiModelProperty(value = "来源: 售后问卷 = 1, 大众点评 = 2, 小程序客户评价 = 3, 其他 = 4")
@ApiModelProperty(value = "来源: 售后问卷 = 1, 小程序 = 2")
private Integer source; private Integer source;
private String channel;
@ApiModelProperty(value = "备注") @ApiModelProperty(value = "备注")
private String remarks; private String remarks;
@ApiModelProperty(value = "客户id") @ApiModelProperty(value = "客户id")
private Integer customerId; private Integer customerId;
@ApiModelProperty(value = "订单id") @ApiModelProperty(value = "订单id")
private Integer orderId; private Integer orderId;
@ApiModelProperty(value = "门店id") @ApiModelProperty(value = "门店id")
private Integer storeId; private Integer storeId;
@ApiModelProperty(value = "照片") @ApiModelProperty(value = "照片")
private String picturePath; private String picturePath;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment