Class CostServiceImpl
- java.lang.Object
-
- com.arms.api.analysis.cost.service.CostServiceImpl
-
- All Implemented Interfaces:
CostService
@Service public class CostServiceImpl extends java.lang.Object implements CostService
-
-
Field Summary
Fields Modifier and Type Field Description protected Chatchatprotected org.modelmapper.ModelMappermodelMapper
-
Constructor Summary
Constructors Constructor Description CostServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CostCalculationVOcalculateAssigneeCost(CostDTO costDTO)CostCalculationVOcalculateCostAll(CostDTO costDTO)CostCalculationVOcalculateRequirementCost(CostDTO costDTO)CostCalculationVOcalculateVersionCost(CostDTO costDTO)ProductCostResponseVOcandleStickChartAPI(CostDTO costDTO)AllAssigneeVOgetAssigneeList(CostDTO costDTO)java.util.Set<java.lang.String>getAssignees(java.lang.Long pdServiceLink, java.util.List<java.lang.Long> pdServiceVersionLinks)java.util.List<AssigneeTimeDiffVO>getEstimatedPeriodCostByAccountId(CostDTO costDTO)LinkedJiraIssueVOgetLinkedJiraIssuesByVersionAndRequirement(CostDTO costDTO)RequirementDifficultyAndPriorityVOgetRequirementListStats(CostDTO costDTO)booleanhasUpdateLog(java.util.List<SalaryLogJdbcDTO> salaryUpdateLogsByAssignee)CostCalculationVOtoBeCalculateCost(CalculationCostDTO calculationCostDTO)
-
-
-
Field Detail
-
chat
protected final Chat chat
-
modelMapper
protected final org.modelmapper.ModelMapper modelMapper
-
-
Method Detail
-
getAssigneeList
public AllAssigneeVO getAssigneeList(CostDTO costDTO) throws java.lang.Exception
- Specified by:
getAssigneeListin interfaceCostService- Throws:
java.lang.Exception
-
getRequirementListStats
public RequirementDifficultyAndPriorityVO getRequirementListStats(CostDTO costDTO) throws java.lang.Exception
- Specified by:
getRequirementListStatsin interfaceCostService- Throws:
java.lang.Exception
-
getLinkedJiraIssuesByVersionAndRequirement
public LinkedJiraIssueVO getLinkedJiraIssuesByVersionAndRequirement(CostDTO costDTO) throws java.lang.Exception
- Specified by:
getLinkedJiraIssuesByVersionAndRequirementin interfaceCostService- Throws:
java.lang.Exception
-
candleStickChartAPI
public ProductCostResponseVO candleStickChartAPI(CostDTO costDTO) throws java.lang.Exception
- Specified by:
candleStickChartAPIin interfaceCostService- Throws:
java.lang.Exception
-
hasUpdateLog
public boolean hasUpdateLog(java.util.List<SalaryLogJdbcDTO> salaryUpdateLogsByAssignee)
-
getAssignees
public java.util.Set<java.lang.String> getAssignees(java.lang.Long pdServiceLink, java.util.List<java.lang.Long> pdServiceVersionLinks)- Specified by:
getAssigneesin interfaceCostService
-
getEstimatedPeriodCostByAccountId
public java.util.List<AssigneeTimeDiffVO> getEstimatedPeriodCostByAccountId(CostDTO costDTO) throws java.lang.Exception
- Specified by:
getEstimatedPeriodCostByAccountIdin interfaceCostService- Throws:
java.lang.Exception
-
calculateCostAll
public CostCalculationVO calculateCostAll(CostDTO costDTO) throws java.lang.Exception
- Specified by:
calculateCostAllin interfaceCostService- Throws:
java.lang.Exception
-
calculateVersionCost
public CostCalculationVO calculateVersionCost(CostDTO costDTO) throws java.lang.Exception
- Specified by:
calculateVersionCostin interfaceCostService- Throws:
java.lang.Exception
-
calculateRequirementCost
public CostCalculationVO calculateRequirementCost(CostDTO costDTO) throws java.lang.Exception
- Specified by:
calculateRequirementCostin interfaceCostService- Throws:
java.lang.Exception
-
calculateAssigneeCost
public CostCalculationVO calculateAssigneeCost(CostDTO costDTO) throws java.lang.Exception
- Specified by:
calculateAssigneeCostin interfaceCostService- Throws:
java.lang.Exception
-
toBeCalculateCost
public CostCalculationVO toBeCalculateCost(CalculationCostDTO calculationCostDTO) throws java.lang.Exception
- Specified by:
toBeCalculateCostin interfaceCostService- Throws:
java.lang.Exception
-
-