liusheng
7 天以前 bd6c66c1a161e9f0fe94b94bed7935b2bde541f2
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;
    }
    /**
@@ -168,4 +189,20 @@
        return getDataTable(patMedInhospService.getDocAndPat(patMedInhosp));
    }
//    /**
//     * 医护与患者关联关系
//     *
//     * @return
//     */
//    @ApiOperation("医护与患者关联关系")
//    @GetMapping("/test")
//    public void test() {
//        patMedInhospService.dealOutHospInfo();
//
//        //门诊表
//        if (visitHosp != 1) {
//            iPatMedOuthospService.dealOutpatientInfo();
//        }
//    }
}