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
22c03e42
Commit
22c03e42
authored
Jan 15, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了动态查询接口,增加了会员id和用户id
parent
80e9a60c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
OpmArticle.java
...va/org/rcisoft/business/opmArticle/entity/OpmArticle.java
+6
-0
OpmArticleMapper.xml
...es/mapper/business/opmArticle/mapper/OpmArticleMapper.xml
+3
-1
No files found.
src/main/java/org/rcisoft/business/opmArticle/entity/OpmArticle.java
View file @
22c03e42
...
@@ -166,6 +166,12 @@ public class OpmArticle extends CyIdIncreEntity<OpmArticle> {
...
@@ -166,6 +166,12 @@ public class OpmArticle extends CyIdIncreEntity<OpmArticle> {
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
String
userId
;
private
String
userId
;
/**
* 会员ID
*/
@TableField
(
exist
=
false
)
private
String
memberId
;
/**
/**
* 当前登录人ID
* 当前登录人ID
*/
*/
...
...
src/main/resources/mapper/business/opmArticle/mapper/OpmArticleMapper.xml
View file @
22c03e42
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
ORDER BY opa.business_id DESC
ORDER BY opa.business_id DESC
</select>
</select>
<select
id=
"queryOpmArticlePaged"
result
Map=
"BaseResultMap
"
>
<select
id=
"queryOpmArticlePaged"
result
Type=
"org.rcisoft.business.opmArticle.entity.OpmArticle
"
>
SELECT
SELECT
opa.business_id,
opa.business_id,
opa.flag,
opa.flag,
...
@@ -89,6 +89,7 @@
...
@@ -89,6 +89,7 @@
opa.is_article,
opa.is_article,
opa.create_date,
opa.create_date,
opa.content,
opa.content,
opa.create_by AS userId,
opt.topic_name AS topic,
opt.topic_name AS topic,
mi.mem_code,
mi.mem_code,
mi.mem_nick_name,
mi.mem_nick_name,
...
@@ -98,6 +99,7 @@
...
@@ -98,6 +99,7 @@
mi.mem_residence_city,
mi.mem_residence_city,
mi.mem_max_education,
mi.mem_max_education,
mi.mem_career,
mi.mem_career,
mi.business_id AS memberId,
CASE
CASE
WHEN opl.business_id IS NOT NULL THEN 1 ELSE 0
WHEN opl.business_id IS NOT NULL THEN 1 ELSE 0
END AS isLike,
END AS isLike,
...
...
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