chengyao 3 лет назад
Родитель
Сommit
571185d068

+ 0 - 9
src/main/java/com/diagbot/aggregate/LeaveHosCountByDeptAggregate.java

@@ -83,10 +83,7 @@ public class LeaveHosCountByDeptAggregate {
      */
     @DataProvider("leaveHosCountByDept")
     public List<NumDTO> leaveHosCountByDept(@InvokeParameter("filterVO") FilterVO filterVO) {
-        long L1 = System.currentTimeMillis();
         List<NumDTO> numDTOS = behospitalInfoFacade.leaveHosCountByDept(filterVO);
-        long L2 = System.currentTimeMillis();
-        System.out.println("出院总人数 = " + (L2-L1));
         return numDTOS;
     }
 
@@ -98,10 +95,7 @@ public class LeaveHosCountByDeptAggregate {
      */
     @DataProvider("deathCountByDept")
     public List<NumDTO> deathCountByDept(@InvokeParameter("filterVO") FilterVO filterVO) {
-        long L1 = System.currentTimeMillis();
         List<NumDTO> numDTOS = behospitalInfoFacade.deathCountByDept(filterVO);
-        long L2 = System.currentTimeMillis();
-        System.out.println("死亡人数 = " + (L2-L1));
         return numDTOS;
 
     }
@@ -114,10 +108,7 @@ public class LeaveHosCountByDeptAggregate {
      */
     @DataProvider("operationCountByDept")
     public List<NumDTO> operationCountByDept(@InvokeParameter("filterVO") FilterVO filterVO) {
-        long L1 = System.currentTimeMillis();
         List<NumDTO> numDTOS = behospitalInfoFacade.operationCountByDept(filterVO);
-        long L2 = System.currentTimeMillis();
-        System.out.println("手术人数 = " + (L2-L1));
         return numDTOS;
     }
 

+ 0 - 2
src/main/java/com/diagbot/facade/ConsoleByDeptFacade.java

@@ -56,7 +56,6 @@ public class ConsoleByDeptFacade {
      * @return
      */
     public Map<String, Object> leaveHosCountByDept(FilterVO filterVO) {
-        long L1 = System.currentTimeMillis();
         Map<String, Object> retMap = new LinkedHashMap<>();
         filterFacade.filterVOSet(filterVO);
         //关联科室
@@ -69,7 +68,6 @@ public class ConsoleByDeptFacade {
             invokeParams.put("filterVO", filterVO);
             retMap  = dataBeanAggregateQueryFacade.get("setAllLeaveHosCount", invokeParams, Map.class);
             long L2 = System.currentTimeMillis();
-            System.out.println("总耗时 = " + (L2-L1));
         } catch (Exception e) {
             throw new CommonException(CommonErrorCode.SERVER_IS_ERROR);
         }