|
|
|
@@ -142,11 +142,11 @@ public class TtMallGoodsCategoryServiceImpl implements TtMallGoodsCategoryServic |
|
|
|
List<TtMallGoodsCategory> childList = new ArrayList<>(); |
|
|
|
for (Integer childId:childIds) { |
|
|
|
TtMallGoodsCategory child = new TtMallGoodsCategory(); |
|
|
|
old.setGoodsCategoryId(childId); |
|
|
|
old.updateTenantInfo(tenantEntity); |
|
|
|
old.setSoftwareFee(softwareFee); |
|
|
|
old.setCreateDate(now); |
|
|
|
old.setUpdateDate(now); |
|
|
|
child.setGoodsCategoryId(childId); |
|
|
|
child.updateTenantInfo(tenantEntity); |
|
|
|
child.setSoftwareFee(softwareFee); |
|
|
|
child.setCreateDate(now); |
|
|
|
child.setUpdateDate(now); |
|
|
|
childList.add(child); |
|
|
|
} |
|
|
|
ttMallGoodsCategoryMapper.insertList(childList); |
|
|
|
|