liusheng
昨天 e4e220916dd2a4aa649a9b0162e5b5ed0dc9d7e5
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedInhospController.java
@@ -12,10 +12,13 @@
import com.smartor.domain.PatMedInhosp;
import com.smartor.domain.PatMedInhospVO;
import com.smartor.domain.PatMedReq;
import com.smartor.domain.PatServiceCount;
import com.smartor.service.IPatMedInhospService;
import com.smartor.service.IPatMedOuthospService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.util.CollectionUtils;
import org.springframework.web.bind.annotation.*;
@@ -35,6 +38,13 @@
    @Autowired
    private IPatMedInhospService patMedInhospService;
    @Autowired
    private IPatMedOuthospService iPatMedOuthospService;
    @Value("${visitHosp}")
    private Integer visitHosp;
    /**
     * 查询患者住院记录列表
     */
@@ -51,6 +61,17 @@
            }
        });
        return getDataTable2(count, list);
    }
    /**
     * 出院、门诊人数和随访量统计(周,月,年)
     */
    @ApiOperation("出院、门诊人数和随访量统计(周,月,年)")
    //@PreAuthorize("@ss.hasPermi('smartor:patinhosp:list')")
    @PostMapping("/queryPersonCount")
    public TableDataInfo queryPersonCount(@RequestBody PatServiceCount patServiceCount) {
        return null;
    }
    /**
@@ -177,6 +198,11 @@
//    @GetMapping("/test")
//    public void test() {
//        patMedInhospService.dealOutHospInfo();
//
//        //门诊表
//        if (visitHosp != 1) {
//            iPatMedOuthospService.dealOutpatientInfo();
//        }
//    }
}