施工人员考勤列表、考勤记录相关接口
This commit is contained in:
		@ -1,18 +0,0 @@
 | 
			
		||||
package org.dromara.common.core.constant;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 通用常量
 | 
			
		||||
 */
 | 
			
		||||
public interface CommonConstant {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 升序
 | 
			
		||||
     */
 | 
			
		||||
    String SORT_ORDER_ASC = "ascend";
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 降序
 | 
			
		||||
     */
 | 
			
		||||
    String SORT_ORDER_DESC = " descend";
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
@ -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])$");
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user