Commit 67fc56d6 authored by fangxinjiang's avatar fangxinjiang

消息提醒

parent dcd57199
...@@ -46,20 +46,20 @@ public class MsgInfo extends BaseEntity { ...@@ -46,20 +46,20 @@ public class MsgInfo extends BaseEntity {
@Schema(description = "id") @Schema(description = "id")
private String id; private String id;
/** /**
* orderId * 订单号
*/ */
@ExcelAttribute(name = "orderId", maxLength = 50) @ExcelAttribute(name = "订单号", maxLength = 50)
@Length(max = 50, message = "orderId不能超过50个字符") @Length(max = 50, message = "orderId不能超过50个字符")
@ExcelProperty("orderId") @ExcelProperty("订单号")
@Schema(description = "orderId") @Schema(description = "订单号")
private String orderId; private String orderId;
/** /**
* 订单号 * URL
*/ */
@ExcelAttribute(name = "订单号", maxLength = 200) @ExcelAttribute(name = "URL", maxLength = 200)
@Length(max = 200, message = "订单号不能超过200个字符") @Length(max = 200, message = "URL不能超过200个字符")
@ExcelProperty("订单号") @ExcelProperty("URL")
@Schema(description = "订单号") @Schema(description = "URL")
private String url; private String url;
/** /**
* 提交人 * 提交人
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
*/ */
package com.yifu.cloud.plus.v1.msg.service.impl; package com.yifu.cloud.plus.v1.msg.service.impl;
import cn.hutool.json.JSONObject;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
...@@ -84,6 +86,7 @@ public class MsgInfoServiceImpl extends ServiceImpl<MsgInfoMapper, MsgInfo> impl ...@@ -84,6 +86,7 @@ public class MsgInfoServiceImpl extends ServiceImpl<MsgInfoMapper, MsgInfo> impl
save.setUrl(MesConstants.orderUrl+vo.getOrderId()); save.setUrl(MesConstants.orderUrl+vo.getOrderId());
save.setUrl(vo.getAlertUser()); save.setUrl(vo.getAlertUser());
baseMapper.insert(save); baseMapper.insert(save);
log.error(JSON.toJSONString(save));
} }
} }
// 变更提醒 // 变更提醒
...@@ -95,6 +98,7 @@ public class MsgInfoServiceImpl extends ServiceImpl<MsgInfoMapper, MsgInfo> impl ...@@ -95,6 +98,7 @@ public class MsgInfoServiceImpl extends ServiceImpl<MsgInfoMapper, MsgInfo> impl
save.setAlertType(CommonConstants.TWO_STRING); save.setAlertType(CommonConstants.TWO_STRING);
save.setUrl(vo.getAlertUser()); save.setUrl(vo.getAlertUser());
baseMapper.insert(save); baseMapper.insert(save);
log.error(JSON.toJSONString(save));
} }
} }
} }
......
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