|  | @@ -37,33 +37,34 @@ public class EvaluatorController {
 | 
	
		
			
				|  |  |      @PassToken
 | 
	
		
			
				|  |  |      @PostMapping("/signInWhenUserLogin")
 | 
	
		
			
				|  |  |      public void signInWhenUserLogin (@RequestBody EvaluateRecord body) throws Exception {
 | 
	
		
			
				|  |  | -        String url = CLIENT.replace("{IP}", body.getClientIp())
 | 
	
		
			
				|  |  | -                .replace("{ACTION}", "SO");
 | 
	
		
			
				|  |  | -        String result = new RestTemplate().postForObject(url, null, String.class);
 | 
	
		
			
				|  |  | -        log.info("【{}】执行签退:{}", body.getClientIp(), result);
 | 
	
		
			
				|  |  | -        signIn(body);
 | 
	
		
			
				|  |  | +//        String url = CLIENT.replace("{IP}", body.getClientIp())
 | 
	
		
			
				|  |  | +//                .replace("{ACTION}", "SO");
 | 
	
		
			
				|  |  | +//        String result = new RestTemplate().postForObject(url, null, String.class);
 | 
	
		
			
				|  |  | +//        log.info("【{}】执行签退:{}", body.getClientIp(), result);
 | 
	
		
			
				|  |  | +//        signIn(body);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @PassToken
 | 
	
		
			
				|  |  |      @PostMapping("/start")
 | 
	
		
			
				|  |  |      public ResultVo<String> start(HttpServletRequest request, @RequestBody EvaluateRecord body) throws Exception {
 | 
	
		
			
				|  |  | -        log.info("启动评价器:{}", body);
 | 
	
		
			
				|  |  | -        QueryWrapper<EvaluateRecord> wrapper = new QueryWrapper<>();
 | 
	
		
			
				|  |  | -        wrapper.eq("pat_no", body.getPatNo());
 | 
	
		
			
				|  |  | -        wrapper.eq("times", body.getTimes());
 | 
	
		
			
				|  |  | -        wrapper.eq("type", body.getType());
 | 
	
		
			
				|  |  | -        int count = dao.selectCount(wrapper);
 | 
	
		
			
				|  |  | -        if (count > 0) {
 | 
	
		
			
				|  |  | -            return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR,
 | 
	
		
			
				|  |  | -                    "该笔交易已完成评价,请勿重复发起。");
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        if (StringUtil.isBlank(body.getClientIp())) {
 | 
	
		
			
				|  |  | -            body.setClientIp(IpAddressUtil.getIPAddress(request));
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        if (notSignedIn(body.getClientIp())) {
 | 
	
		
			
				|  |  | -            signIn(body);
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        return executeCall(body);
 | 
	
		
			
				|  |  | +//        log.info("启动评价器:{}", body);
 | 
	
		
			
				|  |  | +//        QueryWrapper<EvaluateRecord> wrapper = new QueryWrapper<>();
 | 
	
		
			
				|  |  | +//        wrapper.eq("pat_no", body.getPatNo());
 | 
	
		
			
				|  |  | +//        wrapper.eq("times", body.getTimes());
 | 
	
		
			
				|  |  | +//        wrapper.eq("type", body.getType());
 | 
	
		
			
				|  |  | +//        int count = dao.selectCount(wrapper);
 | 
	
		
			
				|  |  | +//        if (count > 0) {
 | 
	
		
			
				|  |  | +//            return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR,
 | 
	
		
			
				|  |  | +//                    "该笔交易已完成评价,请勿重复发起。");
 | 
	
		
			
				|  |  | +//        }
 | 
	
		
			
				|  |  | +//        if (StringUtil.isBlank(body.getClientIp())) {
 | 
	
		
			
				|  |  | +//            body.setClientIp(IpAddressUtil.getIPAddress(request));
 | 
	
		
			
				|  |  | +//        }
 | 
	
		
			
				|  |  | +//        if (notSignedIn(body.getClientIp())) {
 | 
	
		
			
				|  |  | +//            signIn(body);
 | 
	
		
			
				|  |  | +//        }
 | 
	
		
			
				|  |  | +//        return executeCall(body);
 | 
	
		
			
				|  |  | +        return null;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      private boolean notSignedIn(String ip) {
 |