Commit b0204398 by 陶光胜

回写修改

parent 6adf9bd7
......@@ -150,4 +150,10 @@ public class ScreeningController {
}
return RestResponse.success(backMessage.toString());
}
@RequestMapping("save-store-widget")
@ResponseBody
public RestResponse saveStoreWidget(String searchParam, String writeBackParam){
return null;
}
}
......@@ -5,7 +5,7 @@ import com.gic.commons.util.EntityUtil;
import com.gic.commons.webapi.reponse.RestResponse;
import com.gic.plug.web.vo.StoreRegionVO;
import com.gic.plug.web.vo.StoreVO;
import com.gic.store.dto.StoreDTO;
import com.gic.store.dto.StoreInfoDTO;
import com.gic.store.dto.StoreRegionDTO;
import com.gic.store.service.StoreApiService;
import com.gic.store.service.StoreRegionApiService;
......@@ -43,9 +43,9 @@ public class StoreController {
@RequestMapping("/list-part-store")
public RestResponse listPartStore(Integer storeGroupId, String search) {
Integer enterpriseId = 1111;
ServiceResponse<List<StoreDTO>> serviceResponse = storeApiService.listPartStore(enterpriseId, storeGroupId, search);
ServiceResponse<List<StoreInfoDTO>> serviceResponse = storeApiService.listPartStore(enterpriseId, storeGroupId, search);
if (serviceResponse.isSuccess()) {
List<StoreDTO> result = serviceResponse.getResult();
List<StoreInfoDTO> result = serviceResponse.getResult();
return RestResponse.success(EntityUtil.changeEntityListByOrika(StoreVO.class, result));
} else {
return RestResponse.failure(serviceResponse.getCode(), serviceResponse.getMessage());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment