|
|
|
@ -1610,7 +1610,7 @@ public class TaskQuestServiceImpl extends BaseServiceImpl<TaskQuestMapper, TaskQ
|
|
|
|
|
|
|
|
|
|
private String getQuestNum(String warehouseCode) { |
|
|
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMddHHmmss"); |
|
|
|
|
return "PDRW-" + warehouseCode + "-" + simpleDateFormat.format(new Date()) + new Random().nextInt(900) + 100; |
|
|
|
|
return "PDRW-" + warehouseCode + "-" + simpleDateFormat.format(new Date()) + String.format("%03d", new Random().nextInt(900) + 100); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|