|
@@ -67,6 +67,8 @@ func HisManagerApiRegistRouters() {
|
67
|
67
|
beego.Router("/api/psn/ncds/putonrecord", &HisApiController{}, "get:PsnPutNCDSOnRecord")
|
68
|
68
|
beego.Router("/api/psn/ncds/unputonrecord", &HisApiController{}, "get:PsnPutUnNCDSOnRecord")
|
69
|
69
|
|
|
70
|
+ beego.Router("/api/test", &HisApiController{}, "get:TestTest")
|
|
71
|
+
|
70
|
72
|
}
|
71
|
73
|
|
72
|
74
|
//func (c *HisApiController) TestPay() {
|
|
@@ -1545,14 +1547,12 @@ func (c *HisApiController) GetUploadInfo() {
|
1545
|
1547
|
RecordTime: recordDateTime,
|
1546
|
1548
|
Stage: 6,
|
1547
|
1549
|
}
|
|
1550
|
+ service.CreateErrMsgLog(errlog)
|
1548
|
1551
|
c.ServeSuccessJSON(map[string]interface{}{
|
1549
|
1552
|
"failed_code": -10,
|
1550
|
1553
|
"msg": res.ErrMsg,
|
1551
|
1554
|
})
|
1552
|
1555
|
return
|
1553
|
|
- service.CreateErrMsgLog(errlog)
|
1554
|
|
- //c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeRegisterRepeatException)
|
1555
|
|
- return
|
1556
|
1556
|
} else {
|
1557
|
1557
|
order, _ := service.GetHisOrderTwo(adminUser.CurrentOrgId, chrg_bchno, id)
|
1558
|
1558
|
order.OrderStatus = 2
|
|
@@ -4246,6 +4246,12 @@ func (c *HisApiController) PsnPutUnNCDSOnRecord() {
|
4246
|
4246
|
|
4247
|
4247
|
}
|
4248
|
4248
|
|
|
4249
|
+func (c *HisApiController) TestTest() {
|
|
4250
|
+ patient, _ := service.GetHisPatientInfo(4, 456, 1619712000)
|
|
4251
|
+ fmt.Println(patient.Iinfo)
|
|
4252
|
+
|
|
4253
|
+}
|
|
4254
|
+
|
4249
|
4255
|
func PathExists(path string) (bool, error) {
|
4250
|
4256
|
_, err := os.Stat(path)
|
4251
|
4257
|
if err == nil {
|