update name

This commit is contained in:
Mengyi Zhou 2015-05-26 18:02:18 +08:00
parent bd004c3c07
commit a9cc4d7108
5 changed files with 7 additions and 7 deletions

View file

@ -10,7 +10,7 @@ import java.util.List;
* @author:xingchaowang
* @date: 3/4/2015.
*/
public interface AppRepository extends Repository {
public interface GroupRepository extends Repository {
List<Group> list() throws Exception;

View file

@ -10,7 +10,7 @@ import java.util.List;
* @author:xingchaowang
* @date: 3/7/2015.
*/
public interface AppQuery {
public interface GroupQuery {
Group get(String name) throws DalException;

View file

@ -9,7 +9,7 @@ import org.unidal.dal.jdbc.DalException;
* @author:xingchaowang
* @date: 3/7/2015.
*/
public interface AppSync {
public interface GroupSync {
GroupDo add(Group app) throws DalException, ValidationException;
GroupDo update(Group app) throws DalException, ValidationException;

View file

@ -2,7 +2,7 @@ package com.ctrip.zeus.service.model.handler.impl;
import com.ctrip.zeus.dal.core.*;
import com.ctrip.zeus.model.entity.*;
import com.ctrip.zeus.service.model.handler.AppQuery;
import com.ctrip.zeus.service.model.handler.GroupQuery;
import com.ctrip.zeus.support.C;
import org.springframework.stereotype.Component;
import org.unidal.dal.jdbc.DalException;
@ -16,7 +16,7 @@ import java.util.List;
* @date: 3/7/2015.
*/
@Component("appQuery")
public class AppQueryImpl implements AppQuery {
public class GroupQueryImpl implements GroupQuery {
@Resource
private GroupDao appDao;
@Resource

View file

@ -3,7 +3,7 @@ package com.ctrip.zeus.service.model.handler.impl;
import com.ctrip.zeus.dal.core.*;
import com.ctrip.zeus.exceptions.ValidationException;
import com.ctrip.zeus.model.entity.*;
import com.ctrip.zeus.service.model.handler.AppSync;
import com.ctrip.zeus.service.model.handler.GroupSync;
import com.ctrip.zeus.support.C;
import com.google.common.base.Function;
import com.google.common.collect.Maps;
@ -22,7 +22,7 @@ import java.util.Map;
* @date: 3/7/2015.
*/
@Component("appSync")
public class AppSyncImpl implements AppSync {
public class GroupSyncImpl implements GroupSync {
@Resource
private GroupDao appDao;
@Resource