|
@@ -100,6 +100,7 @@ public class JobApiController {
|
|
|
@ApiImplicitParam(name = "education", value = "学历", required = false, paramType = "form"),
|
|
@ApiImplicitParam(name = "education", value = "学历", required = false, paramType = "form"),
|
|
|
@ApiImplicitParam(name = "serviceDesc", value = "服务描述", required = false, paramType = "form"),
|
|
@ApiImplicitParam(name = "serviceDesc", value = "服务描述", required = false, paramType = "form"),
|
|
|
@ApiImplicitParam(name = "photo", value = "头像", required = false, paramType = "form"),
|
|
@ApiImplicitParam(name = "photo", value = "头像", required = false, paramType = "form"),
|
|
|
|
|
+ @ApiImplicitParam(name = "address", value = "居住地", required = false, paramType = "form"),
|
|
|
})
|
|
})
|
|
|
public MessageResult<Map> createJobHunt(
|
|
public MessageResult<Map> createJobHunt(
|
|
|
@RequestParam(value="id",defaultValue="") String id,
|
|
@RequestParam(value="id",defaultValue="") String id,
|
|
@@ -111,6 +112,7 @@ public class JobApiController {
|
|
|
@RequestParam(value="education",defaultValue="") String education,
|
|
@RequestParam(value="education",defaultValue="") String education,
|
|
|
@RequestParam(value="serviceDesc",defaultValue="") String serviceDesc,
|
|
@RequestParam(value="serviceDesc",defaultValue="") String serviceDesc,
|
|
|
@RequestParam(value="photo",defaultValue="") String photo,
|
|
@RequestParam(value="photo",defaultValue="") String photo,
|
|
|
|
|
+ @RequestParam(value="address",defaultValue="") String address,
|
|
|
@RequestAttribute String subject){
|
|
@RequestAttribute String subject){
|
|
|
|
|
|
|
|
MessageResult<Map> msgResult = new MessageResult<>();
|
|
MessageResult<Map> msgResult = new MessageResult<>();
|
|
@@ -143,6 +145,7 @@ public class JobApiController {
|
|
|
jobInformationInfo.setEducation(education);
|
|
jobInformationInfo.setEducation(education);
|
|
|
jobInformationInfo.setServiceDesc(serviceDesc);
|
|
jobInformationInfo.setServiceDesc(serviceDesc);
|
|
|
jobInformationInfo.setPhoto(photo);
|
|
jobInformationInfo.setPhoto(photo);
|
|
|
|
|
+ jobInformationInfo.setAddress(address);
|
|
|
|
|
|
|
|
jobInformationInfoService.update(jobInformationInfo);
|
|
jobInformationInfoService.update(jobInformationInfo);
|
|
|
} else {
|
|
} else {
|
|
@@ -153,6 +156,7 @@ public class JobApiController {
|
|
|
jobInformationInfo.setDelFlag(false);
|
|
jobInformationInfo.setDelFlag(false);
|
|
|
jobInformationInfo.setCreateBy(subject);
|
|
jobInformationInfo.setCreateBy(subject);
|
|
|
jobInformationInfo.setCreateTime(new Date());
|
|
jobInformationInfo.setCreateTime(new Date());
|
|
|
|
|
+ jobInformationInfo.setUpdateTime(new Date());
|
|
|
jobInformationInfo.setStatus("0");
|
|
jobInformationInfo.setStatus("0");
|
|
|
|
|
|
|
|
jobInformationInfo.setPersonId(subject);
|
|
jobInformationInfo.setPersonId(subject);
|
|
@@ -164,6 +168,7 @@ public class JobApiController {
|
|
|
jobInformationInfo.setEducation(education);
|
|
jobInformationInfo.setEducation(education);
|
|
|
jobInformationInfo.setServiceDesc(serviceDesc);
|
|
jobInformationInfo.setServiceDesc(serviceDesc);
|
|
|
jobInformationInfo.setPhoto(photo);
|
|
jobInformationInfo.setPhoto(photo);
|
|
|
|
|
+ jobInformationInfo.setAddress(address);
|
|
|
|
|
|
|
|
jobInformationInfoService.insert(jobInformationInfo);
|
|
jobInformationInfoService.insert(jobInformationInfo);
|
|
|
}else{
|
|
}else{
|
|
@@ -180,6 +185,7 @@ public class JobApiController {
|
|
|
jobInformationInfo.setEducation(education);
|
|
jobInformationInfo.setEducation(education);
|
|
|
jobInformationInfo.setServiceDesc(serviceDesc);
|
|
jobInformationInfo.setServiceDesc(serviceDesc);
|
|
|
jobInformationInfo.setPhoto(photo);
|
|
jobInformationInfo.setPhoto(photo);
|
|
|
|
|
+ jobInformationInfo.setAddress(address);
|
|
|
|
|
|
|
|
jobInformationInfoService.update(jobInformationInfo);
|
|
jobInformationInfoService.update(jobInformationInfo);
|
|
|
}
|
|
}
|