private var personDaoImpl: SysPersonDaoImpl? = null
一般是申明的时候指定了可以为空 但实际为null时,kotlin无法智能转换 ,修改成:
private lateinit var personDaoImpl: SysPersonDaoImpl
private var personDaoImpl: SysPersonDaoImpl? = null
一般是申明的时候指定了可以为空 但实际为null时,kotlin无法智能转换 ,修改成:
private lateinit var personDaoImpl: SysPersonDaoImpl
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。