Commit 37f72649 authored by wanghao's avatar wanghao

Merge remote-tracking branch 'origin/master'

parents 05525988 6456ab80
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;
/** /**
......
...@@ -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();
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment