|
@@ -1,5 +1,6 @@
|
|
|
package com.management.platform.mapper;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.management.platform.entity.TimeCalculation;
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
@@ -17,11 +18,11 @@ import java.util.Map;
|
|
|
* @since 2020-01-09
|
|
|
*/
|
|
|
public interface TimeCalculationMapper extends BaseMapper<TimeCalculation> {
|
|
|
- List<Map<String, Object>> getDevianceList(Page page,
|
|
|
- @Param("userId") String userId,
|
|
|
- @Param("actionCode") Integer actionCode,
|
|
|
- @Param("date") String date,
|
|
|
- @Param("companyId") Integer companyId);
|
|
|
+ IPage<Map<String, Object>> getDevianceList(Page page,
|
|
|
+ @Param("userId") String userId,
|
|
|
+ @Param("actionCode") Integer actionCode,
|
|
|
+ @Param("date") String date,
|
|
|
+ @Param("companyId") Integer companyId);
|
|
|
|
|
|
Integer countDeviance(@Param("userId") String userId,
|
|
|
@Param("actionCode") Integer actionCode,
|