Procházet zdrojové kódy

Merge branch 'master' of http://git.shengws.com/csx/XT_New

csx před 4 roky
rodič
revize
f46eba61d4

+ 2 - 0
controllers/mobile_api_controllers/dialysis_api_controller.go Zobrazit soubor

@@ -220,6 +220,7 @@ func (this *DialysisAPIController) WaitingScheduals() {
220 220
 // @param patient_id:int
221 221
 // @param date:string (yyyy-MM-dd)
222 222
 func (this *DialysisAPIController) DialysisRecord() {
223
+
223 224
 	patientID, _ := this.GetInt64("patient_id")
224 225
 	recordDateStr := this.GetString("date")
225 226
 	if patientID <= 0 {
@@ -284,6 +285,7 @@ func (this *DialysisAPIController) DialysisRecord() {
284 285
 	}
285 286
 
286 287
 	dialysisOrder, getDialysisOrderErr := service.MobileGetSchedualDialysisRecord(adminInfo.Org.Id, patientID, date.Unix())
288
+	fmt.Println("----------------------------", getDialysisOrderErr)
287 289
 	if getDialysisOrderErr != nil {
288 290
 		this.ErrorLog("获取透析记录失败:%v", getDialysisOrderErr)
289 291
 		this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)

+ 1 - 1
controllers/mobile_api_controllers/patient_api_controller.go Zobrazit soubor

@@ -2080,6 +2080,7 @@ func (c *PatientApiController) GetDoctorAdvices() {
2080 2080
 }
2081 2081
 
2082 2082
 func (c *PatientApiController) GetPrintDialysisOrder() {
2083
+	fmt.Println("触发-------------------------")
2083 2084
 	xtno := c.GetString("xtno")
2084 2085
 	xtdate := c.GetString("xtdate")
2085 2086
 
@@ -2154,7 +2155,6 @@ func (c *PatientApiController) GetPrintDialysisOrder() {
2154 2155
 	operators, _ := service.GetAdminUserES(adminUserInfo.Org.Id, adminUserInfo.App.Id, operatorIDs)
2155 2156
 	templateInfo, _ := service.GetOrgInfoTemplate(adminUserInfo.Org.Id)
2156 2157
 	check, _ := service.FindDoubleCheckById(adminUserInfo.Org.Id, patientInfo.ID, xttime)
2157
-
2158 2158
 	c.ServeSuccessJSON(map[string]interface{}{
2159 2159
 		"users":                   adminUser,
2160 2160
 		"patientInfo":             patientInfo,