feiyu02
2024-08-15 196bb14112448857a885e32dc4149e308e00b01a
src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/AuthSceneRestVo.kt
@@ -7,6 +7,7 @@
import cn.flightfeather.supervision.infrastructure.utils.UUIDGenerator
import org.springframework.beans.BeanUtils
import java.util.*
import kotlin.math.round
/**
 * 餐饮店认证信息
@@ -58,7 +59,8 @@
//            rbOutfallLocation = rbOutfallLocation
//            rbOutfallNum = rbOutfallNum
            BeanUtils.copyProperties(this@AuthSceneRestVo, this)
            rbCookingOilCapacity = this@AuthSceneRestVo.rbCookingOilCapacity?.div(12).toString()
            val o = this@AuthSceneRestVo.rbCookingOilCapacity?.toDouble()?.div(12)
            rbCookingOilCapacity = round(o?.times(100) ?: .0).div(100).toString()
        }
    }