Commit 16913bac authored by Jave-Chen's avatar Jave-Chen Committed by dailidong
Browse files

fix return, obj error (#1855)

parent d371745d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -551,6 +551,8 @@ public class ExecutorService extends BaseService{
            command.setCommandParam(JSONUtils.toJson(cmdParam));
            return processDao.createCommand(command);
        }

        return 0;
    }

    /**
+9 −6
Original line number Diff line number Diff line
@@ -35,12 +35,15 @@ public class DateInterval {

    @Override
    public boolean equals(Object obj) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        DateInterval that = (DateInterval) o;
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        } else if (this == obj) {
            return true;
        } else {
            DateInterval that = (DateInterval) obj;
            return startTime.equals(that.startTime) &&
                    endTime.equals(that.endTime);
        
        }
    }

    public Date getStartTime() {