| | |
| | | import com.ld.igds.constant.GrainFrequence; |
| | | import com.ld.igds.data.ConfigData; |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.apache.commons.lang3.RandomUtils; |
| | | import org.apache.commons.lang.math.RandomUtils; |
| | | import org.apache.commons.lang3.time.DateFormatUtils; |
| | | |
| | | import java.util.*; |
| | |
| | | } |
| | | |
| | | public static String getTimeId(int random) { |
| | | return DateFormatUtils.format(new Date(), "yyyyMMddHHmmss") + "_" + RandomUtils.nextInt(0, random); |
| | | return DateFormatUtils.format(new Date(), "yyyyMMddHHmmss") + RandomUtils.nextInt(random); |
| | | } |
| | | |
| | | /** |