| | |
| | | package com.java110.commstorey.smo.impl; |
| | | |
| | | |
| | | import com.java110.common.util.BeanConvertUtil; |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | | import com.java110.commstorey.dao.IStoreServiceDao; |
| | | import com.java110.core.base.smo.BaseServiceSMO; |
| | | import com.java110.core.smo.store.IStoreInnerServiceSMO; |
| | | import com.java110.core.smo.user.IUserInnerServiceSMO; |
| | | import com.java110.dto.PageDto; |
| | | import com.java110.dto.StoreDto; |
| | | import com.java110.dto.UserDto; |
| | | import com.java110.dto.user.UserDto; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | |
| | | if (page != PageDto.DEFAULT_PAGE) { |
| | | storeDto.setPage((page - 1) * storeDto.getRow()); |
| | | storeDto.setRow(page * storeDto.getRow()); |
| | | } |
| | | |
| | | List<StoreDto> stores = BeanConvertUtil.covertBeanList(storeServiceDaoImpl.getStoreInfo(BeanConvertUtil.beanCovertMap(storeDto)), StoreDto.class); |