|
|
|
@ -67,7 +67,7 @@ public class EmailMaintainController extends AbstractController { |
|
|
|
|
// }
|
|
|
|
|
Object deptId = pramsMap.get("deptId"); |
|
|
|
|
if(deptId == null || "".equals(String.valueOf(deptId))){ |
|
|
|
|
return ResponseEntity.ok(R.error("查询参数有误!")); |
|
|
|
|
return ResponseEntity.ok(R.error("该组织未配置税号,请先联系管理员")); |
|
|
|
|
} |
|
|
|
|
if("99".equals(String.valueOf(deptId))){ |
|
|
|
|
pramsMap.put("deptId",""); |
|
|
|
@ -141,6 +141,10 @@ public class EmailMaintainController extends AbstractController { |
|
|
|
|
data.put("data", ""); |
|
|
|
|
return ResponseEntity.ok(data); |
|
|
|
|
} |
|
|
|
|
int count = emailMaintainService.selectByEmail(emailMaintain.getEmailAddress()); |
|
|
|
|
if(count>0){ |
|
|
|
|
return ResponseEntity.ok(R.error("邮箱地址已存在!")); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
boolean b = emailMaintainService.update(emailMaintain); |
|
|
|
|
if(b){ |
|
|
|
|