|
@ -57,6 +57,8 @@ public class SynergyManageService extends BaseJpaService {
|
|
|
private ManageSynergyWorkorderReminderDao manageSynergyWorkorderReminderDao;
|
|
|
@Autowired
|
|
|
private ManageSynergyWorkorderServicerLogDao manageSynergyWorkorderServicerLogDao;
|
|
|
@Autowired
|
|
|
private TownDao townDao;
|
|
|
|
|
|
/**
|
|
|
* 根据服务编码获取工单
|
|
@ -88,7 +90,6 @@ public class SynergyManageService extends BaseJpaService {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
|
|
|
public Map<String,Object> workorderList(String code,String keywords,Integer workorderType,
|
|
|
Integer isMyTask,Integer status,Integer priority,Integer timeout,String workorderCode,
|
|
|
String principal,String serviceStartTime,String serviceEndTime,
|
|
@ -227,8 +228,6 @@ public class SynergyManageService extends BaseJpaService {
|
|
|
map.put("managerName",managerName);//负责人的名称
|
|
|
Integer finishedServicerCount = workorderServicerDao.findByWorkorderCodeCount(one.get("code")+"",3);
|
|
|
map.put("finishedServicerCount",finishedServicerCount);//服务完成人数
|
|
|
map.put("userName",one.get("create_user_name"));
|
|
|
map.put("hospitalName",one.get("hospital_name"));
|
|
|
resultList.add(map);
|
|
|
}
|
|
|
Map<String,Object> resultMap = new HashMap<>();
|
|
@ -831,6 +830,24 @@ public class SynergyManageService extends BaseJpaService {
|
|
|
workOrderDao.save(manageSynergyWorkorderDO);
|
|
|
}
|
|
|
|
|
|
public JSONObject getLabels(String labelType) {
|
|
|
String url = wlyyUrl + "/wlyygc/doctor/label/labels?labelType=" + labelType;
|
|
|
String response = httpClientUtil.get(url, "UTF-8");
|
|
|
JSONObject jsonObject = new JSONObject(response);
|
|
|
return jsonObject;
|
|
|
}
|
|
|
|
|
|
public JSONObject getUnitLabels(String currentRoleCode) {
|
|
|
String url = wlyyUrl + "/wlyygc/doctor/label/unitLabels?currentRoleCode=" + currentRoleCode + "¤tRoleLevel=3";
|
|
|
String response = httpClientUtil.get(url, "UTF-8");
|
|
|
JSONObject jsonObject = new JSONObject(response);
|
|
|
return jsonObject;
|
|
|
}
|
|
|
|
|
|
public List<Town> getTowns() {
|
|
|
return (List<Town>) townDao.findAll();
|
|
|
}
|
|
|
|
|
|
public void exportWorkorder(String code,String keywords,Integer workorderType,
|
|
|
Integer isMyTask,Integer status,Integer priority,Integer timeout,String workorderCode,
|
|
|
String principal,String serviceStartTime,String serviceEndTime,
|