1.一体机排号接口:
http://localhost:8080/vaccinate/api/bsRegQueue/getRegQueue?unicode=9999999999&description=test&localCode2=3609830102
//接口返回数据格式{ "code":"200", "msg":"排号成功", "result":true, "success":true, "data":{ "id":"9e88c83ba91c41a285069d1803d286cc", "isNewRecord":false, "localCode":"3609830102", "localCode2":"3609830102", "createDate":"2019-04-26 13:45:02", "updateDate":"2019-04-26 13:45:02", "queue":"A001", "unicode":"9999999999", "status":"0", "wait":0, "sort":10, "type":"A" } }
2.登记台
2.1.登记台叫号
2.2登记台下一号
接口:synchronized public JSONMessage nextRegQueue(BsRegQueue bsRegQueue) {}
之后同样调用叫号接口方法
3.接种台
接口: public @ResponseBody String callNumber(Quene quene) {
接种台页面jsp:inoculateConsole.jsp
下一号是在前端处理获取到队列quene,再调用上面的叫号接口