Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2d0d6f9f
authored
Jan 11, 2021
by
sunxiwang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
欢迎语bug修改
1 parent
3769af7c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeMsgTlpServiceImpl.java
linkwe-wecom/src/main/resources/mapper/wecom/WeMsgTlpMapper.xml
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeMsgTlpServiceImpl.java
View file @
2d0d6f9
package
com
.
linkwechat
.
wecom
.
service
.
impl
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.stream.Collectors
;
...
...
@@ -65,7 +66,7 @@ public class WeMsgTlpServiceImpl implements IWeMsgTlpService
public
int
insertWeMsgTlp
(
WeMsgTlp
weMsgTlp
)
{
weMsgTlp
.
setCreateBy
(
SecurityUtils
.
getUsername
());
weMsgTlp
.
setCreateTime
(
new
Date
());
return
weMsgTlpMapper
.
insertWeMsgTlp
(
weMsgTlp
);
...
...
@@ -112,7 +113,6 @@ public class WeMsgTlpServiceImpl implements IWeMsgTlpService
// }
//
// }
return
weMsgTlpMapper
.
updateWeMsgTlp
(
weMsgTlp
);
}
...
...
linkwe-wecom/src/main/resources/mapper/wecom/WeMsgTlpMapper.xml
View file @
2d0d6f9
...
...
@@ -34,6 +34,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
INNER JOIN we_material wm ON wmt.media_id=wm.id
<where>
<if
test=
"welcomeMsg != null and welcomeMsg != ''"
>
and wmt.welcome_msg like CONCAT('%',#{welcomeMsg,jdbcType=VARCHAR},'%')
</if>
<if
test=
"welcomeMsgTplType !=null "
>
and wmt.welcome_msg_tpl_type = #{welcomeMsgTplType}
</if>
and wmt.del_flag = 0
</where>
</select>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment