|
@@ -58,8 +58,10 @@ public class DragTableStyleServiceImpl implements IDragTableStyleService
|
|
|
public int batchInsertDragTableStyle(DragTableVo vo)
|
|
|
{
|
|
|
vo.getDragTableStyleList().forEach(v -> {
|
|
|
+ v.setTableKey(vo.getTableKey());
|
|
|
v.setCreateById(SecurityUtils.getUserId());
|
|
|
v.setCreateBy(SecurityUtils.getUsername());
|
|
|
+ v.setCreateTime(DateUtils.getNowDate());
|
|
|
});
|
|
|
return dragTableStyleMapper.batchInsertDragTableStyle(vo.getDragTableStyleList());
|
|
|
}
|
|
@@ -79,6 +81,7 @@ public class DragTableStyleServiceImpl implements IDragTableStyleService
|
|
|
//判断新增还是修改
|
|
|
vo.getDragTableStyleList().stream().forEach(s -> {
|
|
|
if (s.getId() == null){
|
|
|
+ s.setTableKey(vo.getTableKey());
|
|
|
s.setCreateBy(SecurityUtils.getUsername());
|
|
|
s.setCreateById(SecurityUtils.getUserId());
|
|
|
s.setCreateTime(DateUtils.getNowDate());
|