xiao547607 пре 4 година
родитељ
комит
bc22b5a369

+ 1 - 1
common/src/main/java/com/jpsoft/employment/modules/job/entity/JobUser.java

@@ -67,7 +67,7 @@ public class JobUser {
 	private String address;
 
 	@ApiModelProperty(value = "首次参加工作时间")
-	private Date firstJobTime;
+	private String firstJobTime;
 
 	@ApiModelProperty(value = "头像")
 	private String headImageUrl;

+ 2 - 2
common/src/main/resources/mapper/job/JobUser.xml

@@ -50,7 +50,7 @@
 ,#{sex,jdbcType=VARCHAR}
 ,#{birthday,jdbcType= TIMESTAMP }
 ,#{address,jdbcType=VARCHAR}
-,#{firstJobTime,jdbcType= TIMESTAMP }
+,#{firstJobTime,jdbcType= VARCHAR }
 ,#{headImageUrl,jdbcType=VARCHAR}
 ,#{isAuthentication,jdbcType= VARCHAR }
 ,#{idCard,jdbcType=VARCHAR}
@@ -105,7 +105,7 @@
 		address_=#{address,jdbcType=VARCHAR},
 		</if>
 				<if test="firstJobTime!=null">
-		first_job_time=#{firstJobTime,jdbcType= TIMESTAMP },
+		first_job_time=#{firstJobTime,jdbcType= VARCHAR },
 		</if>
 				<if test="headImageUrl!=null">
 		head_image_url=#{headImageUrl,jdbcType=VARCHAR},

+ 1 - 1
web/src/main/java/com/jpsoft/employment/modules/mobile/controller/JobUserApiController.java

@@ -583,7 +583,7 @@ public class JobUserApiController {
             String sex,
             Date birthday,
             String address,
-            Date firstJobTime,
+            String firstJobTime,
             String token,
             @RequestAttribute  String subject) {
         MessageResult<String> messageResult = new MessageResult<>();