初始化
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user