浏览代码

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

test_user 1年前
父节点
当前提交
85d82038ea
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      controllers/sg/his_api_controller.go

+ 5 - 0
controllers/sg/his_api_controller.go 查看文件

@@ -192,6 +192,11 @@ func (c *HisApiController) GetCFYLJG001() {
192 192
 		}
193 193
 		cFYLJG001.RxDrugCnt = count
194 194
 		cFYLJG001.ValiDays = "5"
195
+		ts := time.Unix(item.PreTime, 0)
196
+		record_time = ts.AddDate(0, 0, int(5)).Unix()
197
+		tempTime3 := time.Unix(record_time, 0)
198
+		timeFormat3 := tempTime3.Format("2006-01-02 15:04:05")
199
+		cFYLJG001.ValiEndTime = timeFormat3
195 200
 		cFYLJG001.RxCotnFlag = "0"
196 201
 		for _, subItem := range item.HisDoctorAdviceInfo {
197 202
 			var drug models.RxDrug