Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-csf
Commits
8f650334
Commit
8f650334
authored
Mar 12, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
3910f4f2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
yd-csf-api/src/main/java/com/yd/csf/api/CsfApiApplication.java
+1
-1
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
+0
-1
yd-csf-service/src/main/java/com/yd/csf/service/config/CsfMybatisPlusConfig.java
+2
-3
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/CsfApiApplication.java
View file @
8f650334
...
...
@@ -12,7 +12,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication
(
scanBasePackages
=
"com.yd"
)
@MapperScan
(
"com.yd.**.dao"
)
@EnableFeignClients
(
basePackages
=
"com.yd"
)
@ComponentScan
(
basePackages
=
{
"com.yd.
auth.core"
,
"com.yd.csf.service.config
"
})
@ComponentScan
(
basePackages
=
{
"com.yd.
csf.service.config"
,
"com.yd.auth.core
"
})
public
class
CsfApiApplication
{
public
static
void
main
(
String
[]
args
)
{
...
...
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
View file @
8f650334
...
...
@@ -398,7 +398,6 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
appointment
.
setStatus
(
status
);
appointment
.
setCreatorName
(
authUserDto
.
getUsername
());
appointment
.
setIsLegalBeneficiary
(
isLegalBeneficiary
);
// appointmentMapper.insert(appointment);
iAppointmentService
.
saveOrUpdate
(
appointment
);
return
Result
.
success
(
appointment
);
}
...
...
yd-csf-service/src/main/java/com/yd/csf/service/config/CsfMybatisPlusConfig.java
View file @
8f650334
...
...
@@ -34,7 +34,6 @@ public class CsfMybatisPlusConfig {
* 自动填充字段配置(如创建人、更新人等)
*/
@Bean
@Primary
public
MetaObjectHandler
metaObjectHandler
()
{
log
.
info
(
"MetaObjectHandler Bean 正在创建..."
,
"MetaObjectHandler Bean 正在创建=========="
);
return
new
MetaObjectHandler
()
{
...
...
@@ -57,8 +56,8 @@ public class CsfMybatisPlusConfig {
log
.
info
(
"metaObjectHandler=======updateFill自动填充获取用户信息:{}"
,
JSON
.
toJSONString
(
authUserDto
));
if
(
authUserDto
!=
null
)
{
//自动注入更新人和更新用户名
this
.
strict
Insert
Fill
(
metaObject
,
"updaterId"
,
String
.
class
,
authUserDto
.
getUserBizId
());
this
.
strict
Insert
Fill
(
metaObject
,
"updaterName"
,
String
.
class
,
authUserDto
.
getUsername
());
this
.
strict
Update
Fill
(
metaObject
,
"updaterId"
,
String
.
class
,
authUserDto
.
getUserBizId
());
this
.
strict
Update
Fill
(
metaObject
,
"updaterName"
,
String
.
class
,
authUserDto
.
getUsername
());
}
}
};
...
...
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