|
@@ -1,48 +1,48 @@
|
|
package cn.com.ctop.userefficientvideomap.mapper;
|
|
package cn.com.ctop.userefficientvideomap.mapper;
|
|
|
|
|
|
-import java.math.BigDecimal;
|
|
|
|
-import java.util.List;
|
|
|
|
-
|
|
|
|
import cn.com.ctop.userefficientvideomap.entity.EffiVideoDTO;
|
|
import cn.com.ctop.userefficientvideomap.entity.EffiVideoDTO;
|
|
import cn.com.ctop.userefficientvideomap.entity.ProjectDTO;
|
|
import cn.com.ctop.userefficientvideomap.entity.ProjectDTO;
|
|
-import org.apache.ibatis.annotations.Param;
|
|
|
|
import cn.com.ctop.userefficientvideomap.entity.UserEfficientVideoMap;
|
|
import cn.com.ctop.userefficientvideomap.entity.UserEfficientVideoMap;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
+import java.math.BigDecimal;
|
|
|
|
+import java.util.List;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 有效视频与角色对应表
|
|
* 有效视频与角色对应表
|
|
|
|
+ *
|
|
* @author: jeecg-boot
|
|
* @author: jeecg-boot
|
|
- * @date: 2019-12-16
|
|
|
|
|
|
+ * @date: 2019-12-16
|
|
* @cersion: V1.0
|
|
* @cersion: V1.0
|
|
*/
|
|
*/
|
|
@Component
|
|
@Component
|
|
public interface UserEfficientVideoMapMapper extends BaseMapper<UserEfficientVideoMap> {
|
|
public interface UserEfficientVideoMapMapper extends BaseMapper<UserEfficientVideoMap> {
|
|
|
|
|
|
- List<EffiVideoDTO> getUserVideoMap(@Param("startDate")String startDate, @Param("endDate")String endDate);
|
|
|
|
-
|
|
|
|
- int getEffiVideoCountBySignature(@Param("signature")String signature);
|
|
|
|
|
|
+ List<EffiVideoDTO> getUserVideoMap(@Param("startDate") String startDate, @Param("endDate") String endDate);
|
|
|
|
|
|
- int getEffiVideoCountByUserId(@Param("year")int year, @Param("quarter")int quarter, @Param("userId")String userId);
|
|
|
|
|
|
+ int getEffiVideoCountBySignature(@Param("signature") String signature);
|
|
|
|
|
|
- int getQuarterMaterialCountByUserId(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("userId")String userId);
|
|
|
|
|
|
+ int getEffiVideoCountByUserId(@Param("year") int year, @Param("quarter") int quarter, @Param("userId") String userId);
|
|
|
|
|
|
- BigDecimal getTotalCostByClipId(@Param("userId")String userId, @Param("startDate")String startDate, @Param("endDate")String endDate);
|
|
|
|
|
|
+ int getQuarterMaterialCountByUserId(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("userId") String userId);
|
|
|
|
|
|
- BigDecimal getTotalCostByShotId(@Param("userId")String userId, @Param("startDate")String startDate, @Param("endDate")String endDate);
|
|
|
|
|
|
+ BigDecimal getTotalCostByClipId(@Param("userId") String userId, @Param("startDate") String startDate, @Param("endDate") String endDate);
|
|
|
|
|
|
- BigDecimal getTotalCostByPlanId(@Param("userId")String userId, @Param("startDate")String startDate, @Param("endDate")String endDate);
|
|
|
|
|
|
+ BigDecimal getTotalCostByShotId(@Param("userId") String userId, @Param("startDate") String startDate, @Param("endDate") String endDate);
|
|
|
|
|
|
- BigDecimal getTotalCostByPlaneId(@Param("userId")String userId, @Param("startDate")String startDate, @Param("endDate")String endDate);
|
|
|
|
|
|
+ BigDecimal getTotalCostByPlanId(@Param("userId") String userId, @Param("startDate") String startDate, @Param("endDate") String endDate);
|
|
|
|
|
|
- BigDecimal getProjectTotalCostByUserId(@Param("userId")String userId, @Param("startDate")String startDate, @Param("endDate")String endDate);
|
|
|
|
|
|
+ BigDecimal getTotalCostByPlaneId(@Param("userId") String userId, @Param("startDate") String startDate, @Param("endDate") String endDate);
|
|
|
|
|
|
- List<ProjectDTO> getProjectsByUserId(@Param("userId")String userId);
|
|
|
|
|
|
+ BigDecimal getProjectTotalCostByUserId(@Param("userId") String userId, @Param("startDate") String startDate, @Param("endDate") String endDate);
|
|
|
|
|
|
- int getPlaneCountByProjectId(@Param("projectId")Long projectId);
|
|
|
|
|
|
+ List<ProjectDTO> getProjectsByUserId(@Param("userId") String userId);
|
|
|
|
|
|
- int getPlaneCountByUserId(@Param("userId")String userId);
|
|
|
|
|
|
+ int getPlaneCountByProjectId(@Param("projectId") Long projectId);
|
|
|
|
|
|
|
|
+ int getPlaneCountByUserId(@Param("userId") String userId);
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|