28169 2 kuukautta sitten
vanhempi
commit
ea86cd5151

BIN
XT_New.exe Näytä tiedosto


+ 4 - 4
controllers/base_api_controller.go Näytä tiedosto

@@ -83,7 +83,7 @@ func (this *BaseAuthAPIController) Prepare() {
83 83
 		userAdmin.ModifyTime = 1530786071
84 84
 		var subscibe models.ServeSubscibe
85 85
 		subscibe.ID = 11
86
-		subscibe.OrgId = 9478 //机构id
86
+		subscibe.OrgId = 10164 //机构id
87 87
 		subscibe.PeriodStart = 1547447814
88 88
 		subscibe.PeriodEnd = 1550039814
89 89
 		subscibe.State = 1
@@ -93,7 +93,7 @@ func (this *BaseAuthAPIController) Prepare() {
93 93
 		subscibes := make(map[int64]*models.ServeSubscibe, 0)
94 94
 		subscibes[4] = &subscibe
95 95
 		var adminUserInfo service.AdminUserInfo
96
-		adminUserInfo.CurrentOrgId = 9478  //机构id小英9675或4
96
+		adminUserInfo.CurrentOrgId = 10164 //机构id小英9675或4
97 97
 		adminUserInfo.CurrentAppId = 18470 //4
98 98
 		adminUserInfo.AdminUser = &userAdmin
99 99
 		adminUserInfo.Subscibes = subscibes
@@ -329,7 +329,7 @@ func (this *BaseServeAPIController) Prepare() {
329 329
 		userAdmin.ModifyTime = 1530786071
330 330
 		var subscibe models.ServeSubscibe
331 331
 		subscibe.ID = 11
332
-		subscibe.OrgId = 9478 //机构id小英9675或4
332
+		subscibe.OrgId = 10164 //机构id小英9675或4
333 333
 		subscibe.PeriodStart = 1538035409
334 334
 		subscibe.PeriodEnd = 1569571409
335 335
 		subscibe.State = 1
@@ -339,7 +339,7 @@ func (this *BaseServeAPIController) Prepare() {
339 339
 		subscibes := make(map[int64]*models.ServeSubscibe, 0)
340 340
 		subscibes[4] = &subscibe
341 341
 		var adminUserInfo service.AdminUserInfo
342
-		adminUserInfo.CurrentOrgId = 9478  //机构id小英9675或4
342
+		adminUserInfo.CurrentOrgId = 10164 //机构id小英9675或4
343 343
 		adminUserInfo.CurrentAppId = 18470 //4
344 344
 		adminUserInfo.AdminUser = &userAdmin
345 345
 		adminUserInfo.Subscibes = subscibes

+ 1 - 1
controllers/mobile_api_controllers/dialysis_api_controller.go Näytä tiedosto

@@ -12065,7 +12065,7 @@ func (c *DialysisAPIController) SaveLongMobileAdvice() {
12065 12065
 		StopTime:              0,
12066 12066
 		StopReason:            "",
12067 12067
 		StopDoctor:            0,
12068
-		StopState:             0,
12068
+		StopState:             2,
12069 12069
 		ParentId:              0,
12070 12070
 		ExecutionTime:         0,
12071 12071
 		ExecutionStaff:        0,

+ 1 - 0
models/stock_models.go Näytä tiedosto

@@ -123,6 +123,7 @@ type StWarehousingInfoOne struct {
123 123
 	StorehouseId     int64   `gorm:"column:storehouse_id" json:"storehouse_id" form:"storehouse_id"`
124 124
 	OrgId            int64   `gorm:"column:org_id" json:"org_id"`
125 125
 	Price            float64 `gorm:"column:price" json:"price" form:"price"`
126
+	PackingPrice     float64 `gorm:"column:packing_price" json:"packing_price" form:"packing_price"`
126 127
 }
127 128
 
128 129
 func (StWarehousingInfoOne) TableName() string {

+ 3 - 3
service/export_data_service.go Näytä tiedosto

@@ -224,8 +224,8 @@ func GetHisOrderBy10726Detail(start_time string, end_time string) ([]Results, er
224 224
 		psn_cash_pay AS 现金支付
225 225
 	`).Where("user_org_id = ?", 10726).
226 226
 		Where("order_status = ?", 2).
227
-		Where("setl_time >= ?", start_time).
228
-		Where("setl_time <= ?", end_time).
227
+		Where("setl_time >= ?", start_time+" 00:00:00").
228
+		Where("setl_time <= ?", end_time+" 23:59:59").
229 229
 		Where("is_medicine_insurance = ?", 1).
230 230
 		Where("status = ?", 1).
231 231
 		Scan(&result)
@@ -255,7 +255,7 @@ func GetHisOrderBy10726Summary(start_time string, end_time string) ([]SummaryRes
255 255
 			SUM(psn_cash_pay) AS 现金支付
256 256
 		`).
257 257
 		Where("user_org_id = ? AND order_status = ? AND setl_time >= ? AND setl_time <= ? AND is_medicine_insurance = ? AND status = ?",
258
-			10726, 2, start_time, end_time, 1, 1).
258
+			10726, 2, start_time+" 00:00:00", end_time+" 23:59:59", 1, 1).
259 259
 		Group("insutype").
260 260
 		Scan(&result).Error
261 261
 	return result, err