Authored by csgyoho

no message

1 package com.yohoufo.user.requestVO; 1 package com.yohoufo.user.requestVO;
2 2
  3 +import java.util.List;
  4 +
3 /** 5 /**
4 * Created by shengguo.cai on 2018/9/12. 6 * Created by shengguo.cai on 2018/9/12.
5 */ 7 */
@@ -7,6 +9,15 @@ public class InboxReqVO { @@ -7,6 +9,15 @@ public class InboxReqVO {
7 private int uid; 9 private int uid;
8 private String type; 10 private String type;
9 private Integer businessType; 11 private Integer businessType;
  12 + private List<String> params;
  13 +
  14 + public List<String> getParams() {
  15 + return params;
  16 + }
  17 +
  18 + public void setParams(List<String> params) {
  19 + this.params = params;
  20 + }
10 21
11 public int getUid() { 22 public int getUid() {
12 return uid; 23 return uid;
@@ -6,6 +6,7 @@ import com.yoho.core.common.utils.DateUtil; @@ -6,6 +6,7 @@ import com.yoho.core.common.utils.DateUtil;
6 import com.yoho.error.ServiceError; 6 import com.yoho.error.ServiceError;
7 import com.yoho.error.exception.ServiceException; 7 import com.yoho.error.exception.ServiceException;
8 import com.yohoufo.user.dal.InBoxMapper; 8 import com.yohoufo.user.dal.InBoxMapper;
  9 +import com.yohoufo.user.dal.enums.InboxBusinessTypeEnum;
9 import com.yohoufo.user.dal.enums.InboxTypeEnum; 10 import com.yohoufo.user.dal.enums.InboxTypeEnum;
10 import com.yohoufo.user.dal.model.InBox; 11 import com.yohoufo.user.dal.model.InBox;
11 import com.yohoufo.user.dal.model.TypeCountInbox; 12 import com.yohoufo.user.dal.model.TypeCountInbox;
@@ -79,6 +80,7 @@ public class InBoxServiceImpl implements IInBoxService { @@ -79,6 +80,7 @@ public class InBoxServiceImpl implements IInBoxService {
79 80
80 @Override 81 @Override
81 public void addInbox(InboxReqVO reqVO) { 82 public void addInbox(InboxReqVO reqVO) {
  83 + InboxBusinessTypeEnum businessTypeEnum = InboxBusinessTypeEnum
82 InBox inBox = new InBox(); 84 InBox inBox = new InBox();
83 inBox.setUid(reqVO.getUid()); 85 inBox.setUid(reqVO.getUid());
84 inBox.setType(reqVO.getBusinessType()); 86 inBox.setType(reqVO.getBusinessType());