Browse Source

医学规则测试

zhaops 4 years ago
parent
commit
99c7cd888b

+ 7 - 9
cdssman-service/src/main/java/com/diagbot/aggregate/RuleTestAggregate.java

@@ -179,7 +179,6 @@ public class RuleTestAggregate {
         return true;
     }
 
-    @Transactional
     public Boolean billRuleTestExe(BillRuleVO billRuleVO) {
         Long hospitalId = billRuleVO.getHospitalId();
 
@@ -218,7 +217,6 @@ public class RuleTestAggregate {
         return true;
     }
 
-    @Transactional
     public Boolean billTransfusionRuleTestExe(BillRuleVO billRuleVO) {
         Long hospitalId = billRuleVO.getHospitalId();
         List<TransfusionRemind> billRules_transfusion = transfusionRemindRepository.findByStatus(StatusEnum.Enable.getKey());
@@ -255,7 +253,6 @@ public class RuleTestAggregate {
         return true;
     }
 
-    @Transactional
     public Boolean criticalLisRuleTestExe(CriticalRuleVO criticalRuleVO) {
         Long hospitalId = criticalRuleVO.getHospitalId();
         List<LisCritical> criticalRules_lis = lisCriticalRepository.findCustomByStatus(StatusEnum.Enable.getKey());
@@ -289,7 +286,6 @@ public class RuleTestAggregate {
         return true;
     }
 
-    @Transactional
     public Boolean criticalPacsRuleTestExe(CriticalRuleVO criticalRuleVO) {
         Long hospitalId = criticalRuleVO.getHospitalId();
         List<PacsCritical> criticalRules_pacs = pacsCriticalRepository.findByStatus(StatusEnum.Enable.getKey());
@@ -323,7 +319,6 @@ public class RuleTestAggregate {
         return true;
     }
 
-    @Transactional
     public Boolean highriskDrugRuleTestExe(HighriskRuleVO highriskRuleVO) {
         Long hospitalId = highriskRuleVO.getHospitalId();
         List<MedRegName> items = medRegNameRepository.findByStatusAndRisklevelExists(1);
@@ -357,7 +352,6 @@ public class RuleTestAggregate {
         return true;
     }
 
-    @Transactional
     public Boolean highriskOperationRuleTestExe(HighriskRuleVO highriskRuleVO) {
         Long hospitalId = highriskRuleVO.getHospitalId();
         List<YiBaoOperationName> items = yiBaoOperationNameRepository.findByStatusAndOpgradeExists(1);
@@ -392,7 +386,6 @@ public class RuleTestAggregate {
         return true;
     }
 
-    @Transactional
     public Boolean otherLisRuleTestExe(OtherRuleVO otherRuleVO) {
         Long hospitalId = otherRuleVO.getHospitalId();
         List<LisRemind> items = lisRemindRepository.findByStatus(1);
@@ -427,7 +420,6 @@ public class RuleTestAggregate {
         return true;
     }
 
-    @Transactional
     public Boolean otherPacsRuleTestExe(OtherRuleVO otherRuleVO) {
         Long hospitalId = otherRuleVO.getHospitalId();
         List<PacsRemind> items = pacsRemindRepository.findByStatus(1);
@@ -462,7 +454,6 @@ public class RuleTestAggregate {
         return true;
     }
 
-    @Transactional
     public Boolean otherTransfusionRuleTestExe(OtherRuleVO otherRuleVO) {
         Long hospitalId = otherRuleVO.getHospitalId();
         List<TransfusionSuggest> items = transfusionSuggestRepository.findByStatus(1);
@@ -867,6 +858,7 @@ public class RuleTestAggregate {
      * @param billRuleVO
      * @return
      */
+    @Transactional
     public Boolean saveResultBill(List<ResultBill> list, BillRuleVO billRuleVO) {
         Date now = new Date();
         Integer totleNum = list.size();
@@ -911,6 +903,7 @@ public class RuleTestAggregate {
      * @param criticalRuleVO
      * @return
      */
+    @Transactional
     public Boolean saveResultCritical(List<ResultCritical> list, CriticalRuleVO criticalRuleVO) {
         Date now = new Date();
         Integer totleNum = list.size();
@@ -955,6 +948,7 @@ public class RuleTestAggregate {
      * @param highriskRuleVO
      * @return
      */
+    @Transactional
     public Boolean saveResultHighrisk_drug(List<ResultHighriskDrug> list, HighriskRuleVO highriskRuleVO) {
         Date now = new Date();
         Integer totleNum = list.size();
@@ -998,6 +992,7 @@ public class RuleTestAggregate {
      * @param highriskRuleVO
      * @return
      */
+    @Transactional
     public Boolean saveResultHighrisk_operation(List<ResultHighriskOperation> list, HighriskRuleVO highriskRuleVO) {
         Date now = new Date();
         Integer totleNum = list.size();
@@ -1041,6 +1036,7 @@ public class RuleTestAggregate {
      * @param otherRuleVO
      * @return
      */
+    @Transactional
     public Boolean saveResultOther_lis(List<ResultOtherLis> list, OtherRuleVO otherRuleVO) {
         Date now = new Date();
         Integer totleNum = list.size();
@@ -1084,6 +1080,7 @@ public class RuleTestAggregate {
      * @param otherRuleVO
      * @return
      */
+    @Transactional
     public Boolean saveResultOther_pacs(List<ResultOtherPacs> list, OtherRuleVO otherRuleVO) {
         Date now = new Date();
         Integer totleNum = list.size();
@@ -1128,6 +1125,7 @@ public class RuleTestAggregate {
      * @param otherRuleVO
      * @return
      */
+    @Transactional
     public Boolean saveResultOther_transfusion(List<ResultOtherTransfusion> list, OtherRuleVO otherRuleVO) {
         Date now = new Date();
         Integer totleNum = list.size();

+ 1 - 5
cdssman-service/src/main/java/com/diagbot/facade/ResultStaticKnowledgeFacade.java

@@ -104,7 +104,6 @@ public class ResultStaticKnowledgeFacade extends ResultStaticKnowledgeServiceImp
      * @param testVO
      * @return
      */
-    @Transactional
     public Boolean lisTest(MultipartFile file, StaticKnowledgeTestVO testVO) {
         RunningInfoVO runningInfoVO = new RunningInfoVO();
         runningInfoVO.setCaseId(testVO.getCaseId());
@@ -295,7 +294,6 @@ public class ResultStaticKnowledgeFacade extends ResultStaticKnowledgeServiceImp
      * @param testVO
      * @return
      */
-    @Transactional
     public Boolean pacsTest(MultipartFile file, StaticKnowledgeTestVO testVO) {
         RunningInfoVO runningInfoVO = new RunningInfoVO();
         runningInfoVO.setCaseId(testVO.getCaseId());
@@ -470,7 +468,6 @@ public class ResultStaticKnowledgeFacade extends ResultStaticKnowledgeServiceImp
      * @param testVO
      * @return
      */
-    @Transactional
     public Boolean drugTest(MultipartFile file, StaticKnowledgeTestVO testVO) {
         RunningInfoVO runningInfoVO = new RunningInfoVO();
         runningInfoVO.setCaseId(testVO.getCaseId());
@@ -639,7 +636,6 @@ public class ResultStaticKnowledgeFacade extends ResultStaticKnowledgeServiceImp
      * @param testVO
      * @return
      */
-    @Transactional
     public Boolean diseaseTest(MultipartFile file, StaticKnowledgeTestVO testVO) {
         RunningInfoVO runningInfoVO = new RunningInfoVO();
         runningInfoVO.setCaseId(testVO.getCaseId());
@@ -781,7 +777,6 @@ public class ResultStaticKnowledgeFacade extends ResultStaticKnowledgeServiceImp
      * @param testVO
      * @return
      */
-    @Transactional
     public Boolean operationTest(MultipartFile file, StaticKnowledgeTestVO testVO) {
         RunningInfoVO runningInfoVO = new RunningInfoVO();
         runningInfoVO.setCaseId(testVO.getCaseId());
@@ -926,6 +921,7 @@ public class ResultStaticKnowledgeFacade extends ResultStaticKnowledgeServiceImp
      * @param testVO
      * @return
      */
+    @Transactional
     public Boolean saveResult(List<ResultStaticKnowledge> list, StaticKnowledgeTestVO testVO) {
         Date now = new Date();
         Integer totleNum = list.size();