Commit cc6fa259 authored by 赵鹏翔's avatar 赵鹏翔

utils convert java 2 koltin

parent 4371306f
package com.fastcashier.lib_common.base;
import java.io.Serializable;
/**
* 基础DO类,提供toString快方法
*/
public class BaseBean implements Serializable {
private static final long serialVersionUID = 1L;
// public String toString() {
// return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
// }
}
package com.fastcashier.lib_common.base
import java.io.Serializable
/**
* 基础DO类,提供toString快方法
*/
open class BaseBean : Serializable {
companion object {
private const val serialVersionUID = 1L // public String toString() {
// return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
// }
}
}
\ No newline at end of file
......@@ -86,7 +86,7 @@ class OrderRecordManageKit {
}
private fun getYesterdayOrderMMKV(): MMKV {
val yesteday = DateUtils.getYestedayFormat8()
val yesteday = DateUtils.yestedayFormat8
val MMKV_ID_YESTERDAY = MMKV_ID.plus(yesteday)
return MMKV.mmkvWithID(MMKV_ID_YESTERDAY)
}
......
......@@ -6,8 +6,9 @@ import android.content.pm.PackageManager
import android.os.AsyncTask
import android.os.Environment
import android.util.Log
import com.fastcashier.lib_common.util.DateUtils
import com.fastcashier.lib_common.util.DateUtils.*
import com.fastcashier.lib_common.util.DateUtils.DF_YYYYMMDD
import com.fastcashier.lib_common.util.DateUtils.format8
import com.fastcashier.lib_common.util.DateUtils.stringToLong
import java.io.*
import java.nio.charset.Charset
import java.text.ParseException
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment