瀏覽代碼

历史表修改

zoro 1 年之前
父節點
當前提交
5a8dbe5562
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/ghjg/shoreline/service/impl/ShoreLineServiceImpl.java

+ 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);