Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
haoban3.0
haoban-manage3.0
Commits
bd853a6d
Commit
bd853a6d
authored
Nov 10, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群发
parent
e57e335d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
TabMaterialContentMapper.java
...n/manage/service/dao/mapper/TabMaterialContentMapper.java
+1
-1
QywxSendServiceImpl.java
...oban/manage/service/service/impl/QywxSendServiceImpl.java
+1
-1
TabHaobanMaterialContentMapper.xml
.../main/resources/mapper/TabHaobanMaterialContentMapper.xml
+2
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/TabMaterialContentMapper.java
View file @
bd853a6d
...
@@ -20,7 +20,7 @@ public interface TabMaterialContentMapper {
...
@@ -20,7 +20,7 @@ public interface TabMaterialContentMapper {
public
int
updateByPrimaryKey
(
TabMaterialContent
entity
);
public
int
updateByPrimaryKey
(
TabMaterialContent
entity
);
public
TabMaterialContent
selectByUrl
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriesId
,
public
TabMaterialContent
selectByUrl
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriesId
,
@Param
(
"urlMd5"
)
String
urlMd5
);
@Param
(
"urlMd5"
)
String
urlMd5
,
@Param
(
"mediaType"
)
int
mediaType
);
public
TabMaterialContent
selectById
(
String
id
)
;
public
TabMaterialContent
selectById
(
String
id
)
;
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/QywxSendServiceImpl.java
View file @
bd853a6d
...
@@ -127,7 +127,7 @@ public class QywxSendServiceImpl implements QywxSendService {
...
@@ -127,7 +127,7 @@ public class QywxSendServiceImpl implements QywxSendService {
String
imageUrl
=
dto
.
getImgUrl
();
String
imageUrl
=
dto
.
getImgUrl
();
int
type
=
dto
.
getMaterialType
();
int
type
=
dto
.
getMaterialType
();
String
md5
=
Md5Util
.
MD5
(
imageUrl
);
String
md5
=
Md5Util
.
MD5
(
imageUrl
);
TabMaterialContent
tab
=
this
.
tabMaterialContentMapper
.
selectByUrl
(
wxEnterpriseId
,
md5
);
TabMaterialContent
tab
=
this
.
tabMaterialContentMapper
.
selectByUrl
(
wxEnterpriseId
,
md5
,
mediaType
);
if
(
null
!=
tab
)
{
if
(
null
!=
tab
)
{
materialIdList
.
add
(
tab
.
getMaterialId
());
materialIdList
.
add
(
tab
.
getMaterialId
());
}
else
{
}
else
{
...
...
haoban-manage3-service/src/main/resources/mapper/TabHaobanMaterialContentMapper.xml
View file @
bd853a6d
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
<select
id=
"selectByUrl"
resultMap=
"result-map-tabHaobanMaterialContent"
>
<select
id=
"selectByUrl"
resultMap=
"result-map-tabHaobanMaterialContent"
>
SELECT
SELECT
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
FROM tab_haoban_material_content WHERE wx_enterprise_id=#{wxEnterpriseId} and url_md5=#{urlMd5} and status_flag = 1
FROM tab_haoban_material_content WHERE wx_enterprise_id=#{wxEnterpriseId} and url_md5=#{urlMd5} and
media_type = #{mediaType} and
status_flag = 1
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
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