|
@@ -149,16 +149,16 @@ func (c *HisApiController) GetSettleList() {
|
149
|
149
|
|
150
|
150
|
var tempFunPays []*service.CustomStruct
|
151
|
151
|
for _, item := range rf {
|
152
|
|
- var tempFunPay *service.CustomStruct
|
|
152
|
+ var tempFunPay service.CustomStruct
|
153
|
153
|
tempFunPay.FundPayamt = item.FundPayamt
|
154
|
154
|
tempFunPay.FundPayType = item.FundPayType
|
155
|
|
- tempFunPays = append(tempFunPays, tempFunPay)
|
|
155
|
+ tempFunPays = append(tempFunPays, &tempFunPay)
|
156
|
156
|
}
|
157
|
157
|
struct4101.CustomStruct = tempFunPays
|
158
|
158
|
|
159
|
159
|
var tempOpspdiseinfos []*service.OpspdiseinfoStruct
|
160
|
|
- var tempOpspdiseinfo *service.OpspdiseinfoStruct
|
161
|
|
- var tempOpspdiseinfo2 *service.OpspdiseinfoStruct
|
|
160
|
+ var tempOpspdiseinfo service.OpspdiseinfoStruct
|
|
161
|
+ var tempOpspdiseinfo2 service.OpspdiseinfoStruct
|
162
|
162
|
sickConfig, _ := service.FindDiagnoseById(his.Diagnosis)
|
163
|
163
|
sickConfigTwo, _ := service.FindSickById(his.SickType)
|
164
|
164
|
tempOpspdiseinfo.DiagCode = sickConfig.CountryCode
|
|
@@ -166,16 +166,16 @@ func (c *HisApiController) GetSettleList() {
|
166
|
166
|
tempOpspdiseinfo.MaindiagFlag = "1"
|
167
|
167
|
tempOpspdiseinfo.OprnOprtCode = ""
|
168
|
168
|
tempOpspdiseinfo.OprnOprtName = ""
|
169
|
|
- tempOpspdiseinfos = append(tempOpspdiseinfos, tempOpspdiseinfo)
|
|
169
|
+ tempOpspdiseinfos = append(tempOpspdiseinfos, &tempOpspdiseinfo)
|
170
|
170
|
tempOpspdiseinfo2.DiagCode = sickConfigTwo.CountryCode
|
171
|
171
|
tempOpspdiseinfo2.DiagName = sickConfigTwo.CountryContentName
|
172
|
172
|
tempOpspdiseinfo2.MaindiagFlag = "2"
|
173
|
173
|
tempOpspdiseinfo2.OprnOprtCode = ""
|
174
|
174
|
tempOpspdiseinfo2.OprnOprtName = ""
|
175
|
|
- tempOpspdiseinfos = append(tempOpspdiseinfos, tempOpspdiseinfo2)
|
|
175
|
+ tempOpspdiseinfos = append(tempOpspdiseinfos, &tempOpspdiseinfo2)
|
176
|
176
|
struct4101.OpspdiseinfoStruct = tempOpspdiseinfos
|
177
|
177
|
|
178
|
|
- var iteminfo *service.IteminfoStruct
|
|
178
|
+ var iteminfo service.IteminfoStruct
|
179
|
179
|
|
180
|
180
|
var bedCostTotal float64 = 0 //床位总费
|
181
|
181
|
var bedCostSelfTotal float64 = 0 //床位自费
|
|
@@ -443,7 +443,7 @@ func (c *HisApiController) GetSettleList() {
|
443
|
443
|
iteminfo.ClaaSumfee = bed_claa_sunmfee
|
444
|
444
|
iteminfo.ClabAmt = bed_clab_amt
|
445
|
445
|
iteminfo.OthAmt = bed_other_amt
|
446
|
|
- iteminfoStructs = append(iteminfoStructs, iteminfo)
|
|
446
|
+ iteminfoStructs = append(iteminfoStructs, &iteminfo)
|
447
|
447
|
}
|
448
|
448
|
|
449
|
449
|
if checkCostTotal != 0 {
|
|
@@ -453,7 +453,7 @@ func (c *HisApiController) GetSettleList() {
|
453
|
453
|
iteminfo.ClaaSumfee = check_claa_sunmfee
|
454
|
454
|
iteminfo.ClabAmt = check_clab_amt
|
455
|
455
|
iteminfo.OthAmt = check_other_amt
|
456
|
|
- iteminfoStructs = append(iteminfoStructs, iteminfo)
|
|
456
|
+ iteminfoStructs = append(iteminfoStructs, &iteminfo)
|
457
|
457
|
|
458
|
458
|
}
|
459
|
459
|
|
|
@@ -464,7 +464,7 @@ func (c *HisApiController) GetSettleList() {
|
464
|
464
|
iteminfo.ClaaSumfee = laboratory_claa_sunmfee
|
465
|
465
|
iteminfo.ClabAmt = laboratory_clab_amt
|
466
|
466
|
iteminfo.OthAmt = laboratory_other_amt
|
467
|
|
- iteminfoStructs = append(iteminfoStructs, iteminfo)
|
|
467
|
+ iteminfoStructs = append(iteminfoStructs, &iteminfo)
|
468
|
468
|
|
469
|
469
|
//struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
470
|
470
|
|
|
@@ -477,7 +477,7 @@ func (c *HisApiController) GetSettleList() {
|
477
|
477
|
iteminfo.ClaaSumfee = treat_claa_sunmfee
|
478
|
478
|
iteminfo.ClabAmt = treat_clab_amt
|
479
|
479
|
iteminfo.OthAmt = treat_other_amt
|
480
|
|
- iteminfoStructs = append(iteminfoStructs, iteminfo)
|
|
480
|
+ iteminfoStructs = append(iteminfoStructs, &iteminfo)
|
481
|
481
|
|
482
|
482
|
// (struct4101.IteminfoStruct, iteminfo)
|
483
|
483
|
|
|
@@ -493,7 +493,7 @@ func (c *HisApiController) GetSettleList() {
|
493
|
493
|
iteminfo.ClabAmt = operation_clab_amt
|
494
|
494
|
iteminfo.OthAmt = operation_other_amt
|
495
|
495
|
//struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
496
|
|
- iteminfoStructs = append(iteminfoStructs, iteminfo)
|
|
496
|
+ iteminfoStructs = append(iteminfoStructs, &iteminfo)
|
497
|
497
|
|
498
|
498
|
}
|
499
|
499
|
|
|
@@ -505,7 +505,7 @@ func (c *HisApiController) GetSettleList() {
|
505
|
505
|
iteminfo.ClabAmt = material_clab_amt
|
506
|
506
|
iteminfo.OthAmt = material_other_amt
|
507
|
507
|
//struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
508
|
|
- iteminfoStructs = append(iteminfoStructs, iteminfo)
|
|
508
|
+ iteminfoStructs = append(iteminfoStructs, &iteminfo)
|
509
|
509
|
|
510
|
510
|
}
|
511
|
511
|
if westernMedicineCostTotal != 0 {
|
|
@@ -516,7 +516,7 @@ func (c *HisApiController) GetSettleList() {
|
516
|
516
|
iteminfo.ClabAmt = westernMedicine_clab_amt
|
517
|
517
|
iteminfo.OthAmt = westernMedicine_other_amt
|
518
|
518
|
//struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
519
|
|
- iteminfoStructs = append(iteminfoStructs, iteminfo)
|
|
519
|
+ iteminfoStructs = append(iteminfoStructs, &iteminfo)
|
520
|
520
|
|
521
|
521
|
}
|
522
|
522
|
if chineseTraditionalMedicineCostTotal != 0 {
|
|
@@ -527,7 +527,7 @@ func (c *HisApiController) GetSettleList() {
|
527
|
527
|
iteminfo.ClabAmt = westernMedicine_clab_amt
|
528
|
528
|
iteminfo.OthAmt = westernMedicine_other_amt
|
529
|
529
|
//struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
530
|
|
- iteminfoStructs = append(iteminfoStructs, iteminfo)
|
|
530
|
+ iteminfoStructs = append(iteminfoStructs, &iteminfo)
|
531
|
531
|
|
532
|
532
|
}
|
533
|
533
|
if otherCostTotal != 0 {
|
|
@@ -538,7 +538,7 @@ func (c *HisApiController) GetSettleList() {
|
538
|
538
|
iteminfo.ClabAmt = other_clab_amt
|
539
|
539
|
iteminfo.OthAmt = other_other_amt
|
540
|
540
|
//struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
541
|
|
- iteminfoStructs = append(iteminfoStructs, iteminfo)
|
|
541
|
+ iteminfoStructs = append(iteminfoStructs, &iteminfo)
|
542
|
542
|
|
543
|
543
|
}
|
544
|
544
|
struct4101.IteminfoStruct = iteminfoStructs
|