Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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 |
-
Please register or login to post a comment