|
@@ -4,6 +4,7 @@ import com.lantone.common.api.CommonResult;
|
|
import com.lantone.common.dto.analyze.AnalyzeDTO;
|
|
import com.lantone.common.dto.analyze.AnalyzeDTO;
|
|
import com.lantone.common.vo.analyze.AnalyzeVO;
|
|
import com.lantone.common.vo.analyze.AnalyzeVO;
|
|
import com.lantone.security.facade.analyze.BehospitalInfoManagementFacade;
|
|
import com.lantone.security.facade.analyze.BehospitalInfoManagementFacade;
|
|
|
|
+import com.lantone.security.facade.analyze.compute.BehospitalInfoManagementFacade_New;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -24,11 +25,21 @@ import org.springframework.web.bind.annotation.RestController;
|
|
public class BehospitalInfoController {
|
|
public class BehospitalInfoController {
|
|
@Autowired
|
|
@Autowired
|
|
private BehospitalInfoManagementFacade behospitalInfoManagementFacade;
|
|
private BehospitalInfoManagementFacade behospitalInfoManagementFacade;
|
|
|
|
+ @Autowired
|
|
|
|
+ private BehospitalInfoManagementFacade_New behospitalInfoManagementFacadeNew;
|
|
|
|
+
|
|
@ApiOperation(value = "评分[by:zhoutg]",
|
|
@ApiOperation(value = "评分[by:zhoutg]",
|
|
notes = "")
|
|
notes = "")
|
|
- @PostMapping("/analyze")
|
|
|
|
|
|
+ @PostMapping("/analyze===")
|
|
@Transactional
|
|
@Transactional
|
|
public CommonResult<AnalyzeDTO> analyze(@RequestBody AnalyzeVO analyzeVO) {
|
|
public CommonResult<AnalyzeDTO> analyze(@RequestBody AnalyzeVO analyzeVO) {
|
|
return CommonResult.success(behospitalInfoManagementFacade.analyze(analyzeVO));
|
|
return CommonResult.success(behospitalInfoManagementFacade.analyze(analyzeVO));
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "评分[by:zhoutg]",notes = "")
|
|
|
|
+ @PostMapping("/analyze")
|
|
|
|
+ @Transactional
|
|
|
|
+ public CommonResult<AnalyzeDTO> analyzeNew(@RequestBody AnalyzeVO analyzeVO) {
|
|
|
|
+ return CommonResult.success(behospitalInfoManagementFacadeNew.analyze(analyzeVO));
|
|
|
|
+ }
|
|
}
|
|
}
|