|
@@ -35,7 +35,7 @@ public class ActivityCollectionController extends BaseController {
|
|
|
ObjUtils.merge(orig, record);
|
|
ObjUtils.merge(orig, record);
|
|
|
return activityCollectionRepo.save(orig);
|
|
return activityCollectionRepo.save(orig);
|
|
|
}
|
|
}
|
|
|
- record.setStock(record.getStock());
|
|
|
|
|
|
|
+ record.setStock(record.getTotal());
|
|
|
return activityCollectionRepo.save(record);
|
|
return activityCollectionRepo.save(record);
|
|
|
}
|
|
}
|
|
|
|
|
|