|
@@ -866,8 +866,10 @@ func (c *DialysisAPIController) PostAcceptsAssessment() {
|
866
|
866
|
psychological_other := c.GetString("psychological_other")
|
867
|
867
|
|
868
|
868
|
admission_number := c.GetString("admission_number")
|
869
|
|
- tumble, _ := c.GetInt64("diacrisis")
|
|
869
|
+ tumble, _ := c.GetInt64("tumble")
|
870
|
870
|
diacrisis := c.GetString("diacrisis")
|
|
871
|
+ his_department := c.GetString("his_department")
|
|
872
|
+ his_bed := c.GetString("his_bed")
|
871
|
873
|
if id <= 0 {
|
872
|
874
|
c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeParamWrong)
|
873
|
875
|
return
|
|
@@ -922,6 +924,8 @@ func (c *DialysisAPIController) PostAcceptsAssessment() {
|
922
|
924
|
AdmissionNumber: admission_number,
|
923
|
925
|
Tumble: tumble,
|
924
|
926
|
Diacrisis: diacrisis,
|
|
927
|
+ HisBed: his_bed,
|
|
928
|
+ HisDepartment: his_department,
|
925
|
929
|
}
|
926
|
930
|
|
927
|
931
|
if receiveTreatment.ID == 0 { //新增
|
|
@@ -4097,12 +4101,6 @@ func (c *DialysisAPIController) GetSchedule() {
|
4097
|
4101
|
schedual_type, _ := c.GetInt64("schedual_type")
|
4098
|
4102
|
adminUserInfo := c.GetMobileAdminUserInfo()
|
4099
|
4103
|
|
4100
|
|
- //timeLayout := "2006-01-02 15:04:05"
|
4101
|
|
- //
|
4102
|
|
- //date := time.Now().Format("2006-01-02") + " 00:00:00"
|
4103
|
|
- //loc, _ := time.LoadLocation("Local")
|
4104
|
|
- //theStartTime, _ := time.ParseInLocation(timeLayout, date, loc)
|
4105
|
|
- //scheduleTime := theStartTime.Unix()
|
4106
|
4104
|
scheduleTime, _ := c.GetInt64("record_date")
|
4107
|
4105
|
deviceNumber, _ := service.GetAllDeviceNumbers(adminUserInfo.Org.Id, scheduleTime, schedual_type)
|
4108
|
4106
|
list, _ := service.GetAllBedNumberSeven(adminUserInfo.Org.Id)
|