|
@@ -462,7 +462,21 @@ public class ClientAccountController extends SimpleController{
|
|
|
correlationService.addCorrelation(ca);
|
|
|
return redirect(page("correlation"));
|
|
|
}
|
|
|
-
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * 查询是否 存在关联
|
|
|
+ *
|
|
|
+ * @author CloudCross
|
|
|
+ */
|
|
|
+ @RequestMapping("is_exit")
|
|
|
+ public @ResponseBody String isExitCorrelation(@RequestParam Long operatorId){
|
|
|
+ Correlation co = correlationService.findCorrelationByOperatorId(operatorId);
|
|
|
+ if(co!=null){
|
|
|
+ return "YES";
|
|
|
+ }else {
|
|
|
+ return "NO";
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
@RequestMapping("/exportDataReportExcel")
|
|
|
public void exportDataReportExcel(HttpServletRequest request,
|