|
|
|
@ -8,6 +8,7 @@ import com.gaotao.common.exception.XJException; |
|
|
|
import com.gaotao.common.utils.PageUtils; |
|
|
|
import com.gaotao.modules.automatedWarehouse.entity.AgvStation; |
|
|
|
import com.gaotao.modules.automatedWarehouse.mapper.WcsIntegrationMapper; |
|
|
|
import com.gaotao.modules.sys.entity.SysUserEntity; |
|
|
|
import com.gaotao.modules.trans.entity.TransNoControl; |
|
|
|
import com.gaotao.modules.trans.service.TransNoControlService; |
|
|
|
import com.gaotao.modules.warehouse.dao.PalletMapper; |
|
|
|
@ -18,6 +19,7 @@ import com.gaotao.modules.warehouse.entity.vo.PalletVo; |
|
|
|
import com.gaotao.modules.warehouse.service.PalletService; |
|
|
|
import com.gaotao.modules.system.entity.SensitiveFieldChangeLog; // 新增 - rqrq |
|
|
|
import com.gaotao.modules.system.service.SensitiveFieldChangeLogService; // 新增 - rqrq |
|
|
|
import org.apache.shiro.SecurityUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
@ -173,7 +175,7 @@ public class PalletServiceImpl extends ServiceImpl<PalletMapper, Pallet> impleme |
|
|
|
log.setFieldName("location_code"); |
|
|
|
log.setOldValue(oldLocationCode != null ? oldLocationCode : ""); |
|
|
|
log.setNewValue(newLocationCode != null ? newLocationCode : ""); |
|
|
|
log.setOperator("SYSTEM"); // 可根据实际情况从上下文获取 - rqrq |
|
|
|
log.setOperator(((SysUserEntity) SecurityUtils.getSubject().getPrincipal()).getUsername()); // 可根据实际情况从上下文获取 - rqrq |
|
|
|
log.setOperationTime(new Date()); |
|
|
|
log.setRecordId(palletData.getId()); |
|
|
|
log.setOperationType("UPDATE"); |
|
|
|
|