|
@@ -1375,7 +1375,7 @@ func (c *ZHHisApiController) GetPreSettleInfo() {
|
1375
|
1375
|
return
|
1376
|
1376
|
} else {
|
1377
|
1377
|
//order, _ := service.GetHisOrderTwo(adminUser.CurrentOrgId, chrg_bchno, id)
|
1378
|
|
- order.OrderStatus = 2
|
|
1378
|
+ order.OrderStatus = 1
|
1379
|
1379
|
order.MdtrtId = res.Output.Setlinfo.MdtrtID
|
1380
|
1380
|
order.SetlId = res.Output.Setlinfo.SetlID
|
1381
|
1381
|
order.PsnNo = res.Output.Setlinfo.PsnNo
|
|
@@ -1428,11 +1428,11 @@ func (c *ZHHisApiController) GetPreSettleInfo() {
|
1428
|
1428
|
setlDetail, _ := json.Marshal(res.Output.Setldetail)
|
1429
|
1429
|
detailStr := string(setlDetail)
|
1430
|
1430
|
order.SetlDetail = detailStr
|
1431
|
|
- err := service.UpdataOrderStatusTwo(chrg_bchno, c.GetAdminUserInfo().CurrentOrgId)
|
1432
|
|
- err = service.UpDateOrder(order)
|
|
1431
|
+ //err := service.UpdataOrderStatusTwo(chrg_bchno, c.GetAdminUserInfo().CurrentOrgId)
|
|
1432
|
+ err := service.UpDateOrder(order)
|
1433
|
1433
|
if err == nil {
|
1434
|
1434
|
c.ServeSuccessJSON(map[string]interface{}{
|
1435
|
|
- "msg": "结算成功",
|
|
1435
|
+ "msg": "预结算成功",
|
1436
|
1436
|
})
|
1437
|
1437
|
} else {
|
1438
|
1438
|
c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeAmountAccountException)
|