修改两个不能运行的bug

This commit is contained in:
qdxkrs 2022-03-04 19:04:35 +08:00
parent b9204a9221
commit 53fef37cee
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,8 @@ import javax.persistence.*;
* @Author: XinYi Song * @Author: XinYi Song
* @Date: 2022/3/4 8:23 * @Date: 2022/3/4 8:23
*/ */
@Entity
@Table(name = "device_management")
public class DeviceManagement { public class DeviceManagement {
/** /**
* 主键id * 主键id

View File

@ -5,6 +5,7 @@ import com.xkrs.dao.FireDao;
import com.xkrs.model.entity.CameraInformation; import com.xkrs.model.entity.CameraInformation;
import com.xkrs.service.CameraService; import com.xkrs.service.CameraService;
import com.xkrs.util.Query; import com.xkrs.util.Query;
import org.springframework.stereotype.Service;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
@ -13,6 +14,7 @@ import java.util.List;
* @Author: XinYi Song * @Author: XinYi Song
* @Date: 2022/3/3 11:47 * @Date: 2022/3/3 11:47
*/ */
@Service
public class CameraServiceImpl implements CameraService { public class CameraServiceImpl implements CameraService {
@Resource @Resource
private CameraDao cameraDao; private CameraDao cameraDao;