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
ffaf18c5
Commit
ffaf18c5
authored
Jan 18, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_xgh_118' into 'master'
朋友圈 See merge request
!892
parents
d0f39e56
21ba1761
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
6 deletions
+19
-6
MaterialServiceImpl.java
...oban/manage/service/service/impl/MaterialServiceImpl.java
+10
-2
TabHaobanStaffClerkRelationMapper.xml
...in/resources/mapper/TabHaobanStaffClerkRelationMapper.xml
+7
-4
QwMessageController.java
...an/manage/web/controller/content/QwMessageController.java
+2
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/MaterialServiceImpl.java
View file @
ffaf18c5
...
...
@@ -207,13 +207,21 @@ public class MaterialServiceImpl implements MaterialService {
if
(
from
==
2
)
{
url
=
entity
.
getImgUrl
()
;
}
String
[]
arr
=
url
.
split
(
"/"
);
String
[]
arr
=
null
;
if
(
url
.
contains
(
"?"
))
{
arr
=
url
.
split
(
"\\?"
)[
0
].
split
(
"/"
)
;
}
else
{
arr
=
url
.
split
(
"/"
);
}
int
count
=
arr
.
length
;
if
(
from
==
2
)
{
// 朋友圈上传接口
if
(
type
==
2
)
{
if
(
url
.
contains
(
"?"
))
{
}
else
{
url
+=
"?imageView2/2/w/1440/h/1080"
;
}
logger
.
info
(
"url={}"
,
url
);
jp
=
qywxSuiteApiService
.
uploadAttachment
(
qwDTO
.
getThirdCorpid
(),
config
.
getWxSuiteid
(),
CommonUtil
.
getFileByte
(
url
),
arr
[
count
-
1
],
fileType
.
getCode
());
}
else
{
// 群发上传
...
...
haoban-manage3-service/src/main/resources/mapper/TabHaobanStaffClerkRelationMapper.xml
View file @
ffaf18c5
...
...
@@ -442,10 +442,13 @@
<select
id=
"listByStoreIds"
resultType=
"com.gic.haoban.manage.api.dto.StaffClerkRelationDTO"
>
<include
refid=
"leftJoinStaffSQL"
/>
where a.status_flag=1 and b.status_flag=1 and a.store_id in
<foreach
collection=
"storeIds"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
where a.status_flag=1 and b.status_flag=1
<if
test=
"null != storeIds"
>
and a.store_id in
<foreach
collection=
"storeIds"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</if>
<if
test=
"null != wxEnterpriseId"
>
and a.wx_enterprise_id = #{wxEnterpriseId}
</if>
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/QwMessageController.java
View file @
ffaf18c5
...
...
@@ -130,6 +130,8 @@ public class QwMessageController extends WebBaseController {
if
(
clerkType
==
2
&&
CollectionUtils
.
isEmpty
(
storeIdList
))
{
return
RestResponse
.
failure
(
"-1"
,
"请选择门店"
);
}
}
else
{
storeIdList
=
null
;
}
JSONObject
json
=
new
JSONObject
();
json
.
put
(
"clerkIdList"
,
clerkIdList
);
...
...
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