Browse Source

历史表修改

zoro 1 year ago
parent
commit
5a8dbe5562

+ 1 - 1
src/main/java/com/ghjg/shoreline/service/impl/ShoreLineServiceImpl.java

@@ -46,7 +46,7 @@ public class ShoreLineServiceImpl extends ServiceImpl<ShoreLineMapper, Shoreline
                 //先留存历史数据
                 ShorelineManageHistory shorelineManageHistory = new ShorelineManageHistory();
                 BeanUtils.copyProperties(shorelineManage, shorelineManageHistory);
-                shorelineManage.setUpdateUser("5043");
+                shorelineManageHistory.setUpdateUser("5043");
                 shorelineManageHistory.setKeyId(UUID.randomUUID().toString().replace("-",""));
                 shorelineManageHistories.add(shorelineManageHistory);