refactor(oa): 优化工资发放记录日期格式
- 在 GearSalaryRecords、GearSalaryRecordsBo 和 GearSalaryRecordsVo 类中添加 @DateTimeFormat 注解 - 统一发薪月份日期格式为 "yyyy-MM-dd HH:mm:ss" - 提高日期数据的可读性和一致性
This commit is contained in:
@@ -14,6 +14,7 @@ import java.util.List;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.gear.common.core.domain.BaseEntity;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* 工资发放记录业务对象 gear_salary_records
|
||||
@@ -39,6 +40,7 @@ public class GearSalaryRecordsBo extends BaseEntity {
|
||||
/**
|
||||
* 发薪月份(YYYY-MM-01)
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date payPeriod;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user