|
|
|
@ -1,10 +1,11 @@
|
|
|
|
|
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.entity.HygienePlanEntity; |
|
|
|
|
import com.hnac.hzims.safeproduct.vo.HygieneMonthVO; |
|
|
|
|
import org.apache.ibatis.annotations.Mapper; |
|
|
|
|
import org.springblade.core.datascope.annotation.UserDataAuth; |
|
|
|
|
import org.springblade.core.datascope.mapper.UserDataScopeBaseMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -14,7 +15,7 @@ import org.apache.ibatis.annotations.Mapper;
|
|
|
|
|
* @date 2023-12-27 |
|
|
|
|
*/ |
|
|
|
|
@Mapper |
|
|
|
|
public interface HygienePlanMapper extends BaseMapper<HygienePlanEntity> { |
|
|
|
|
public interface HygienePlanMapper extends UserDataScopeBaseMapper<HygienePlanEntity> { |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 查询当月各单位的卫生自查总数 |
|
|
|
@ -23,6 +24,7 @@ public interface HygienePlanMapper extends BaseMapper<HygienePlanEntity> {
|
|
|
|
|
* @param month 月份 |
|
|
|
|
* @return 当月的卫生自查总数据 |
|
|
|
|
*/ |
|
|
|
|
@UserDataAuth |
|
|
|
|
IPage<HygieneMonthVO> selectByMonth(IPage<HygieneMonthVO> page, String unit, String month); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -32,5 +34,6 @@ public interface HygienePlanMapper extends BaseMapper<HygienePlanEntity> {
|
|
|
|
|
* @param month 月份 |
|
|
|
|
* @return 当月的已完成数据 |
|
|
|
|
*/ |
|
|
|
|
@UserDataAuth |
|
|
|
|
IPage<HygieneMonthVO> selectFinishedDataByMonth(IPage<HygieneMonthVO> page, String unit, String month); |
|
|
|
|
} |
|
|
|
|