|
@@ -321,7 +321,7 @@ public class SystemConstant {
|
|
|
// public static final int MAX_RETRY_CREATE_PDF_COUNT = 5;
|
|
|
//英文字母、数字、中文括号、英文括号、下划线(_)、减号(-)、中文横线(—)
|
|
|
public static final String REGULAR_EXPRESSION_OF_CODE = "[a-zA-Z0-9](\\w+)?-?(\\w+)?—?(\\w+)?(\\((\\w+)?-?(\\w+)?—?(\\w+)?\\))?(\\((\\w+)?-?(\\w+)?—?(\\w+)?\\))?(\\w+)?";
|
|
|
- // public static final String REGULAR_EXPRESSION_OF_CODE1 = "^[a-zA-Z0-9]+$";
|
|
|
+ public static final String REGULAR_EXPRESSION_OF_STUDENT_CODE = "^[a-zA-Z0-9]+$";
|
|
|
public static final String REGULAR_EXPRESSION_OF_PHONE = "((\\d{3,4})|(\\(\\d{3,4}\\)-))?\\d{7,8}";
|
|
|
public static final String REGULAR_EXPRESSION_OF_CODE_PRIMARY_DIMENSION = "[A-Z]";
|
|
|
public static final String REGULAR_EXPRESSION_OF_CODE_SECOND_DIMENSION = "[A-Z][1-9][0-9]*";
|
|
@@ -1154,7 +1154,7 @@ public class SystemConstant {
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
public static JSONObject createZip(File zipFile, String zipLocalRootPath, String zipDirName, String password) throws Exception {
|
|
|
- if(StringUtils.isBlank(password)){
|
|
|
+ if (StringUtils.isBlank(password)) {
|
|
|
password = SystemConstant.ZIP_ENCRYPT_PWD;
|
|
|
}
|
|
|
FileStoreUtil fileStoreUtil = SpringContextHolder.getBean(FileStoreUtil.class);
|