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
147e0410
Commit
147e0410
authored
Dec 10, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群
parent
267eb0a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
GroupChatMapper.xml
...ervice/src/main/resources/mapper/chat/GroupChatMapper.xml
+1
-1
GroupChatPlanMapper.xml
...ce/src/main/resources/mapper/chat/GroupChatPlanMapper.xml
+4
-3
GroupChatPlanController.java
...n/manage/web/controller/chat/GroupChatPlanController.java
+9
-0
No files found.
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatMapper.xml
View file @
147e0410
...
...
@@ -262,7 +262,7 @@
order by chat_add_time desc
</if>
<if
test=
"null != sortColumn"
>
order by
#{sortColumn} #{sortType}
order by
${sortColumn} ${sortType}
</if>
</select>
...
...
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatPlanMapper.xml
View file @
147e0410
...
...
@@ -108,8 +108,8 @@
<!-- =====================删除==================== -->
<update
id=
"deleteById"
parameterType=
"long"
>
UPDATE
tab_haoban_group_chat_plan SET delete_flag = 1 , modifier
I
d =
#{clerkId} , modifier
N
ame = #{clerkName} WHERE plan_id = #{planId}
tab_haoban_group_chat_plan SET delete_flag = 1 , modifier
_i
d =
#{clerkId} , modifier
_n
ame = #{clerkName} WHERE plan_id = #{planId}
</update>
<update
id=
"updateSendFlag"
>
...
...
@@ -167,7 +167,7 @@
and name like '%${searchParams}%'
</if>
<if
test=
"null != startDate"
>
and create_time
<![CDATA[>=]]>
#{startDate} and create_time
<![CDATA[<=]]>
#{endDate}
and create_time
<![CDATA[>=]]>
#{startDate} and create_time
<![CDATA[<=]]>
#{endDate}
</if>
</select>
</mapper>
\ No newline at end of file
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/chat/GroupChatPlanController.java
View file @
147e0410
...
...
@@ -49,6 +49,9 @@ public class GroupChatPlanController {
@RequestMapping
(
"del"
)
public
RestResponse
<
Object
>
del
(
Long
planId
)
{
if
(
null
==
planId
)
{
return
RestResponse
.
failure
(
"9999"
,
"计划ID空"
);
}
WebLoginDTO
loginUser
=
AuthWebRequestUtil
.
getLoginUser
();
this
.
groupChatPlanApiService
.
del
(
loginUser
.
getClerkId
(),
loginUser
.
getClerkName
(),
planId
);
return
RestResponse
.
successResult
();
...
...
@@ -95,6 +98,9 @@ public class GroupChatPlanController {
@RequestMapping
(
"owner-log"
)
public
RestResponse
<
Object
>
ownerLog
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
)
{
if
(
null
==
planId
)
{
return
RestResponse
.
failure
(
"9999"
,
"计划ID空"
);
}
WebLoginDTO
loginUser
=
AuthWebRequestUtil
.
getLoginUser
();
qdto
.
setWxEnterpriseId
(
loginUser
.
getWxEnterpriseId
());
ServiceResponse
<
Page
<
GroupChatPlanOwnerLogDTO
>>
resp
=
this
.
groupChatPlanApiService
.
listOwnerLogPage
(
planId
,
...
...
@@ -107,6 +113,9 @@ public class GroupChatPlanController {
@RequestMapping
(
"log"
)
public
RestResponse
<
Object
>
log
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
)
{
if
(
null
==
planId
)
{
return
RestResponse
.
failure
(
"9999"
,
"计划ID空"
);
}
WebLoginDTO
loginUser
=
AuthWebRequestUtil
.
getLoginUser
();
qdto
.
setWxEnterpriseId
(
loginUser
.
getWxEnterpriseId
());
ServiceResponse
<
Page
<
GroupChatPlanLogDTO
>>
resp
=
this
.
groupChatPlanApiService
.
listLogPage
(
planId
,
qdto
,
...
...
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