Browse Source

新增跟进客户修改

anderx 1 year ago
parent
commit
493f4b5247

+ 10 - 7
src/main/java/com/goafanti/user/bo/InputUserServiceFollow.java

@@ -1,14 +1,9 @@
 package com.goafanti.user.bo;
 
-import com.goafanti.common.model.UserServiceFollow;
+public class InputUserServiceFollow {
 
-public class InputUserServiceFollow extends UserServiceFollow{
-
-	/**
-	 * 
-	 */
-	private static final long serialVersionUID = 1L;
 
+	private String orderNo;
 	/**
 	 * 是否加群 0=否,1=是
 	 */
@@ -16,6 +11,14 @@ public class InputUserServiceFollow extends UserServiceFollow{
 	
 	private String renewalTimes;
 
+	public String getOrderNo() {
+		return orderNo;
+	}
+
+	public void setOrderNo(String orderNo) {
+		this.orderNo = orderNo;
+	}
+
 	public Integer getAddGroupChat() {
 		return addGroupChat;
 	}

+ 2 - 2
src/main/java/com/goafanti/user/controller/UserServiceApiController.java

@@ -46,8 +46,8 @@ public class UserServiceApiController extends BaseApiController {
 	@RequestMapping(value = "/updateUseService",method = RequestMethod.POST)
 	public Result updateUseService(InputUserServiceFollow us) {
 		Result res =new Result();
-		if(us.getUid()==null) {
-			res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "用户编号"));
+		if(us.getOrderNo()==null) {
+			res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "订单编号"));
 		}
 		res.data(userServiceService.updateUseService(us));
 		return res;