| | |
| | | package com.moral.service.impl; |
| | | |
| | | import com.moral.common.bean.PageBean; |
| | | import com.moral.common.util.ExampleUtil; |
| | | import com.moral.common.util.MyBatisBaseMapUtil; |
| | | import com.moral.entity.DeviceVersion; |
| | | import com.moral.mapper.DeviceVersionMapper; |
| | | import com.moral.service.DeviceVersionService; |
| | | import org.springframework.stereotype.Service; |
| | | import tk.mybatis.mapper.entity.Example; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.io.UnsupportedEncodingException; |
| | | |
| | | @Service |
| | | public class DeviceVersionServiceImpl implements DeviceVersionService { |
| | | @Resource |
| | | private DeviceVersionMapper deviceVersionMapper; |
| | | private static Class ENTITY_CLASS = DeviceVersion.class; |
| | | public PageBean queryByPageBean(PageBean pageBean){ |
| | | return MyBatisBaseMapUtil.queryPage(deviceVersionMapper,pageBean,ENTITY_CLASS); |
| | | } |
| | | } |