Merge branch 'master' into docker_package
This commit is contained in:
commit
75060f9947
|
@ -20,8 +20,6 @@ public class CodeGenerationUtils {
|
|||
|
||||
private static final SimpleDateFormat SIMPLE_DATE_FORMAT = new SimpleDateFormat("YYYYMMdd");
|
||||
|
||||
private static final String day = SIMPLE_DATE_FORMAT.format(new Date());
|
||||
|
||||
public String getResourceNumber(String type) {
|
||||
return null;
|
||||
}
|
||||
|
@ -39,7 +37,7 @@ public class CodeGenerationUtils {
|
|||
*/
|
||||
public String getApplyNumber(String type) {
|
||||
|
||||
String applyNumberPattern = type + day;
|
||||
String applyNumberPattern = type + SIMPLE_DATE_FORMAT.format(new Date());
|
||||
|
||||
if (StringUtils.isBlank(type)) {
|
||||
return "";
|
||||
|
|
Loading…
Reference in New Issue