Compare commits
No commits in common. "3bddcc24372a34fd22c5124a4a5a3e7892537ab8" and "01f6a63b2de368460d63cf00d9311cef7476c9ed" have entirely different histories.
3bddcc2437
...
01f6a63b2d
|
|
@ -12,7 +12,7 @@ logging.config=classpath:${LOG_CONFIG:log4j2-spring.xml}
|
||||||
|
|
||||||
|
|
||||||
spring.datasource.typd=com.alibaba.druid.pool.DruidDataSource
|
spring.datasource.typd=com.alibaba.druid.pool.DruidDataSource
|
||||||
spring.datasource.url=jdbc:mysql://139.224.43.89:3306/em_data?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true&rewriteBatchedStatements=true
|
spring.datasource.url=jdbc:mysql://139.224.43.89:3306/em_data?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&useSSL=true&allowMultiQueries=true&rewriteBatchedStatements=true
|
||||||
spring.datasource.username=comac
|
spring.datasource.username=comac
|
||||||
spring.datasource.password=2024*Comac
|
spring.datasource.password=2024*Comac
|
||||||
spring.servlet.multipart.max-file-size=500MB
|
spring.servlet.multipart.max-file-size=500MB
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package com.electromagnetic.industry.software.data.manage.request.user;
|
package com.electromagnetic.industry.software.data.manage.request.user;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import cn.hutool.core.date.DateTime;
|
||||||
import electromagnetic.data.framework.share.model.BaseRequest;
|
import electromagnetic.data.framework.share.model.BaseRequest;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
|
|
@ -46,8 +46,7 @@ public class UserModiRequest extends BaseRequest implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 入职日期
|
* 入职日期
|
||||||
*/
|
*/
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
private DateTime joinTime;
|
||||||
private Date joinTime;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 工作状态
|
* 工作状态
|
||||||
|
|
@ -57,6 +56,5 @@ public class UserModiRequest extends BaseRequest implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 实习截止日期
|
* 实习截止日期
|
||||||
*/
|
*/
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
||||||
private Date internshipEndDate;
|
private Date internshipEndDate;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
package com.electromagnetic.industry.software.data.manage.request.user;
|
package com.electromagnetic.industry.software.data.manage.request.user;
|
||||||
|
|
||||||
import cn.hutool.core.date.DateTime;
|
import cn.hutool.core.date.DateTime;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
||||||
import electromagnetic.data.framework.share.model.BaseRequest;
|
import electromagnetic.data.framework.share.model.BaseRequest;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
|
|
@ -42,8 +41,7 @@ public class UserRequest extends BaseRequest implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 入职日期
|
* 入职日期
|
||||||
*/
|
*/
|
||||||
@JsonFormat(pattern="yyyy-MM-dd")
|
private DateTime joinTime;
|
||||||
private Date joinTime;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 工作状态
|
* 工作状态
|
||||||
|
|
@ -53,7 +51,6 @@ public class UserRequest extends BaseRequest implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 实习截止日期
|
* 实习截止日期
|
||||||
*/
|
*/
|
||||||
@JsonFormat(pattern="yyyy-MM-dd")
|
|
||||||
private Date internshipEndDate;
|
private Date internshipEndDate;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
package com.electromagnetic.industry.software.data.manage.response.user;
|
package com.electromagnetic.industry.software.data.manage.response.user;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
@ -53,7 +52,6 @@ public class SingleUserResponse {
|
||||||
/**
|
/**
|
||||||
* 入职日期
|
* 入职日期
|
||||||
*/
|
*/
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
||||||
private Date joinTime;
|
private Date joinTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -64,7 +62,6 @@ public class SingleUserResponse {
|
||||||
/**
|
/**
|
||||||
* 实习截止日期
|
* 实习截止日期
|
||||||
*/
|
*/
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
||||||
private Date internshipEndDate;
|
private Date internshipEndDate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@
|
||||||
<if test="userTitle != null and userTitle != ''">user_title = #{userTitle},</if>
|
<if test="userTitle != null and userTitle != ''">user_title = #{userTitle},</if>
|
||||||
<if test="joinTime != null">join_time = #{joinTime},</if>
|
<if test="joinTime != null">join_time = #{joinTime},</if>
|
||||||
<if test="userStatus != null and userStatus != ''">user_status = #{userStatus},</if>
|
<if test="userStatus != null and userStatus != ''">user_status = #{userStatus},</if>
|
||||||
internship_end_date = #{internshipEndDate},
|
<if test="internshipEndDate != null">internship_end_date = #{internshipEndDate},</if>
|
||||||
<if test="modifier != null and modifier != ''">modifier = #{modifier},</if>
|
<if test="modifier != null and modifier != ''">modifier = #{modifier},</if>
|
||||||
<if test="modifierName != null and modifierName != ''">modifier_name = #{modifierName},</if>
|
<if test="modifierName != null and modifierName != ''">modifier_name = #{modifierName},</if>
|
||||||
gmt_modified=now()
|
gmt_modified=now()
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,8 @@ import javax.annotation.Generated;
|
||||||
|
|
||||||
@Generated(
|
@Generated(
|
||||||
value = "org.mapstruct.ap.MappingProcessor",
|
value = "org.mapstruct.ap.MappingProcessor",
|
||||||
date = "2024-12-05T15:02:06+0800",
|
date = "2024-12-04T09:28:17+0800",
|
||||||
comments = "version: 1.4.1.Final, compiler: javac, environment: Java 1.8.0_281 (Oracle Corporation)"
|
comments = "version: 1.4.1.Final, compiler: javac, environment: Java 1.8.0_432 (Temurin)"
|
||||||
)
|
)
|
||||||
public class UserMappersImpl implements UserMappers {
|
public class UserMappersImpl implements UserMappers {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue