|
|
|
@ -1,6 +1,5 @@
|
|
|
|
|
package com.hnac.hzims.safeproduct.mapper; |
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
|
import com.hnac.hzims.safeproduct.dto.TrainRecordDTO; |
|
|
|
|
import com.hnac.hzims.safeproduct.entity.TrainRecordEntity; |
|
|
|
@ -8,6 +7,7 @@ import com.hnac.hzims.safeproduct.vo.TrainRecordDetailVO;
|
|
|
|
|
import com.hnac.hzims.safeproduct.vo.TrainRecordVO; |
|
|
|
|
import org.apache.ibatis.annotations.Mapper; |
|
|
|
|
import org.springblade.core.datascope.annotation.UserDataAuth; |
|
|
|
|
import org.springblade.core.datascope.mapper.UserDataScopeBaseMapper; |
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Map; |
|
|
|
@ -19,7 +19,7 @@ import java.util.Map;
|
|
|
|
|
* @date 2023-12-25 |
|
|
|
|
*/ |
|
|
|
|
@Mapper |
|
|
|
|
public interface TrainRecordMapper extends BaseMapper<TrainRecordEntity> { |
|
|
|
|
public interface TrainRecordMapper extends UserDataScopeBaseMapper<TrainRecordEntity> { |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 查询培训记录名称列表 |
|
|
|
@ -44,4 +44,11 @@ public interface TrainRecordMapper extends BaseMapper<TrainRecordEntity> {
|
|
|
|
|
*/ |
|
|
|
|
@UserDataAuth |
|
|
|
|
IPage<TrainRecordVO> trainRecordPage(IPage<TrainRecordVO> page, Map<String, Object> param); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 查询当月培训记录 |
|
|
|
|
* @param month 当月 |
|
|
|
|
* @return 当月培训记录 |
|
|
|
|
*/ |
|
|
|
|
List<TrainRecordEntity> selectTrainByMonth(String month); |
|
|
|
|
} |
|
|
|
|