|
@@ -81,9 +81,9 @@ public class PostCollectionsSystemServiceImpl implements IPostCollectionsSystemS
|
|
|
}
|
|
|
|
|
|
//补充字段
|
|
|
- postCollectionsSystem.setCreateBy(getUsername());
|
|
|
+ postCollectionsSystem.setCreateUser(getUsername());
|
|
|
postCollectionsSystem.setCreateTime(DateUtils.dateTime(DateUtils.YYYY_MM_DD_HH_MM_SS,DateUtils.getTime()));
|
|
|
- postCollectionsSystem.setUpdateBy(getUsername());
|
|
|
+ postCollectionsSystem.setUpdateUser(getUsername());
|
|
|
postCollectionsSystem.setUpdateTime(DateUtils.dateTime(DateUtils.YYYY_MM_DD_HH_MM_SS,DateUtils.getTime()));
|
|
|
return postCollectionsSystemMapper.insertPostCollectionsSystem(postCollectionsSystem);
|
|
|
}
|
|
@@ -98,7 +98,7 @@ public class PostCollectionsSystemServiceImpl implements IPostCollectionsSystemS
|
|
|
public int updatePostCollectionsSystem(PostCollectionsSystem postCollectionsSystem)
|
|
|
{
|
|
|
//补充字段
|
|
|
- postCollectionsSystem.setUpdateBy(getUsername());
|
|
|
+ postCollectionsSystem.setUpdateUser(getUsername());
|
|
|
postCollectionsSystem.setUpdateTime(DateUtils.dateTime(DateUtils.YYYY_MM_DD_HH_MM_SS,DateUtils.getTime()));
|
|
|
return postCollectionsSystemMapper.updatePostCollectionsSystem(postCollectionsSystem);
|
|
|
}
|
|
@@ -188,4 +188,9 @@ public class PostCollectionsSystemServiceImpl implements IPostCollectionsSystemS
|
|
|
}).collect(Collectors.toList());
|
|
|
return collectionsVos;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public int selectPostCollectionsSystemByName(PostCollectionsSystem postCollectionsSystem) {
|
|
|
+ return postCollectionsSystemMapper.selectPostCollectionsSystemByName(postCollectionsSystem);
|
|
|
+ }
|
|
|
}
|