|  | @ -94,6 +94,38 @@ public class PatientLifeCareEndpoint  extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @GetMapping(value = "infoCount")
 | 
	
		
			
				|  |  |     @ApiOperation(value = "查询工单数量")
 | 
	
		
			
				|  |  |     public ObjEnvelop infoCount(
 | 
	
		
			
				|  |  |             @ApiParam(name = "patient", value = "居民code") @RequestParam(value = "patient", required = true) String patient) {
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             JSONObject allResult = lifeCareOrderService.queryInfoList(patient, null, 1, 5);
 | 
	
		
			
				|  |  |             if (allResult.getIntValue(ResponseContant.resultFlag) == ResponseContant.fail) {
 | 
	
		
			
				|  |  |                 return ObjEnvelop.getError(allResult.getString(ResponseContant.resultMsg), -1);
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             int allCount = allResult.getIntValue(ResponseContant.count);
 | 
	
		
			
				|  |  |             JSONObject object = new JSONObject();
 | 
	
		
			
				|  |  |             object.put("allCount",allCount);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             JSONObject qxResult = lifeCareOrderService.queryInfoList(patient, -1, 1, 5);
 | 
	
		
			
				|  |  |             if (qxResult.getIntValue(ResponseContant.resultFlag) == ResponseContant.fail) {
 | 
	
		
			
				|  |  |                 return ObjEnvelop.getError(qxResult.getString(ResponseContant.resultMsg), -1);
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             int qxCount = qxResult.getIntValue(ResponseContant.count);
 | 
	
		
			
				|  |  |             object.put("qxCount",qxCount);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             JSONObject wcResult = lifeCareOrderService.queryInfoList(patient, 2, 1, 5);
 | 
	
		
			
				|  |  |             if (wcResult.getIntValue(ResponseContant.resultFlag) == ResponseContant.fail) {
 | 
	
		
			
				|  |  |                 return ObjEnvelop.getError(wcResult.getString(ResponseContant.resultMsg), -1);
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             int wcCount = wcResult.getIntValue(ResponseContant.count);
 | 
	
		
			
				|  |  |             object.put("wcCount",wcCount);
 | 
	
		
			
				|  |  |             return ObjEnvelop.getSuccess("查询成功",object);
 | 
	
		
			
				|  |  |         }catch (Exception e){
 | 
	
		
			
				|  |  |             return failedObjEnvelopException(e);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @GetMapping(value = "findItemDict")
 | 
	
		
			
				|  |  |     @ApiOperation(value = "查找服务项字典")
 | 
	
		
			
				|  |  |     public ListEnvelop findItemDict() {
 |