|
@@ -7,6 +7,7 @@ import org.springframework.stereotype.Component;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
+import thyyxxk.webserver.config.auth.PassToken;
|
|
|
import thyyxxk.webserver.dao.his.scheduled.DailyPatientCountDao;
|
|
|
import thyyxxk.webserver.entity.scheduled.ClinicCount;
|
|
|
import thyyxxk.webserver.entity.scheduled.DailyPatientCount;
|
|
@@ -29,6 +30,7 @@ public class DailyPatientCountController {
|
|
|
}
|
|
|
|
|
|
@GetMapping("/notifyDailyCount")
|
|
|
+ @PassToken
|
|
|
public void notifyDailyCount() {
|
|
|
DailyPatientCount count = dao.selectDailyCount();
|
|
|
List<ClinicCount> list = dao.selectClinicCount();
|