| | |
| | | import cn.flightfeather.supervision.infrastructure.utils.UUIDGenerator |
| | | import org.springframework.beans.BeanUtils |
| | | import java.util.* |
| | | import kotlin.math.round |
| | | |
| | | /** |
| | | * 餐饮店认证信息 |
| | |
| | | // 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() |
| | | } |
| | | } |
| | | |