|
@@ -119,17 +119,17 @@ public class CmSecondHandDetailController extends BaseController {
|
|
|
// 构造类型
|
|
|
List<BigType> typeList = new ArrayList<>();
|
|
|
BigType bigType = new BigType();
|
|
|
- BigType bigType1 = new BigType();
|
|
|
- BigType bigType2 = new BigType();
|
|
|
+ /*BigType bigType1 = new BigType();
|
|
|
+ BigType bigType2 = new BigType();*/
|
|
|
bigType.setId("1");
|
|
|
- bigType.setName("轻光电");
|
|
|
- bigType1.setId("2");
|
|
|
+ bigType.setName("美容仪器");
|
|
|
+/* bigType1.setId("2");
|
|
|
bigType1.setName("重光电");
|
|
|
bigType2.setId("3");
|
|
|
- bigType2.setName("耗材配件");
|
|
|
+ bigType2.setName("耗材配件");*/
|
|
|
typeList.add(bigType);
|
|
|
- typeList.add(bigType1);
|
|
|
- typeList.add(bigType2);
|
|
|
+ /*typeList.add(bigType1);
|
|
|
+ typeList.add(bigType2);*/
|
|
|
model.addAttribute("typeList", typeList);
|
|
|
|
|
|
//初始化城市信息
|
|
@@ -213,6 +213,7 @@ public class CmSecondHandDetailController extends BaseController {
|
|
|
product.setShopID(1252);
|
|
|
product.setName(cmSecondHandDetail.getName());
|
|
|
product.setAliasName(cmSecondHandDetail.getName());
|
|
|
+ product.setVisibility(cmSecondHandDetail.getVisibility());
|
|
|
String normalPrice = cmSecondHandDetail.getNormalPrice();
|
|
|
if (StringUtils.isNotEmpty(normalPrice)) {
|
|
|
product.setNormalPrice(Float.parseFloat(normalPrice));
|