|
|
|
@ -96,6 +96,7 @@ public class MailGatherLogServiceImpl implements MailGatherLogService { |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public MailGatherLogVo insert(MailGatherLogVo mailGatherLog) { |
|
|
|
|
DynamicContextHolder.push(DbConstant.BASICS_WRITE); |
|
|
|
|
if(StringUtils.isEmpty(mailGatherLog.getId())){ |
|
|
|
|
mailGatherLog.setId(UUIDUtils.generateShortUuid()); |
|
|
|
|
} |
|
|
|
@ -112,6 +113,7 @@ public class MailGatherLogServiceImpl implements MailGatherLogService { |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public MailGatherLogVo update(MailGatherLogVo mailGatherLog) { |
|
|
|
|
DynamicContextHolder.push(DbConstant.BASICS_WRITE); |
|
|
|
|
this.mailGatherLogDao.update(mailGatherLog); |
|
|
|
|
return this.queryById(mailGatherLog.getId()); |
|
|
|
|
} |
|
|
|
|