Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-api
Project
Project
Details
Activity
Releases
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
李伟
cust-api
Commits
30db737f
Commit
30db737f
authored
Feb 24, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了接口权限
parent
1ca4220a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
45 deletions
+13
-45
AppMemInfoController.java
...isoft/app/appMemInfo/controller/AppMemInfoController.java
+0
-1
AppMemTrafficController.java
...app/appMemTraffic/controller/AppMemTrafficController.java
+2
-2
MemUserTaskDTO.java
...a/org/rcisoft/business/memInfo/entity/MemUserTaskDTO.java
+5
-0
OpmTopic.java
...n/java/org/rcisoft/business/opmTopic/entity/OpmTopic.java
+1
-38
MemInfoMapper.xml
...esources/mapper/business/memInfo/mapper/MemInfoMapper.xml
+5
-4
No files found.
src/main/java/org/rcisoft/app/appMemInfo/controller/AppMemInfoController.java
View file @
30db737f
...
...
@@ -87,7 +87,6 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
@GetMapping
(
"/memInfo/detail/{businessId:\\w+}"
)
public
CyResult
detail
(
@PathVariable
int
businessId
)
{
MemInfo
info
=
memInfoServiceImpl
.
findById
(
businessId
);
info
.
setMemWxCode
(
null
);
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
...
...
src/main/java/org/rcisoft/app/appMemTraffic/controller/AppMemTrafficController.java
View file @
30db737f
...
...
@@ -27,10 +27,10 @@ public class AppMemTrafficController extends CyPaginationController<MemTraffic>
@Autowired
private
MemTrafficService
memTrafficServiceImpl
;
//@PreAuthorize("@cyPerm.hasPerm('sys:traffic:add')")
@CyOpeLogAnno
(
title
=
"system-访问量表管理-新增访问量表"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"添加访问量表"
,
description
=
"添加访问量表"
)
@PostMapping
(
value
=
"/memtraffic/add"
)
@PostMapping
(
value
=
"/
open/
memtraffic/add"
)
public
CyResult
add
(
@RequestBody
MemTraffic
memTraffic
)
{
CyPersistModel
data
=
memTrafficServiceImpl
.
persist
(
memTraffic
);
return
CyResultGenUtil
.
builder
(
data
,
...
...
src/main/java/org/rcisoft/business/memInfo/entity/MemUserTaskDTO.java
View file @
30db737f
...
...
@@ -46,4 +46,9 @@ public class MemUserTaskDTO {
* 登录人的wxOpenid
*/
private
String
wxOpenid
;
/**
* 目标用户的memWxCode
*/
private
String
memWxCode
;
}
src/main/java/org/rcisoft/business/opmTopic/entity/OpmTopic.java
View file @
30db737f
...
...
@@ -21,16 +21,6 @@ import java.util.Date;
public
class
OpmTopic
extends
CyIdIncreEntity
<
OpmTopic
>
{
/**
* @desc 备注
* @column remarks
* @default
*/
@JsonIgnore
@Excel
(
name
=
"备注"
)
@TableField
(
"remarks"
)
private
String
remarks
;
/**
* @desc 话题名称
* @column topic_name
...
...
@@ -49,32 +39,13 @@ public class OpmTopic extends CyIdIncreEntity<OpmTopic> {
@TableField
(
"exam_status"
)
private
String
examStatus
;
/**
* @desc 启动状态(0禁用、1启动)
* @column flag
* @default
*/
@Excel
(
name
=
"启动状态(0禁用、1启动)"
)
@TableField
(
"flag"
)
private
String
flag
;
/**
* @desc 删除标志(0删除,1已删除)
* @column del_flag
* @default
*/
@Excel
(
name
=
"删除标志(0删除,1已删除)"
)
@TableField
(
"del_flag"
)
private
String
delFlag
;
/**
* @desc 排序
* @column weight
* @default
*/
@Excel
(
name
=
"排序"
)
@TableField
(
"weight"
)
private
Integer
weight
;
/**
...
...
@@ -100,14 +71,6 @@ public class OpmTopic extends CyIdIncreEntity<OpmTopic> {
@JsonIgnore
@TableField
(
exist
=
false
)
private
String
endTime
;
@TableField
(
exist
=
false
)
private
String
nickName
;
@TableField
(
exist
=
false
)
private
String
url
;
}
src/main/resources/mapper/business/memInfo/mapper/MemInfoMapper.xml
View file @
30db737f
...
...
@@ -778,10 +778,11 @@
and business_id = #{entity.businessId}
</insert>
<select
id=
"selectWeChatTask"
resultType=
"org.rcisoft.business.memInfo.entity.MemUserTaskDTO"
>
select *
from mem_user_task
select mut.*,mi.mem_wx_code
from mem_user_task mut
left join mem_info mi on mi.user_id = #{entity.targetId}
WHERE
(
create_by = #{entity.createBy} and
target_id = #{entity.targetId})
OR (
create_by = #{entity.targetId} and
target_id = #{entity.createBy})
(
mut.create_by = #{entity.createBy} and mut.
target_id = #{entity.targetId})
OR (
mut.create_by = #{entity.targetId} and mut.
target_id = #{entity.createBy})
</select>
</mapper>
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