|
|
@@ -88,9 +88,20 @@ public class PositionServiceImpl extends ServiceImpl<PositionMapper, Position> i
|
|
|
if(pageList.getRecords().size()>0){
|
|
|
for (int i = 0; i <pageList.getRecords().size() ; i++) {
|
|
|
List<PositionAddress> positionAddress= positionAddressService.getByPositionId(pageList.getRecords().get(i).getId());
|
|
|
+ Integer positionCategory=pageList.getRecords().get(i).getPositionCategory();
|
|
|
+ Integer id= pageList.getRecords().get(i).getId();
|
|
|
+ if(positionCategory==0){
|
|
|
+ positionCategory=6;
|
|
|
+ }else if(positionCategory==1){
|
|
|
+ positionCategory=7;
|
|
|
+ }
|
|
|
+ String url =path + "/f/api/sendmessage/findRemuseCount?positionId=" +id + "&positionCategory="
|
|
|
+ + positionCategory ;
|
|
|
+ String data = CommUtil.get(url, null);
|
|
|
Map map=new HashMap();
|
|
|
map.put("position",pageList.getRecords().get(i));
|
|
|
map.put("address",positionAddress);
|
|
|
+ map.put("count",data);
|
|
|
list.add(map);
|
|
|
}
|
|
|
}
|
|
|
@@ -603,7 +614,7 @@ public class PositionServiceImpl extends ServiceImpl<PositionMapper, Position> i
|
|
|
String sendMsgUrl = "";
|
|
|
if ("1".equals(type)) {
|
|
|
String isRefuse = requestMap.get("isRefuse"); //是否拒绝(0:未拒绝 1:拒绝)
|
|
|
- sendMsgUrl = "http://localhost:8080" + "/f/api/sendmessage/changeApplysStatus?positionId=" + positionId + "&userId=" + userId + "&positionCategory=" + positionCategory + "&type=" + type + "&isRefuse=" + isRefuse;
|
|
|
+ sendMsgUrl = path + "/f/api/sendmessage/changeApplysStatus?positionId=" + positionId + "&userId=" + userId + "&positionCategory=" + positionCategory + "&type=" + type + "&isRefuse=" + isRefuse;
|
|
|
} else if ("2".equals(type)) {
|
|
|
String isEmploy = requestMap.get("isEmploy"); //是否录用(0:拒绝 1:录用)
|
|
|
sendMsgUrl = path + "/f/api/sendmessage/changeApplysStatus?positionId=" + positionId + "&userId=" + userId + "&positionCategory=" + positionCategory + "&type=" + type + "&isEmploy=" + isEmploy;
|
|
|
@@ -649,7 +660,7 @@ public class PositionServiceImpl extends ServiceImpl<PositionMapper, Position> i
|
|
|
String contactPhone = requestMap.get("contactPhone");
|
|
|
String positionName = requestMap.get("positionName");
|
|
|
String companyName = requestMap.get("companyName");
|
|
|
- String sendMsgUrl = "http://localhost:8080" + "/f/api/sendmessage/interviewInvite?positionId=" + positionId
|
|
|
+ String sendMsgUrl = path + "/f/api/sendmessage/interviewInvite?positionId=" + positionId
|
|
|
+ "&userId=" + userId + "&positionCategory=" + positionCategory
|
|
|
+ "&interviewAddres=" + URLEncoder.encode(interviewAddres, "utf-8")
|
|
|
+ "&contactPerson=" + URLEncoder.encode(contactPerson, "utf-8") + "&contactPhone=" + contactPhone + "&positionName=" + URLEncoder.encode(positionName, "utf-8")
|