初始化

This commit is contained in:
谢洪龙
2017-07-10 11:54:47 +08:00
commit 73861f3f18
97 changed files with 8070 additions and 0 deletions
@@ -0,0 +1,39 @@
package com.ifish.service;
import java.util.List;
import com.ifish.entity.Device;
import com.ifish.entity.DeviceUser;
import com.ifish.entity.FactoryList;
import com.ifish.entity.HardwareType;
import com.ifish.entity.LoginRecord;
import com.ifish.socketNew.model.send.OrderFunctionCode1;
/**
* @ClassName: DeviceService
* @Description: TODO
* @author ggw
*
*/
public interface DeviceService {
public Device update(Device device);
public Device update(OrderFunctionCode1 model);
public void updateWarnOnoff(String macAddress,String onOff);
public Device getUniqueByProperty(String property,Object value);
public List<Device> getByProperty(String property,Object value);
public DeviceUser getUniqueByProperty(String macAddress);
public List<DeviceUser> getListByProperty(Integer deviceId);
public LoginRecord save(LoginRecord loginRecord);
public FactoryList getFactoryListById(String factoryCode);
public HardwareType getHardwareTypeById(String typeCode);
}
@@ -0,0 +1,16 @@
package com.ifish.service;
import com.ifish.entity.PushList;
import com.ifish.entity.User;
/**
* @ClassName: UserService
* @Description: TODO
* @author ggw
*
*/
public interface UserService {
public User findById(Integer userId);
public PushList save(PushList pushList);
}