|
@@ -203,7 +203,7 @@ public class KuaiShouRealTimeController {
|
|
|
unitInfo.setConverNum(unitInfo.getKeyAction().intValue());
|
|
|
}
|
|
|
//转化成本 = 花费 / 转化数
|
|
|
- unitInfo.setConverCost(unitInfo.getConverNum() == 0 ? 0 : unitInfo.getCharge().doubleValue() / unitInfo.getConverNum().doubleValue());
|
|
|
+ unitInfo.setConverCost(Check.isNull(unitInfo.getCharge()) || Check.isNull(unitInfo.getConverNum()) ? 0 : unitInfo.getCharge().doubleValue() / unitInfo.getConverNum().doubleValue());
|
|
|
//操作建议
|
|
|
//消耗
|
|
|
Double charge = unitInfo.getCharge().doubleValue();
|