Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
smart-rack-base
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
耿迪迪
smart-rack-base
Commits
37f72649
Commit
37f72649
authored
Oct 13, 2025
by
wanghao
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
05525988
6456ab80
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
+12
-8
TShelfStorageLocationServiceImpl.java
.../service/impl/shelf/TShelfStorageLocationServiceImpl.java
+6
-5
PlatformDockingTaskAspect.java
...service/impl/shelf/aspectj/PlatformDockingTaskAspect.java
+1
-1
TShelfStorageLocationMapper.xml
...in/resources/mapper/shelf/TShelfStorageLocationMapper.xml
+5
-2
No files found.
smart-rack-base-system/src/main/java/com/zehong/system/service/impl/shelf/TShelfStorageLocationServiceImpl.java
View file @
37f72649
package
com
.
zehong
.
system
.
service
.
impl
.
shelf
;
package
com
.
zehong
.
system
.
service
.
impl
.
shelf
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.mapper.shelf.TShelfStorageLocationMapper
;
import
com.zehong.system.domain.shelf.TShelfStorageLocation
;
import
com.zehong.system.domain.shelf.TShelfStorageLocation
;
import
com.zehong.system.mapper.shelf.TShelfStorageLocationMapper
;
import
com.zehong.system.service.shelf.ITShelfStorageLocationService
;
import
com.zehong.system.service.shelf.ITShelfStorageLocationService
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
java.util.List
;
/**
/**
* 储位信息Service业务层处理
* 储位信息Service业务层处理
...
@@ -16,7 +17,7 @@ import com.zehong.system.service.shelf.ITShelfStorageLocationService;
...
@@ -16,7 +17,7 @@ import com.zehong.system.service.shelf.ITShelfStorageLocationService;
@Service
@Service
public
class
TShelfStorageLocationServiceImpl
implements
ITShelfStorageLocationService
public
class
TShelfStorageLocationServiceImpl
implements
ITShelfStorageLocationService
{
{
@
Autowired
@
Resource
private
TShelfStorageLocationMapper
tShelfStorageLocationMapper
;
private
TShelfStorageLocationMapper
tShelfStorageLocationMapper
;
/**
/**
...
...
smart-rack-base-system/src/main/java/com/zehong/system/service/impl/shelf/aspectj/PlatformDockingTaskAspect.java
View file @
37f72649
...
@@ -34,7 +34,7 @@ public class PlatformDockingTaskAspect {
...
@@ -34,7 +34,7 @@ public class PlatformDockingTaskAspect {
@Pointcut
(
"@annotation(platformDockingTaskLog)"
)
@Pointcut
(
"@annotation(platformDockingTaskLog)"
)
public
void
platformDockingTaskPointcut
(
PlatformDockingTaskLog
platformDockingTaskLog
)
{}
public
void
platformDockingTaskPointcut
(
PlatformDockingTaskLog
platformDockingTaskLog
)
{}
// 后置通知:在方法执行后
发送通知
// 后置通知:在方法执行后
记录日志信息
@AfterReturning
(
pointcut
=
"platformDockingTaskPointcut(platformDockingTaskLog)"
,
returning
=
"result"
)
@AfterReturning
(
pointcut
=
"platformDockingTaskPointcut(platformDockingTaskLog)"
,
returning
=
"result"
)
public
void
insertPlatformDockingTaskLog
(
JoinPoint
joinPoint
,
PlatformDockingTaskLog
platformDockingTaskLog
,
Object
result
)
{
public
void
insertPlatformDockingTaskLog
(
JoinPoint
joinPoint
,
PlatformDockingTaskLog
platformDockingTaskLog
,
Object
result
)
{
DockingTaskType
type
=
platformDockingTaskLog
.
type
();
DockingTaskType
type
=
platformDockingTaskLog
.
type
();
...
...
smart-rack-base-system/src/main/resources/mapper/shelf/TShelfStorageLocationMapper.xml
View file @
37f72649
...
@@ -80,9 +80,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -80,9 +80,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"label != null"
>
f_label = #{label},
</if>
<if
test=
"label != null"
>
f_label = #{label},
</if>
<if
test=
"index != null"
>
f_index = #{index},
</if>
<if
test=
"index != null"
>
f_index = #{index},
</if>
<if
test=
"rid != null and inboundTime != null"
>
f_rid = #{rid},
</if>
<if
test=
"rid != null and inboundTime != null"
>
f_rid = #{rid},
</if>
<if
test=
"rid != null and outboundTime != null"
>
f_rid = null,
</if>
<if
test=
"inboundTime != null"
>
f_inbound_time = #{inboundTime},
</if>
<if
test=
"inboundTime != null"
>
f_inbound_time = #{inboundTime},
</if>
<if
test=
"outboundTime != null"
>
f_outbound_time = #{outboundTime},
</if>
<if
test=
"outboundTime != null"
>
f_rid = null,
f_inbound_time = null,
f_outbound_time = #{outboundTime},
</if>
</trim>
</trim>
where f_location = #{location} AND f_shelf_id = #{shelfId}
where f_location = #{location} AND f_shelf_id = #{shelfId}
</update>
</update>
...
...
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