diff --git a/zc-business/src/main/java/com/zc/business/mapper/DcShiftsMapper.java b/zc-business/src/main/java/com/zc/business/mapper/DcShiftsMapper.java index 2726acff..a5ec7ff7 100644 --- a/zc-business/src/main/java/com/zc/business/mapper/DcShiftsMapper.java +++ b/zc-business/src/main/java/com/zc/business/mapper/DcShiftsMapper.java @@ -11,15 +11,15 @@ import org.apache.poi.hssf.record.DConRefRecord; /** * 值班Mapper接口 - * + * * @author ruoyi * @date 2024-01-04 */ -public interface DcShiftsMapper +public interface DcShiftsMapper { /** * 查询值班 - * + * * @param id 值班主键 * @return 值班 */ @@ -27,15 +27,16 @@ public interface DcShiftsMapper /** * 查询值班列表 - * + * * @param dcShifts 值班 * @return 值班集合 */ List selectDcShiftsList(DcShifts dcShifts); - + //导出 + List selectDcShiftsListExport(DcShifts dcShifts); /** * 新增值班 - * + * * @param dcShifts 值班 * @return 结果 */ @@ -45,7 +46,7 @@ public interface DcShiftsMapper /** * 修改值班 - * + * * @param dcShifts 值班 * @return 结果 */ @@ -53,7 +54,7 @@ public interface DcShiftsMapper /** * 删除值班 - * + * * @param id 值班主键 * @return 结果 */ @@ -61,7 +62,7 @@ public interface DcShiftsMapper /** * 批量删除值班 - * + * * @param ids 需要删除的数据主键集合 * @return 结果 */ diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcShiftsServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcShiftsServiceImpl.java index d75c4d1c..4e380bdb 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcShiftsServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcShiftsServiceImpl.java @@ -108,7 +108,7 @@ public class DcShiftsServiceImpl implements IDcShiftsService @Override public List selectDcShiftsListExcel(DcShifts dcShifts) { - return dcShiftsMapper.selectDcShiftsList(dcShifts); + return dcShiftsMapper.selectDcShiftsListExport(dcShifts); } /** diff --git a/zc-business/src/main/resources/mapper/business/DcShiftsMapper.xml b/zc-business/src/main/resources/mapper/business/DcShiftsMapper.xml index b2d75161..d842ca56 100644 --- a/zc-business/src/main/resources/mapper/business/DcShiftsMapper.xml +++ b/zc-business/src/main/resources/mapper/business/DcShiftsMapper.xml @@ -112,6 +112,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" +