Commit bf986b9f authored by YangZhaoJun1's avatar YangZhaoJun1

加入updateDate和updateBy

parent 676ccaea
......@@ -22,6 +22,8 @@ import java.util.Random;
@AllArgsConstructor
public class BNews extends IdEntity<BNews> {
private static final long serialVersionUID = 620940318267006837L;
public void autoSetApplyCode(){
Calendar calendar = Calendar.getInstance();
StringBuilder applyCode = new StringBuilder();
......
......@@ -56,6 +56,8 @@ public class UserUtil {
public static void setCurrentPersistOperation(IdEntity entity,String token) {
entity.setCreateBy(UserUtil.getAuthenBusinessId());
entity.setCreateDate(new Date());
entity.setUpdateBy(UserUtil.getAuthenBusinessId());
entity.setUpdateDate(new Date());
entity.setCommonBusinessId();
entity.setNotDeleted();
entity.setStart();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment