|
|
@@ -28,6 +28,8 @@ import org.springframework.stereotype.Service;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
/**
|
|
|
* 活动记录 服务实现类
|
|
|
*
|
|
|
@@ -62,6 +64,8 @@ public class ActiveHelpServiceImpl extends BaseServiceImpl<ActiveHelpMapper, Act
|
|
|
}else {
|
|
|
activeHelpVO.setIndex(1L);
|
|
|
}
|
|
|
+ activeHelpVO.setCreateTime(new Date());
|
|
|
+
|
|
|
baseMapper.insert(activeHelpVO);
|
|
|
}
|
|
|
return baseMapper.selectOne(new LambdaQueryWrapper<ActiveHelp>().eq(ActiveHelp::getActiveId,activeHelpVO.getActiveId()).eq(ActiveHelp::getPhone,activeHelpVO.getPhone()));
|