Authored by qinchao

add 销售类目功能

@@ -85,7 +85,7 @@ public class SaleCategoryServiceImpl implements ISaleCategoryService { @@ -85,7 +85,7 @@ public class SaleCategoryServiceImpl implements ISaleCategoryService {
85 } 85 }
86 saleCategory.setLevel(saleCategoryParent.getLevel()+1); 86 saleCategory.setLevel(saleCategoryParent.getLevel()+1);
87 } 87 }
88 - saleCategory.setStatus(0); 88 + saleCategory.setStatus(1);//新创建的默认为“关闭”
89 saleCategory.setCreateTime(DateUtil.currentTimeSeconds()); 89 saleCategory.setCreateTime(DateUtil.currentTimeSeconds());
90 saleCategory.setUpdateTime(saleCategory.getCreateTime()); 90 saleCategory.setUpdateTime(saleCategory.getCreateTime());
91 91