This commit is contained in:
snoop 2017-07-04 17:26:55 +09:00
commit a750866682
4 changed files with 5 additions and 23 deletions

View File

@ -28,7 +28,7 @@ public class EmailAuthService {
@Autowired
private EmailAuthDAO emailAuthDAO;
public EmailAuth sendEmailByMemberId(long memberId, String memberEmail) {
public EmailAuth sendEmailByMember(long memberId, String memberEmail) {
try {
this.sendSimpleEmail(memberEmail, "Test Spring Mail", "Confirm Email");
}catch (MailException e) {

View File

@ -17,8 +17,8 @@ public class ProbeService {
@Autowired
private ProbeDAO probeDAO;
public void regist(Probe probe) {
this.probeDAO.save(probe);
public Probe regist(Probe probe) {
return this.probeDAO.save(probe);
}
public List<Probe> readAllByDomain(Domain domain) {

View File

@ -17,8 +17,8 @@ public class ProbeTaskService {
@Autowired
private ProbeTaskDAO probeTaskDAO;
public void regist(ProbeTask probeTask) {
this.probeTaskDAO.save(probeTask);
public ProbeTask regist(ProbeTask probeTask) {
return this.probeTaskDAO.save(probeTask);
}
public List<ProbeTask> readAllByProbe(Probe probe) {

View File

@ -1,18 +0,0 @@
package com.loafle.overflow.module.probe.type;
/**
* Created by root on 17. 6. 23.
*/
public enum ProbeStatusType {
I("INITIAL"),
N("NORMAL");
private String stringValue;
ProbeStatusType(String string) {stringValue = string;}
@Override
public String toString() {
return stringValue;
}
}