|
@@ -1,7 +1,7 @@
|
|
|
package com.management.platform.mapper;
|
|
|
|
|
|
-import com.management.platform.entity.Project;
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
+import com.management.platform.entity.Project;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
import java.util.List;
|
|
@@ -16,6 +16,9 @@ import java.util.Map;
|
|
|
* @since 2020-01-03
|
|
|
*/
|
|
|
public interface ProjectMapper extends BaseMapper<Project> {
|
|
|
+ List<Map<String, Object>> getParticipatedProject(@Param("userId") String userId);
|
|
|
+
|
|
|
List<Map<String, Object>> getTimeCost(@Param("companyId") Integer companyId);
|
|
|
+
|
|
|
List<Map<String, Object>> getProjectCost(@Param("projectId") Integer projectId);
|
|
|
}
|