|
|
@ -14,7 +14,6 @@ import com.elink.esua.epdc.dto.item.result.ItemSurveyResultDTO; |
|
|
|
import com.elink.esua.epdc.service.AnalysisItemService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
@ -54,7 +53,7 @@ public class ApiAnalysisItemController { |
|
|
|
* @Date: 2020-02-11 |
|
|
|
*/ |
|
|
|
@GetMapping("getItemSurvey") |
|
|
|
public Result<ItemSurveyResultDTO> getItemSurvey(@RequestBody ItemSurveyFormDTO formDto) { |
|
|
|
public Result<ItemSurveyResultDTO> getItemSurvey(ItemSurveyFormDTO formDto) { |
|
|
|
//效验数据
|
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
formDto.setDeptIdList(SecurityUser.getUser().getDeptIdList()); |
|
|
@ -69,7 +68,7 @@ public class ApiAnalysisItemController { |
|
|
|
* @Date: 2020-02-11 |
|
|
|
*/ |
|
|
|
@GetMapping("getItemAnalysis") |
|
|
|
public Result<List<ItemAnalysisResultDTO>> getItemAnalysis(@RequestBody ItemAnalysisFormDTO formDto) { |
|
|
|
public Result<List<ItemAnalysisResultDTO>> getItemAnalysis(ItemAnalysisFormDTO formDto) { |
|
|
|
//效验数据
|
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
formDto.setDeptIdList(SecurityUser.getUser().getDeptIdList()); |
|
|
@ -85,7 +84,7 @@ public class ApiAnalysisItemController { |
|
|
|
* @Date: 2020-02-12 |
|
|
|
*/ |
|
|
|
@GetMapping("getHotItemList") |
|
|
|
public Result<List<HotItemListResultDTO>> getHotItemList(@RequestBody HotItemListFormDTO formDto) { |
|
|
|
public Result<List<HotItemListResultDTO>> getHotItemList(HotItemListFormDTO formDto) { |
|
|
|
//效验数据
|
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
formDto.setDeptIdList(SecurityUser.getUser().getDeptIdList()); |
|
|
|