|
@@ -6,8 +6,11 @@ import com.diagbot.annotation.SysLogger;
|
|
import com.diagbot.dto.BehospitalInfoDTO;
|
|
import com.diagbot.dto.BehospitalInfoDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.facade.BehospitalInfoFacade;
|
|
import com.diagbot.facade.BehospitalInfoFacade;
|
|
|
|
+import com.diagbot.facade.QcresultDetailFacade;
|
|
|
|
+import com.diagbot.facade.QcresultInfoFacade;
|
|
import com.diagbot.vo.AnalyzeVO;
|
|
import com.diagbot.vo.AnalyzeVO;
|
|
import com.diagbot.vo.BehospitalPageVO;
|
|
import com.diagbot.vo.BehospitalPageVO;
|
|
|
|
+import com.diagbot.vo.QcresultVO;
|
|
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;
|
|
@@ -29,9 +32,12 @@ import java.util.Map;
|
|
@RestController
|
|
@RestController
|
|
@RequestMapping("/qc/behospitalInfo")
|
|
@RequestMapping("/qc/behospitalInfo")
|
|
@Api(value = "病历API", tags = { "病历API" })
|
|
@Api(value = "病历API", tags = { "病历API" })
|
|
|
|
+@SuppressWarnings("unchecked")
|
|
public class BehospitalInfoController {
|
|
public class BehospitalInfoController {
|
|
@Autowired
|
|
@Autowired
|
|
BehospitalInfoFacade behospitalInfoFacade;
|
|
BehospitalInfoFacade behospitalInfoFacade;
|
|
|
|
+ @Autowired
|
|
|
|
+ private QcresultInfoFacade qcresultInfoFacade;
|
|
|
|
|
|
@ApiOperation(value = "病历分页列表[by:zhoutg]",
|
|
@ApiOperation(value = "病历分页列表[by:zhoutg]",
|
|
notes = "")
|
|
notes = "")
|
|
@@ -51,4 +57,31 @@ public class BehospitalInfoController {
|
|
Map<String, Object> data = behospitalInfoFacade.analyze(analyzeVO);
|
|
Map<String, Object> data = behospitalInfoFacade.analyze(analyzeVO);
|
|
return RespDTO.onSuc(data);
|
|
return RespDTO.onSuc(data);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "新增质控条目[by:zhoutg]",
|
|
|
|
+ notes = "")
|
|
|
|
+ @PostMapping("/addCase")
|
|
|
|
+ @SysLogger("addCase")
|
|
|
|
+ public RespDTO<Boolean> addCase(@RequestBody QcresultVO qcresultVO){
|
|
|
|
+ qcresultVO.setType(1);
|
|
|
|
+ return RespDTO.onSuc(qcresultInfoFacade.changeQcResult(qcresultVO));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "删除质控条目[by:zhoutg]",
|
|
|
|
+ notes = "")
|
|
|
|
+ @PostMapping("/delCase")
|
|
|
|
+ @SysLogger("delCase")
|
|
|
|
+ public RespDTO<Boolean> delCase(@RequestBody QcresultVO qcresultVO){
|
|
|
|
+ qcresultVO.setType(2);
|
|
|
|
+ return RespDTO.onSuc(qcresultInfoFacade.changeQcResult(qcresultVO));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "修改质控条目[by:zhoutg]",
|
|
|
|
+ notes = "")
|
|
|
|
+ @PostMapping("/updCase")
|
|
|
|
+ @SysLogger("updCase")
|
|
|
|
+ public RespDTO<Boolean> updCase(@RequestBody QcresultVO qcresultVO){
|
|
|
|
+ qcresultVO.setType(3);
|
|
|
|
+ return RespDTO.onSuc(qcresultInfoFacade.changeQcResult(qcresultVO));
|
|
|
|
+ }
|
|
}
|
|
}
|