施工人员考勤列表、考勤记录相关接口

This commit is contained in:
lcj
2025-04-07 17:25:20 +08:00
parent a529a8b7e3
commit fe596e6fc1
25 changed files with 974 additions and 360 deletions

View File

@ -1,18 +0,0 @@
package org.dromara.common.core.constant;
/**
* 通用常量
*/
public interface CommonConstant {
/**
* 升序
*/
String SORT_ORDER_ASC = "ascend";
/**
* 降序
*/
String SORT_ORDER_DESC = " descend";
}

View File

@ -0,0 +1,14 @@
package org.dromara.common.core.constant;
import java.util.regex.Pattern;
/**
* @author lcj
* @date 2025/4/7 17:12
*/
public interface DateConstant {
// 匹配 "yyyy-MM",年四位,月 01~12
Pattern YEAR_MONTH_PATTERN = Pattern.compile("^\\d{4}-(0[1-9]|1[0-2])$");
}