Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ry-crm
Project
Project
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
田光明
ry-crm
Commits
c41ff68c
Commit
c41ff68c
authored
Feb 24, 2025
by
EDY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
325225c0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
2 deletions
+9
-2
BaseCustomFollowRecordController.java
...controller/business/BaseCustomFollowRecordController.java
+4
-1
BaseCustomInfoController.java
...oyi/web/controller/business/BaseCustomInfoController.java
+3
-1
BaseCustomFollowRecordMapper.xml
...esources/mapper/business/BaseCustomFollowRecordMapper.xml
+1
-0
BaseCustomInfoMapper.xml
...c/main/resources/mapper/business/BaseCustomInfoMapper.xml
+1
-0
No files found.
ruoyi-admin/src/main/java/com/ruoyi/web/controller/business/BaseCustomFollowRecordController.java
View file @
c41ff68c
package
com
.
ruoyi
.
web
.
controller
.
business
;
import
java.util.Date
;
import
java.util.List
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -78,7 +79,7 @@ public class BaseCustomFollowRecordController extends BaseController
@PostMapping
public
AjaxResult
add
(
@RequestBody
BaseCustomFollowRecord
baseCustomFollowRecord
)
{
baseCustomFollowRecord
.
setGjr
(
get
Usern
ame
());
baseCustomFollowRecord
.
setGjr
(
get
LoginUser
().
getUser
().
getNickN
ame
());
return
toAjax
(
baseCustomFollowRecordService
.
insertBaseCustomFollowRecord
(
baseCustomFollowRecord
));
}
...
...
@@ -90,6 +91,8 @@ public class BaseCustomFollowRecordController extends BaseController
@PutMapping
public
AjaxResult
edit
(
@RequestBody
BaseCustomFollowRecord
baseCustomFollowRecord
)
{
baseCustomFollowRecord
.
setUpdateTime
(
new
Date
());
baseCustomFollowRecord
.
setUpdateBy
(
getLoginUser
().
getUser
().
getNickName
());
return
toAjax
(
baseCustomFollowRecordService
.
updateBaseCustomFollowRecord
(
baseCustomFollowRecord
));
}
...
...
ruoyi-admin/src/main/java/com/ruoyi/web/controller/business/BaseCustomInfoController.java
View file @
c41ff68c
...
...
@@ -79,7 +79,7 @@ public class BaseCustomInfoController extends BaseController
@PostMapping
public
AjaxResult
add
(
@RequestBody
BaseCustomInfo
baseCustomInfo
)
{
baseCustomInfo
.
setFzr
(
get
Usern
ame
());
baseCustomInfo
.
setFzr
(
get
LoginUser
().
getUser
().
getNickN
ame
());
baseCustomInfo
.
setCreateTime
(
new
Date
());
baseCustomInfo
.
setCreateBy
(
getUsername
());
return
toAjax
(
baseCustomInfoService
.
insertBaseCustomInfo
(
baseCustomInfo
));
...
...
@@ -93,6 +93,8 @@ public class BaseCustomInfoController extends BaseController
@PutMapping
public
AjaxResult
edit
(
@RequestBody
BaseCustomInfo
baseCustomInfo
)
{
baseCustomInfo
.
setUpdateTime
(
new
Date
());
baseCustomInfo
.
setUpdateBy
(
getLoginUser
().
getUser
().
getNickName
());
return
toAjax
(
baseCustomInfoService
.
updateBaseCustomInfo
(
baseCustomInfo
));
}
...
...
ruoyi-system/src/main/resources/mapper/business/BaseCustomFollowRecordMapper.xml
View file @
c41ff68c
...
...
@@ -34,6 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"bz != null and bz != ''"
>
and bz = #{bz}
</if>
<if
test=
"deleteFlag != null "
>
and delete_flag = #{deleteFlag}
</if>
</where>
order by id desc
</select>
<select
id=
"selectBaseCustomFollowRecordById"
parameterType=
"Long"
resultMap=
"BaseCustomFollowRecordResult"
>
...
...
ruoyi-system/src/main/resources/mapper/business/BaseCustomInfoMapper.xml
View file @
c41ff68c
...
...
@@ -82,6 +82,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"rubbishFlag != null and rubbishFlag == 1"
>
and khzt = 7
</if>
<if
test=
"rubbishFlag != null and rubbishFlag == 0"
>
and khzt not in (7)
</if>
</where>
order by id desc
</select>
<select
id=
"selectBaseCustomInfoById"
parameterType=
"Long"
resultMap=
"BaseCustomInfoResult"
>
...
...
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