|
|
|
@ -9,6 +9,7 @@ import javax.servlet.http.HttpServletRequest; |
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
import org.jeecg.common.api.vo.Result; |
|
|
|
|
import org.jeecg.common.system.query.QueryGenerator; |
|
|
|
|
import org.jeecg.common.util.ImageUrl; |
|
|
|
|
import org.jeecg.common.util.UniqueRanNumUtils; |
|
|
|
|
import org.jeecg.common.util.oConvertUtils; |
|
|
|
|
import org.jeecg.modules.demo.base.entity.ZyClothsModular; |
|
|
|
@ -478,7 +479,7 @@ public class ZyGoodsController extends JeecgController<ZyGoods, IZyGoodsService> |
|
|
|
|
for(int i = 0 ; i < pageList.getRecords().size();i++){ |
|
|
|
|
Zxdz zxdz = new Zxdz(); |
|
|
|
|
zxdz.setId(pageList.getRecords().get(i).getId()); |
|
|
|
|
zxdz.setImgUrl("http://localhost:10085/jeecg-boot/sys/common/static/"+pageList.getRecords().get(i).getDefaultPicture()); |
|
|
|
|
zxdz.setImgUrl(ImageUrl.Image_Url+pageList.getRecords().get(i).getDefaultPicture()); |
|
|
|
|
zxdz.setPrice(pageList.getRecords().get(i).getUnitPrice()); |
|
|
|
|
zxdz.setTitle1(zyClothsTypeService.getById(pageList.getRecords().get(i).getClothsTypeId()).getTypeName()); |
|
|
|
|
zxdz.setTitle2(pageList.getRecords().get(i).getGoodsName()); |
|
|
|
@ -511,7 +512,7 @@ public class ZyGoodsController extends JeecgController<ZyGoods, IZyGoodsService> |
|
|
|
|
for(int i = 0 ; i < pageList.getRecords().size();i++){ |
|
|
|
|
Tcsp tcsp = new Tcsp(); |
|
|
|
|
tcsp.setId(pageList.getRecords().get(i).getId()); |
|
|
|
|
tcsp.setImgUrl("http://localhost:10085/jeecg-boot/sys/common/static/"+pageList.getRecords().get(i).getDefaultPicture()); |
|
|
|
|
tcsp.setImgUrl(ImageUrl.Image_Url+pageList.getRecords().get(i).getDefaultPicture()); |
|
|
|
|
tcsp.setTime(pageList.getRecords().get(i).getUnitPrice()); |
|
|
|
|
tcsp.setTitle(pageList.getRecords().get(i).getGoodsName()); |
|
|
|
|
tcspList.add(tcsp); |
|
|
|
@ -553,7 +554,7 @@ public class ZyGoodsController extends JeecgController<ZyGoods, IZyGoodsService> |
|
|
|
|
for(int j = 0 ; j < pageList.getRecords().size();j++){ |
|
|
|
|
Fzlx fzlx = new Fzlx(); |
|
|
|
|
fzlx.setId(pageList.getRecords().get(j).getId()); |
|
|
|
|
fzlx.setImgUrl("http://localhost:10085/jeecg-boot/sys/common/static/"+pageList.getRecords().get(j).getDefaultPicture()); |
|
|
|
|
fzlx.setImgUrl(ImageUrl.Image_Url+pageList.getRecords().get(j).getDefaultPicture()); |
|
|
|
|
fzlx.setTitle1(zyClothsTypeService.getById(pageList.getRecords().get(j).getClothsTypeId()).getTypeName()); |
|
|
|
|
fzlx.setTitle2(pageList.getRecords().get(j).getGoodsName()); |
|
|
|
|
String tag1 = zyClothsStyleService.getById(pageList.getRecords().get(j).getStyleId()).getCharacteristic(); |
|
|
|
@ -594,7 +595,7 @@ public class ZyGoodsController extends JeecgController<ZyGoods, IZyGoodsService> |
|
|
|
|
for(int l = 0 ; l < pageListn.getRecords().size();l++){ |
|
|
|
|
Fzlx fzlx = new Fzlx(); |
|
|
|
|
fzlx.setId(pageListn.getRecords().get(l).getId()); |
|
|
|
|
fzlx.setImgUrl("http://localhost:10085/jeecg-boot/sys/common/static/"+pageListn.getRecords().get(l).getDefaultPicture()); |
|
|
|
|
fzlx.setImgUrl(ImageUrl.Image_Url+pageListn.getRecords().get(l).getDefaultPicture()); |
|
|
|
|
fzlx.setTitle1(zyClothsTypeService.getById(pageListn.getRecords().get(l).getClothsTypeId()).getTypeName()); |
|
|
|
|
fzlx.setTitle2(pageListn.getRecords().get(l).getGoodsName()); |
|
|
|
|
String tag1 = zyClothsStyleService.getById(pageListn.getRecords().get(l).getStyleId()).getCharacteristic(); |
|
|
|
@ -635,7 +636,7 @@ public class ZyGoodsController extends JeecgController<ZyGoods, IZyGoodsService> |
|
|
|
|
for(int n = 0 ; n < pageListt.getRecords().size();n++){ |
|
|
|
|
Fzlx fzlx = new Fzlx(); |
|
|
|
|
fzlx.setId(pageListt.getRecords().get(n).getId()); |
|
|
|
|
fzlx.setImgUrl("http://localhost:10085/jeecg-boot/sys/common/static/"+pageListt.getRecords().get(n).getDefaultPicture()); |
|
|
|
|
fzlx.setImgUrl(ImageUrl.Image_Url+pageListt.getRecords().get(n).getDefaultPicture()); |
|
|
|
|
fzlx.setTitle1(zyClothsTypeService.getById(pageListt.getRecords().get(n).getClothsTypeId()).getTypeName()); |
|
|
|
|
fzlx.setTitle2(pageListt.getRecords().get(n).getGoodsName()); |
|
|
|
|
String tag1 = zyClothsStyleService.getById(pageListt.getRecords().get(n).getStyleId()).getCharacteristic(); |
|
|
|
@ -751,7 +752,7 @@ public class ZyGoodsController extends JeecgController<ZyGoods, IZyGoodsService> |
|
|
|
|
for (int i = 0 ; i < pageList.size() ; i++){ |
|
|
|
|
FzlxSp fzlxSp = new FzlxSp(); |
|
|
|
|
fzlxSp.setId(pageList.get(i).getId()); |
|
|
|
|
fzlxSp.setImgUrl("http://localhost:10085/jeecg-boot/sys/common/static/"+pageList.get(i).getDefaultPicture()); |
|
|
|
|
fzlxSp.setImgUrl(ImageUrl.Image_Url+pageList.get(i).getDefaultPicture()); |
|
|
|
|
fzlxSp.setCurrentPrice(pageList.get(i).getPromotionPrice()); |
|
|
|
|
fzlxSp.setHistoricalPrice(pageList.get(i).getUnitPrice()); |
|
|
|
|
fzlxSp.setTitle(pageList.get(i).getGoodsName()); |
|
|
|
@ -779,7 +780,7 @@ public class ZyGoodsController extends JeecgController<ZyGoods, IZyGoodsService> |
|
|
|
|
for (int i = 0 ; i < pageList.size() ; i++){ |
|
|
|
|
FzlxSp fzlxSp = new FzlxSp(); |
|
|
|
|
fzlxSp.setId(pageList.get(i).getId()); |
|
|
|
|
fzlxSp.setImgUrl("http://localhost:10085/jeecg-boot/sys/common/static/"+pageList.get(i).getDefaultPicture()); |
|
|
|
|
fzlxSp.setImgUrl(ImageUrl.Image_Url+pageList.get(i).getDefaultPicture()); |
|
|
|
|
fzlxSp.setCurrentPrice(pageList.get(i).getPromotionPrice()); |
|
|
|
|
fzlxSp.setHistoricalPrice(pageList.get(i).getUnitPrice()); |
|
|
|
|
fzlxSp.setTitle(pageList.get(i).getGoodsName()); |
|
|
|
@ -805,7 +806,7 @@ public class ZyGoodsController extends JeecgController<ZyGoods, IZyGoodsService> |
|
|
|
|
String[] baseUrl = zyGoods.getGoodsPicture().split(","); |
|
|
|
|
String str = ""; |
|
|
|
|
for (int i = 0 ; i < baseUrl.length;i++){ |
|
|
|
|
str = str +"http://localhost:10085/jeecg-boot/sys/common/static/"+baseUrl[i]+","; |
|
|
|
|
str = str +ImageUrl.Image_Url+baseUrl[i]+","; |
|
|
|
|
} |
|
|
|
|
mapgoods.put("baseUrl",str.substring(0,str.length()-1).split(",")); |
|
|
|
|
//模块数据
|
|
|
|
@ -827,7 +828,7 @@ public class ZyGoodsController extends JeecgController<ZyGoods, IZyGoodsService> |
|
|
|
|
Mk mk = new Mk(); |
|
|
|
|
mk.setId(listzcm.get(j).getId()); |
|
|
|
|
mk.setText(listzcm.get(j).getModularName()); |
|
|
|
|
mk.setUrl("http://localhost:10085/jeecg-boot/sys/common/static/"+listzcm.get(j).getPictureUrl()); |
|
|
|
|
mk.setUrl(ImageUrl.Image_Url+listzcm.get(j).getPictureUrl()); |
|
|
|
|
listmk.add(mk); |
|
|
|
|
} |
|
|
|
|
mapgoods.put("selectedClothList",listmk); |
|
|
|
|