|
|
@ -4,18 +4,16 @@ import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
|
import com.epmet.dto.extract.form.ExtractFormDTO; |
|
|
|
import com.epmet.dto.extract.form.ProjectFormDTO; |
|
|
|
import com.epmet.service.evaluationindex.extract.FactOriginTopicMainDailyService; |
|
|
|
import com.epmet.service.evaluationindex.extract.IssueExtractService; |
|
|
|
import com.epmet.service.evaluationindex.extract.ProjectExtractService; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import com.epmet.service.evaluationindex.extract.FactOriginTopicMainDailyService; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 原始数据清洗 |
|
|
@ -69,9 +67,9 @@ public class FactOriginController { |
|
|
|
* @Date 2020/9/15 13:39 |
|
|
|
**/ |
|
|
|
@PostMapping("topic") |
|
|
|
public Result topicDataCleaning(String customerId,String dateId) { |
|
|
|
if (StringUtils.isNotBlank(customerId) && StringUtils.isNotBlank(dateId)) { |
|
|
|
factOriginTopicMainDailyService.topicCleaning(customerId,dateId); |
|
|
|
public Result topicDataCleaning(@RequestBody ExtractFormDTO extractFormDTO) { |
|
|
|
if (StringUtils.isNotBlank(extractFormDTO.getCustomerId()) && StringUtils.isNotBlank(extractFormDTO.getDateId())) { |
|
|
|
factOriginTopicMainDailyService.topicCleaning(extractFormDTO); |
|
|
|
} |
|
|
|
return new Result(); |
|
|
|
} |
|
|
|