Browse Source

要素修改

dev
0.0 3 years ago
parent
commit
28a364ed2f
  1. 2
      ynexam-ynedu/src/main/java/com/xhm/ynedu/domain/YnExaminationRoom.java
  2. 2
      ynexam-ynedu/src/main/resources/mapper/ynedu/YnSubjectMapper.xml

2
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;

2
ynexam-ynedu/src/main/resources/mapper/ynedu/YnSubjectMapper.xml

@ -112,11 +112,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="instrument != null">instrument = #{instrument},</if>
<if test="score != null">score = #{score},</if>
<if test="weight != null">weight = #{weight},</if>
<if test="stationCode != null">station_code = #{stationCode}</if>
<if test="deletedTime != null">deleted_time = #{deletedTime},</if>
<if test="createdBy != null">created_by = #{createdBy},</if>
<if test="createdTime != null">created_time = #{createdTime},</if>
<if test="updatedBy != null">updated_by = #{updatedBy},</if>
<if test="updatedTime != null">updated_time = #{updatedTime},</if>
updated_time = now(),
</trim>
where id = #{id}

Loading…
Cancel
Save