aa
This commit is contained in:
@@ -52,8 +52,10 @@ func SimFlowDaySettle() (err error) {
|
||||
} else {
|
||||
if sumExpend, err := dao.GetSimFlowExpendSum(db, v.IccID, monthBegin, monthEnd); err == nil {
|
||||
cardFlow := putils.Flow2KB(putils.SplitFlowAndUnit(getCardInfoResultMonth.CardFlow))
|
||||
fmt.Println("11111111111111111111", cardFlow, sumExpend.Flow)
|
||||
flowExpend.Flow, flowExpend.FlowUnit = putils.FlowKB2Other(cardFlow - sumExpend.Flow)
|
||||
if flowExpend.Flow < 0 {
|
||||
err = fmt.Errorf("流量计算有问题!")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user