更新
1.上传检材照片时以时间戳为文件名以方便后续的排序
This commit is contained in:
@@ -703,8 +703,8 @@ public class EntrustmentIdentificationMaterialController {
|
||||
}
|
||||
//String fileName = DateUtil.format(new Date(), "yyyyMMddHHmmss") + "." + suffix;
|
||||
// int randomNumber = (int) (Math.random() * 90) + 10; // [10, 99]
|
||||
System.currentTimeMillis();
|
||||
String fileName = IdWorker.get32UUID().toUpperCase() + "." + suffix;
|
||||
// 20241127 为了后续可以对上传的照片进行排序,防止照片上传顺序错乱
|
||||
String fileName = System.currentTimeMillis() + "." + suffix;
|
||||
System.out.println(String.format("fileName=[%s]", fileName));
|
||||
|
||||
//去掉头信息
|
||||
|
||||
Reference in New Issue
Block a user