Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
67fc56d6
Commit
67fc56d6
authored
Jun 13, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息提醒
parent
dcd57199
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
MsgInfo.java
.../main/java/com/yifu/cloud/plus/v1/msg/entity/MsgInfo.java
+9
-9
MsgInfoServiceImpl.java
...fu/cloud/plus/v1/msg/service/impl/MsgInfoServiceImpl.java
+4
-0
No files found.
yifu-msg/yifu-msg-api/src/main/java/com/yifu/cloud/plus/v1/msg/entity/MsgInfo.java
View file @
67fc56d6
...
@@ -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
;
/**
/**
* 提交人
* 提交人
...
...
yifu-msg/yifu-msg-biz/src/main/java/com/yifu/cloud/plus/v1/msg/service/impl/MsgInfoServiceImpl.java
View file @
67fc56d6
...
@@ -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
));
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment