4 changed files with 70 additions and 0 deletions
@ -0,0 +1,32 @@ |
|||||
|
package com.ccsens.mt.service; |
||||
|
|
||||
|
import cn.hutool.core.lang.Snowflake; |
||||
|
import lombok.extern.slf4j.Slf4j; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
import org.springframework.transaction.annotation.Propagation; |
||||
|
import org.springframework.transaction.annotation.Transactional; |
||||
|
|
||||
|
import javax.annotation.Resource; |
||||
|
|
||||
|
/** |
||||
|
* @author 10071 |
||||
|
*/ |
||||
|
@Slf4j |
||||
|
@Service |
||||
|
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) |
||||
|
public class CompeteVedioService implements ICompeteVedioService{ |
||||
|
|
||||
|
@Resource |
||||
|
private Snowflake snowflake; |
||||
|
|
||||
|
|
||||
|
@Override |
||||
|
public void insertSignVideo(Long companyId) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public void selectSignVideo(Long companyId) { |
||||
|
|
||||
|
} |
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
package com.ccsens.mt.service; |
||||
|
|
||||
|
public interface ICompeteVedioService { |
||||
|
/** |
||||
|
* |
||||
|
* 添加用户观看开幕式视频记录(签到用) |
||||
|
* @param companyId 单位id |
||||
|
*/ |
||||
|
void insertSignVideo(Long companyId); |
||||
|
|
||||
|
/** |
||||
|
* 查看用户观看视频记录(签到用) |
||||
|
* @param companyId |
||||
|
*/ |
||||
|
void selectSignVideo(Long companyId); |
||||
|
} |
Loading…
Reference in new issue