diff --git a/ynexam-ynedu/src/main/java/com/xhm/ynedu/domain/YnExaminationRoom.java b/ynexam-ynedu/src/main/java/com/xhm/ynedu/domain/YnExaminationRoom.java index fb842ea..771e451 100644 --- a/ynexam-ynedu/src/main/java/com/xhm/ynedu/domain/YnExaminationRoom.java +++ b/ynexam-ynedu/src/main/java/com/xhm/ynedu/domain/YnExaminationRoom.java @@ -39,7 +39,7 @@ public class YnExaminationRoom extends BaseEntity /** 创建时间 */ @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss") - @DateTimeFormat(pattern = "yyyy-MM-dd") + @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss") @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") private Date createdTime; diff --git a/ynexam-ynedu/src/main/resources/mapper/ynedu/YnSubjectMapper.xml b/ynexam-ynedu/src/main/resources/mapper/ynedu/YnSubjectMapper.xml index b88ae9d..e4fef2e 100644 --- a/ynexam-ynedu/src/main/resources/mapper/ynedu/YnSubjectMapper.xml +++ b/ynexam-ynedu/src/main/resources/mapper/ynedu/YnSubjectMapper.xml @@ -112,11 +112,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" instrument = #{instrument}, score = #{score}, weight = #{weight}, - station_code = #{stationCode} deleted_time = #{deletedTime}, created_by = #{createdBy}, created_time = #{createdTime}, updated_by = #{updatedBy}, + updated_time = #{updatedTime}, updated_time = now(), where id = #{id}