|
|
@ -9,6 +9,7 @@ import javax.servlet.http.HttpServletRequest; |
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import org.jeecg.common.api.vo.Result; |
|
|
|
import org.jeecg.common.api.vo.Result; |
|
|
|
import org.jeecg.common.system.query.QueryGenerator; |
|
|
|
import org.jeecg.common.system.query.QueryGenerator; |
|
|
|
|
|
|
|
import org.jeecg.common.util.ImageUrl; |
|
|
|
import org.jeecg.common.util.UniqueRanNumUtils; |
|
|
|
import org.jeecg.common.util.UniqueRanNumUtils; |
|
|
|
import org.jeecg.common.util.oConvertUtils; |
|
|
|
import org.jeecg.common.util.oConvertUtils; |
|
|
|
import org.jeecg.modules.demo.base.entity.ZyClothsModular; |
|
|
|
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++){ |
|
|
|
for(int i = 0 ; i < pageList.getRecords().size();i++){ |
|
|
|
Zxdz zxdz = new Zxdz(); |
|
|
|
Zxdz zxdz = new Zxdz(); |
|
|
|
zxdz.setId(pageList.getRecords().get(i).getId()); |
|
|
|
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.setPrice(pageList.getRecords().get(i).getUnitPrice()); |
|
|
|
zxdz.setTitle1(zyClothsTypeService.getById(pageList.getRecords().get(i).getClothsTypeId()).getTypeName()); |
|
|
|
zxdz.setTitle1(zyClothsTypeService.getById(pageList.getRecords().get(i).getClothsTypeId()).getTypeName()); |
|
|
|
zxdz.setTitle2(pageList.getRecords().get(i).getGoodsName()); |
|
|
|
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++){ |
|
|
|
for(int i = 0 ; i < pageList.getRecords().size();i++){ |
|
|
|
Tcsp tcsp = new Tcsp(); |
|
|
|
Tcsp tcsp = new Tcsp(); |
|
|
|
tcsp.setId(pageList.getRecords().get(i).getId()); |
|
|
|
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.setTime(pageList.getRecords().get(i).getUnitPrice()); |
|
|
|
tcsp.setTitle(pageList.getRecords().get(i).getGoodsName()); |
|
|
|
tcsp.setTitle(pageList.getRecords().get(i).getGoodsName()); |
|
|
|
tcspList.add(tcsp); |
|
|
|
tcspList.add(tcsp); |
|
|
@ -553,7 +554,7 @@ public class ZyGoodsController extends JeecgController<ZyGoods, IZyGoodsService> |
|
|
|
for(int j = 0 ; j < pageList.getRecords().size();j++){ |
|
|
|
for(int j = 0 ; j < pageList.getRecords().size();j++){ |
|
|
|
Fzlx fzlx = new Fzlx(); |
|
|
|
Fzlx fzlx = new Fzlx(); |
|
|
|
fzlx.setId(pageList.getRecords().get(j).getId()); |
|
|
|
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.setTitle1(zyClothsTypeService.getById(pageList.getRecords().get(j).getClothsTypeId()).getTypeName()); |
|
|
|
fzlx.setTitle2(pageList.getRecords().get(j).getGoodsName()); |
|
|
|
fzlx.setTitle2(pageList.getRecords().get(j).getGoodsName()); |
|
|
|
String tag1 = zyClothsStyleService.getById(pageList.getRecords().get(j).getStyleId()).getCharacteristic(); |
|
|
|
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++){ |
|
|
|
for(int l = 0 ; l < pageListn.getRecords().size();l++){ |
|
|
|
Fzlx fzlx = new Fzlx(); |
|
|
|
Fzlx fzlx = new Fzlx(); |
|
|
|
fzlx.setId(pageListn.getRecords().get(l).getId()); |
|
|
|
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.setTitle1(zyClothsTypeService.getById(pageListn.getRecords().get(l).getClothsTypeId()).getTypeName()); |
|
|
|
fzlx.setTitle2(pageListn.getRecords().get(l).getGoodsName()); |
|
|
|
fzlx.setTitle2(pageListn.getRecords().get(l).getGoodsName()); |
|
|
|
String tag1 = zyClothsStyleService.getById(pageListn.getRecords().get(l).getStyleId()).getCharacteristic(); |
|
|
|
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++){ |
|
|
|
for(int n = 0 ; n < pageListt.getRecords().size();n++){ |
|
|
|
Fzlx fzlx = new Fzlx(); |
|
|
|
Fzlx fzlx = new Fzlx(); |
|
|
|
fzlx.setId(pageListt.getRecords().get(n).getId()); |
|
|
|
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.setTitle1(zyClothsTypeService.getById(pageListt.getRecords().get(n).getClothsTypeId()).getTypeName()); |
|
|
|
fzlx.setTitle2(pageListt.getRecords().get(n).getGoodsName()); |
|
|
|
fzlx.setTitle2(pageListt.getRecords().get(n).getGoodsName()); |
|
|
|
String tag1 = zyClothsStyleService.getById(pageListt.getRecords().get(n).getStyleId()).getCharacteristic(); |
|
|
|
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++){ |
|
|
|
for (int i = 0 ; i < pageList.size() ; i++){ |
|
|
|
FzlxSp fzlxSp = new FzlxSp(); |
|
|
|
FzlxSp fzlxSp = new FzlxSp(); |
|
|
|
fzlxSp.setId(pageList.get(i).getId()); |
|
|
|
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.setCurrentPrice(pageList.get(i).getPromotionPrice()); |
|
|
|
fzlxSp.setHistoricalPrice(pageList.get(i).getUnitPrice()); |
|
|
|
fzlxSp.setHistoricalPrice(pageList.get(i).getUnitPrice()); |
|
|
|
fzlxSp.setTitle(pageList.get(i).getGoodsName()); |
|
|
|
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++){ |
|
|
|
for (int i = 0 ; i < pageList.size() ; i++){ |
|
|
|
FzlxSp fzlxSp = new FzlxSp(); |
|
|
|
FzlxSp fzlxSp = new FzlxSp(); |
|
|
|
fzlxSp.setId(pageList.get(i).getId()); |
|
|
|
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.setCurrentPrice(pageList.get(i).getPromotionPrice()); |
|
|
|
fzlxSp.setHistoricalPrice(pageList.get(i).getUnitPrice()); |
|
|
|
fzlxSp.setHistoricalPrice(pageList.get(i).getUnitPrice()); |
|
|
|
fzlxSp.setTitle(pageList.get(i).getGoodsName()); |
|
|
|
fzlxSp.setTitle(pageList.get(i).getGoodsName()); |
|
|
@ -805,7 +806,7 @@ public class ZyGoodsController extends JeecgController<ZyGoods, IZyGoodsService> |
|
|
|
String[] baseUrl = zyGoods.getGoodsPicture().split(","); |
|
|
|
String[] baseUrl = zyGoods.getGoodsPicture().split(","); |
|
|
|
String str = ""; |
|
|
|
String str = ""; |
|
|
|
for (int i = 0 ; i < baseUrl.length;i++){ |
|
|
|
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(",")); |
|
|
|
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 mk = new Mk(); |
|
|
|
mk.setId(listzcm.get(j).getId()); |
|
|
|
mk.setId(listzcm.get(j).getId()); |
|
|
|
mk.setText(listzcm.get(j).getModularName()); |
|
|
|
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); |
|
|
|
listmk.add(mk); |
|
|
|
} |
|
|
|
} |
|
|
|
mapgoods.put("selectedClothList",listmk); |
|
|
|
mapgoods.put("selectedClothList",listmk); |
|
|
|