|
|
@@ -79,7 +79,6 @@ public class RecruitApiController {
|
|
|
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
sortList.add(new Sort("a.update_time","desc"));
|
|
|
- sortList.add(new Sort("a.create_time","desc"));
|
|
|
|
|
|
if (StringUtils.isNotEmpty(type)) {
|
|
|
searchParams.put("settlementMethod",type);
|
|
|
@@ -119,7 +118,7 @@ public class RecruitApiController {
|
|
|
})
|
|
|
public MessageResult<Map> findRecruitSearch(
|
|
|
@RequestParam(value="status",defaultValue="0") String status,
|
|
|
- @RequestParam(value="statusType",defaultValue="") String statusType,
|
|
|
+ @RequestParam(value="statusType",defaultValue="1") String statusType,
|
|
|
@RequestParam(value="content",defaultValue="") String content,
|
|
|
@RequestParam(value="industry",defaultValue="") String industry,
|
|
|
@RequestParam(value="settlementMethod",defaultValue="") String settlementMethod,
|
|
|
@@ -139,7 +138,6 @@ public class RecruitApiController {
|
|
|
|
|
|
if("0".equals(status)){
|
|
|
sortList.add(new Sort("a.update_time","desc"));
|
|
|
- sortList.add(new Sort("a.create_time","desc"));
|
|
|
if (StringUtils.isNotEmpty(content)) {
|
|
|
searchParams.put("content","%" + content.trim() + "%");
|
|
|
}
|
|
|
@@ -185,10 +183,8 @@ public class RecruitApiController {
|
|
|
if ("2".equals(statusType)) {
|
|
|
sortList.add(new Sort("a.browse_number","asc"));
|
|
|
sortList.add(new Sort("a.update_time","desc"));
|
|
|
- sortList.add(new Sort("a.create_time","desc"));
|
|
|
}else{
|
|
|
sortList.add(new Sort("a.update_time","desc"));
|
|
|
- sortList.add(new Sort("a.create_time","desc"));
|
|
|
}
|
|
|
|
|
|
searchParams.put("status","1");
|
|
|
@@ -243,7 +239,6 @@ public class RecruitApiController {
|
|
|
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
sortList.add(new Sort("a.update_time","desc"));
|
|
|
- sortList.add(new Sort("a.create_time","desc"));
|
|
|
|
|
|
if (StringUtils.isNotEmpty(type)) {
|
|
|
searchParams.put("settlementMethod",type);
|
|
|
@@ -347,6 +342,7 @@ public class RecruitApiController {
|
|
|
recruitInformationInfo.setDelFlag(false);
|
|
|
recruitInformationInfo.setCreateBy(subject);
|
|
|
recruitInformationInfo.setCreateTime(new Date());
|
|
|
+ recruitInformationInfo.setUpdateTime(new Date());
|
|
|
recruitInformationInfo.setStatus("0");
|
|
|
recruitInformationInfo.setEnterpriseId(personInfo.getEnterpriseId());
|
|
|
|