| | |
| | | |
| | | import com.nanometer.smartlab.dao.SysWarehouseDao; |
| | | import com.nanometer.smartlab.entity.SysWarehouse; |
| | | import com.nanometer.smartlab.entity.dto.SysWarehouseDto; |
| | | import com.nanometer.smartlab.exception.AlarmCode; |
| | | import com.nanometer.smartlab.exception.AlarmException; |
| | | import com.nanometer.smartlab.exception.BusinessException; |
| | |
| | | throw new BusinessException(ExceptionEnumCode.DB_ERR, MessageUtil.getMessageByCode(ExceptionEnumCode.DB_ERR.getCode()), e); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public List<SysWarehouseDto> getWarehouseList() { |
| | | return sysWarehouseDao.selectWarehouse(); |
| | | } |
| | | } |