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
491b07cd
Commit
491b07cd
authored
Jan 02, 2025
by
方建宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间查询
parent
91548447
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
8 deletions
+17
-8
CmsActivity.java
.../org/rcisoft/business/cmsActivity/entity/CmsActivity.java
+6
-6
CmsActivityMapper.xml
.../mapper/business/cmsActivity.mapper/CmsActivityMapper.xml
+9
-0
OpmTopicMapper.xml
...ources/mapper/business/opmTopic.mapper/OpmTopicMapper.xml
+2
-2
No files found.
src/main/java/org/rcisoft/business/cmsActivity/entity/CmsActivity.java
View file @
491b07cd
...
...
@@ -243,20 +243,20 @@ public class CmsActivity extends CyIdIncreEntity<CmsActivity> {
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm"
)
private
Date
endTime
;
/*
*/
/**
/**
* 开始时间
*/
/*
*/
@JsonIgnore
@TableField
(
exist
=
false
)
private
String
beginTime
;
*/
/**
/**
* 结束时间
*/
/*
*/
@JsonIgnore
@TableField
(
exist
=
false
)
private String
endTime;*/
private
String
overTime
;
@TableField
(
exist
=
false
)
private
String
nickName
;
...
...
src/main/resources/mapper/business/cmsActivity.mapper/CmsActivityMapper.xml
View file @
491b07cd
...
...
@@ -183,6 +183,15 @@
<if
test=
"entity.weight !=null and entity.weight != '' "
>
and ca.weight = #{entity.weight}
</if>
<if
test=
"entity.beginTime !=null "
>
and ca.publish_Date
>
= #{entity.beginTime}
</if>
<if
test=
"entity.overTime !=null "
>
and ca.publish_Date
<
= #{entity.overTime}
</if>
<if
test=
"entity.publishStatus !=null "
>
and ca.publish_status = #{entity.publishStatus}
</if>
ORDER BY ca.publish_date DESC
</select>
<update
id=
"deleteCmsActivity"
parameterType=
"java.lang.Integer"
>
...
...
src/main/resources/mapper/business/opmTopic.mapper/OpmTopicMapper.xml
View file @
491b07cd
...
...
@@ -72,10 +72,10 @@
and create_by like concat('%',#{entity.createBy},'%')
</if>
<if
test=
"entity.beginTime !=null "
>
and cn.createDate
>
= #{entity.beginTime}
and cn.create
_
Date
>
= #{entity.beginTime}
</if>
<if
test=
"entity.endTime !=null "
>
and cn.createDate
<
= #{entity.endTime}
and cn.create
_
Date
<
= #{entity.endTime}
</if>
<if
test=
"entity.updateBy !=null and entity.updateBy != '' "
>
and update_by like concat('%',#{entity.updateBy},'%')
...
...
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